aboutsummaryrefslogtreecommitdiffstats
path: root/graymill/templates/categories.html
diff options
context:
space:
mode:
authorJustin Mayer <entroP@gmail.com>2017-09-04 11:08:07 -0700
committerGitHub <noreply@github.com>2017-09-04 11:08:07 -0700
commite315b00368413ea786712aa90ae3e84d4dacdafc (patch)
treea8ffa94d664e4dfc050e6087341fc2f7518418ed /graymill/templates/categories.html
parentacddee8948a8e772394911a081d029ff07ea056a (diff)
parentdcecbb6085f24420b14d97f06c53f49755db95c9 (diff)
downloadpelican-themes-e315b00368413ea786712aa90ae3e84d4dacdafc.tar.gz
Merge branch 'master' into archive-sidebar
Diffstat (limited to 'graymill/templates/categories.html')
-rw-r--r--graymill/templates/categories.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/graymill/templates/categories.html b/graymill/templates/categories.html
new file mode 100644
index 0000000..676f717
--- /dev/null
+++ b/graymill/templates/categories.html
@@ -0,0 +1,21 @@
+{% extends "base.html" %}
+{% block head %}
+{{ super() }}
+<meta name="twitter:creator" content="{{ TWITTER_USERNAME }}">
+<meta name="twitter:url" content="{{ SITEURL }}/categories.html">
+<meta name="twitter:title" content="{{ SITENAME }} || Categories">
+<meta name="twitter:description" content="{{ SITENAME }} || Categories in this website">
+
+<!-- Facebook Meta Data -->
+<meta property="og:title" content="{{ SITENAME }} || Categories" />
+<meta property="og:description" content="{{ SITENAME }} || Categories in this website" />
+<meta property="og:image" content="{{ AVATAR }}" />
+{% endblock head %}
+{% block content %}
+<h2>Categories</h2>
+<ol>
+{% for category, articles in categories %}
+ <li><a href="{{ category.url }}">{{ category }}</a></li>
+{% endfor %}
+</ol>
+{% endblock %}