From 5d9619c81b1ccccf71340aae544a66f62c103f64 Mon Sep 17 00:00:00 2001 From: Daan Debie Date: Fri, 23 Aug 2013 00:44:51 +0200 Subject: Added pelican-bootstrap3 theme --- pelican-bootstrap3/templates/includes/addthis.html | 12 ++++++ .../templates/includes/article_info.html | 24 +++++++++++ .../templates/includes/comment_count.html | 1 + .../templates/includes/comments.html | 26 ++++++++++++ .../templates/includes/disqus_script.html | 15 +++++++ pelican-bootstrap3/templates/includes/ga.html | 18 +++++++++ pelican-bootstrap3/templates/includes/github.html | 46 ++++++++++++++++++++++ pelican-bootstrap3/templates/includes/sidebar.html | 35 ++++++++++++++++ pelican-bootstrap3/templates/includes/taglist.html | 9 +++++ .../templates/includes/translations.html | 6 +++ 10 files changed, 192 insertions(+) create mode 100644 pelican-bootstrap3/templates/includes/addthis.html create mode 100644 pelican-bootstrap3/templates/includes/article_info.html create mode 100644 pelican-bootstrap3/templates/includes/comment_count.html create mode 100644 pelican-bootstrap3/templates/includes/comments.html create mode 100644 pelican-bootstrap3/templates/includes/disqus_script.html create mode 100644 pelican-bootstrap3/templates/includes/ga.html create mode 100644 pelican-bootstrap3/templates/includes/github.html create mode 100644 pelican-bootstrap3/templates/includes/sidebar.html create mode 100644 pelican-bootstrap3/templates/includes/taglist.html create mode 100644 pelican-bootstrap3/templates/includes/translations.html (limited to 'pelican-bootstrap3/templates/includes') diff --git a/pelican-bootstrap3/templates/includes/addthis.html b/pelican-bootstrap3/templates/includes/addthis.html new file mode 100644 index 0000000..9f8fe50 --- /dev/null +++ b/pelican-bootstrap3/templates/includes/addthis.html @@ -0,0 +1,12 @@ +{% if ADDTHIS_PROFILE %} +
+ +
+ + + +
+ + + +{% endif %} \ No newline at end of file diff --git a/pelican-bootstrap3/templates/includes/article_info.html b/pelican-bootstrap3/templates/includes/article_info.html new file mode 100644 index 0000000..6610aa2 --- /dev/null +++ b/pelican-bootstrap3/templates/includes/article_info.html @@ -0,0 +1,24 @@ + diff --git a/pelican-bootstrap3/templates/includes/comment_count.html b/pelican-bootstrap3/templates/includes/comment_count.html new file mode 100644 index 0000000..7ebaf20 --- /dev/null +++ b/pelican-bootstrap3/templates/includes/comment_count.html @@ -0,0 +1 @@ +{% if DISQUS_SITENAME %}

There are comments.

{% endif %} \ No newline at end of file diff --git a/pelican-bootstrap3/templates/includes/comments.html b/pelican-bootstrap3/templates/includes/comments.html new file mode 100644 index 0000000..b16517b --- /dev/null +++ b/pelican-bootstrap3/templates/includes/comments.html @@ -0,0 +1,26 @@ +{% if DISQUS_SITENAME %} +
+
+

Comments

+
+ + + comments powered by Disqus + +
+{% endif %} \ No newline at end of file diff --git a/pelican-bootstrap3/templates/includes/disqus_script.html b/pelican-bootstrap3/templates/includes/disqus_script.html new file mode 100644 index 0000000..8dbb999 --- /dev/null +++ b/pelican-bootstrap3/templates/includes/disqus_script.html @@ -0,0 +1,15 @@ +{% if DISQUS_SITENAME %} + +{% endif %} \ No newline at end of file diff --git a/pelican-bootstrap3/templates/includes/ga.html b/pelican-bootstrap3/templates/includes/ga.html new file mode 100644 index 0000000..2f75571 --- /dev/null +++ b/pelican-bootstrap3/templates/includes/ga.html @@ -0,0 +1,18 @@ +{% if GOOGLE_ANALYTICS %} + +{% endif %} \ No newline at end of file diff --git a/pelican-bootstrap3/templates/includes/github.html b/pelican-bootstrap3/templates/includes/github.html new file mode 100644 index 0000000..1d1e7f2 --- /dev/null +++ b/pelican-bootstrap3/templates/includes/github.html @@ -0,0 +1,46 @@ +{% if GITHUB_USER %} + + {% if GITHUB_REPO_COUNT is not defined %} + {% set GITHUB_REPO_COUNT = 5 %} + {% endif %} + {% if GITHUB_SKIP_FORK is not defined %} + {% set GITHUB_SKIP_FORK = "false" %} + {% else %} + {% if GITHUB_SKIP_FORK %} + {% set GITHUB_SKIP_FORK = "true" %} + {% else %} + {% set GITHUB_SKIP_FORK = "false" %} + {% endif %} + {% endif %} + +
+ + + +
+{% endif %} \ No newline at end of file diff --git a/pelican-bootstrap3/templates/includes/sidebar.html b/pelican-bootstrap3/templates/includes/sidebar.html new file mode 100644 index 0000000..6ff43b3 --- /dev/null +++ b/pelican-bootstrap3/templates/includes/sidebar.html @@ -0,0 +1,35 @@ + \ No newline at end of file diff --git a/pelican-bootstrap3/templates/includes/taglist.html b/pelican-bootstrap3/templates/includes/taglist.html new file mode 100644 index 0000000..bcaa470 --- /dev/null +++ b/pelican-bootstrap3/templates/includes/taglist.html @@ -0,0 +1,9 @@ +{% if article.tags %} +Tags +{% for tag in article.tags %} + {{ tag }} + {% if not loop.last %} + / + {% endif %} +{% endfor %} +{% endif %} diff --git a/pelican-bootstrap3/templates/includes/translations.html b/pelican-bootstrap3/templates/includes/translations.html new file mode 100644 index 0000000..65c5684 --- /dev/null +++ b/pelican-bootstrap3/templates/includes/translations.html @@ -0,0 +1,6 @@ +{% if article.translations %} +Lang +{% for translation in article.translations %} + {{ translation.lang }} +{% endfor %} +{% endif %} -- cgit