From fb9497fe01f765c81c63edae1404dcb0687ecba3 Mon Sep 17 00:00:00 2001 From: Thomas Busby Date: Wed, 30 May 2018 23:38:06 +0200 Subject: [PATCH] Add links to the sidebar nav --- _config.yml | 22 +++++++++++++++++++--- _includes/index_section.html | 2 +- _layouts/default.html | 2 +- blog.html | 6 ++++-- index.html | 2 +- static/css/main.css | 3 --- 6 files changed, 26 insertions(+), 11 deletions(-) diff --git a/_config.yml b/_config.yml index c3b26a9..651c1ca 100644 --- a/_config.yml +++ b/_config.yml @@ -55,10 +55,26 @@ share: fb_appid: urls: - - text: Blog + - text: "Blog" url: /blog - - text: XML Feed - url: /feed.xml + - text: "Getting Started" + url: /#getting-started + - text: "Contribute" + url: "https://github.com/cryptoanarchywiki/cryptoanarchywiki.github.io/" + target_blank: true + - text: "Cypherpunks Mailing List" + url: /#cypherpunks-mailing-list + - text: "Sources" + url: /#sources + - text: "People & Organisations" + url: /#people-and-organisations + - text: "Events" + url: /#events + - text: "Key Concepts" + url: /#key-concepts + - text: "Notable Projects" + url: /#notable-projects + similar_resources: - text: Lopp's Bitcoin Resources diff --git a/_includes/index_section.html b/_includes/index_section.html index 1b0a9b4..a71ca1c 100644 --- a/_includes/index_section.html +++ b/_includes/index_section.html @@ -1,5 +1,5 @@ {% if include.title %} -

{{ include.title }}

+

{{ include.title }}

{% endif %} {% if include.description %} {{ include.description }} diff --git a/_layouts/default.html b/_layouts/default.html index 2e4ca02..7606014 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -156,7 +156,7 @@ layout: compress Navigation
  • Home
  • {% for i in site.urls %} -
  • {{ i.text }}
  • +
  • {{ i.text }}
  • {% endfor %}
    diff --git a/blog.html b/blog.html index 254669e..bf873b1 100644 --- a/blog.html +++ b/blog.html @@ -9,9 +9,11 @@ layout: default
    -

    Blog Posts

    +

    Blog Posts

    -I probably won't write too much here, but any major changes to the site or anything I want to write about that doesn't fit into an existing category will go here. +

    +I probably won't write too much here, but any major changes to the site, or anything I want to write about that doesn't fit into an existing category, will go here. +

      diff --git a/index.html b/index.html index 46fed43..54c3aa0 100644 --- a/index.html +++ b/index.html @@ -9,7 +9,7 @@ layout: default
      -

      Recent Blog Posts

      +

      Recent Blog Posts

        {% for post in site.posts limit:3 %} diff --git a/static/css/main.css b/static/css/main.css index b7bd737..ddfeaa0 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -62,9 +62,6 @@ a:hover { .index-header h1, .index-header p { font-family: monospace; } -div#home { - margin-top: 10px; -} div.content { padding-top: 10px; }