diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2019-09-30 15:04:29 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2019-09-30 15:04:29 +0300 |
commit | e909f3ff43855634b81d3bd487b073ea35e1aaa3 (patch) | |
tree | bc4b981f8a4ab15aa316d750bc12f416702b9f4d | |
parent | sort notes by title (diff) | |
download | jekyll-theme-e909f3ff43855634b81d3bd487b073ea35e1aaa3.tar.gz jekyll-theme-e909f3ff43855634b81d3bd487b073ea35e1aaa3.zip |
move categories pages to /categories/
-rw-r--r-- | _layouts/post.html | 2 | ||||
-rw-r--r-- | all/index.html | 2 | ||||
-rw-r--r-- | categories/c++/index.html (renamed from c++/index.html) | 0 | ||||
-rw-r--r-- | categories/haskell/index.html (renamed from haskell/index.html) | 0 | ||||
-rw-r--r-- | categories/math/index.html (renamed from math/index.html) | 0 | ||||
-rw-r--r-- | index.html | 2 |
6 files changed, 3 insertions, 3 deletions
diff --git a/_layouts/post.html b/_layouts/post.html index 22a753a..c539244 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -4,7 +4,7 @@ layout: default <h1>{{ page.title }}</h1> <p class="text-muted"> <span class="glyphicon glyphicon-time"></span> Posted on {{ page.date | date: '%-d %B %Y' }} - {%- if page.category %} in <span class="glyphicon glyphicon-folder-open"></span> <a class="category" href="{{ site.baseurl }}/{{ page.category | slugify: 'pretty' }}/">{{ page.category }}</a>{% endif %} + {%- if page.category %} in <span class="glyphicon glyphicon-folder-open"></span> <a class="category" href="{{ site.baseurl }}/categories/{{ page.category | slugify: 'pretty' }}/">{{ page.category }}</a>{% endif %} </p> {{ content }} <hr/> diff --git a/all/index.html b/all/index.html index 9ba7848..71e24f2 100644 --- a/all/index.html +++ b/all/index.html @@ -7,7 +7,7 @@ navbar_priority: 2 --- {% if site.categories.size != 0 %} {% for category in site.categories %} - <h1><a class="category" href="{{ site.baseurl }}/{{ category[0] | slugify: 'pretty' }}">{{ category[0] }}</a></h1> + <h1><a class="category" href="{{ site.baseurl }}/categories/{{ category[0] | slugify: 'pretty' }}">{{ category[0] }}</a></h1> <hr/> <ul> {% for post in category[1] %} diff --git a/c++/index.html b/categories/c++/index.html index ed18c1a..ed18c1a 100644 --- a/c++/index.html +++ b/categories/c++/index.html diff --git a/haskell/index.html b/categories/haskell/index.html index a69e838..a69e838 100644 --- a/haskell/index.html +++ b/categories/haskell/index.html diff --git a/math/index.html b/categories/math/index.html index 910af29..910af29 100644 --- a/math/index.html +++ b/categories/math/index.html @@ -14,7 +14,7 @@ root_page: true <h2><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h2> <p class="text-muted"> <span class="glyphicon glyphicon-time"></span> Posted on {{ post.date | date: '%-d %B %Y' }} - {%- if post.category %} in <span class="glyphicon glyphicon-folder-open"></span> <a class="category" href="{{ site.baseurl }}/{{ post.category | slugify: 'pretty' }}/">{{ post.category }}</a>{% endif %} + {%- if post.category %} in <span class="glyphicon glyphicon-folder-open"></span> <a class="category" href="{{ site.baseurl }}/categories/{{ post.category | slugify: 'pretty' }}/">{{ post.category }}</a>{% endif %} </p> {{ post.excerpt | markdownify }} <hr/> |