aboutsummaryrefslogtreecommitdiffstats
path: root/coding-now/templates/_includes
diff options
context:
space:
mode:
authoryuan.li <i@ooops.me>2016-10-15 07:57:58 +0000
committeryuan.li <i@ooops.me>2016-10-15 07:57:58 +0000
commit91d96efe87a8a35a33bc4d4ec4cf82037b37de28 (patch)
treed03a9f24ef55c784982ad0e04c36566b0495ca3c /coding-now/templates/_includes
parentb94a9588408d1bf1736880cccbfcdabd68db6649 (diff)
downloadpelican-themes-91d96efe87a8a35a33bc4d4ec4cf82037b37de28.tar.gz
add coding-now
Diffstat (limited to 'coding-now/templates/_includes')
-rw-r--r--coding-now/templates/_includes/footer.html7
-rw-r--r--coding-now/templates/_includes/header.html10
2 files changed, 17 insertions, 0 deletions
diff --git a/coding-now/templates/_includes/footer.html b/coding-now/templates/_includes/footer.html
new file mode 100644
index 0000000..35760fd
--- /dev/null
+++ b/coding-now/templates/_includes/footer.html
@@ -0,0 +1,7 @@
+<footer class="footer">
+ &copy <a href="{{ SITEURL }}/" >{{ AUTHOR }}</a>. 2016
+ <br/>
+ Powered by <a href="http://getpelican.com/">pelican</a>.
+ Theme by <a href="http://github.com/liyuan_t/coding-now">coding-now</a>
+ <br/>
+</footer>
diff --git a/coding-now/templates/_includes/header.html b/coding-now/templates/_includes/header.html
new file mode 100644
index 0000000..1334a16
--- /dev/null
+++ b/coding-now/templates/_includes/header.html
@@ -0,0 +1,10 @@
+<section class="header">
+ <div class="circular" style="background: url({{ HEADER }} ) no-repeat; background-position: center;"></div>
+ <h2 class="title">{{ SITENAME }}</h2>
+ <h4 class="subtitle">{{ SITEDESCRIPTION }}</h4>
+ {% for title,url in SOCIAL %}
+ <a href="{{ url }}">
+ <img class="social-icon" src="{{ SITEURL }}/theme/images/{{ title }}-128.png" style="width: 64px;">
+ </a>
+ {% endfor %}
+</section>