Skip to content

Commit

Permalink
Add source link to theme pages
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Apr 6, 2018
1 parent bb176d1 commit 0d21137
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions site/templates/theme.tmpl
Expand Up @@ -32,6 +32,9 @@
% if post.meta('bootswatch'):
<p class="bootswatchline bootswatch">Supports <a href="https://bootswatch.com/">Bootswatch</a></p>
% endif
% if not post.meta('is_special_entry'):
<p class="sourceline"><a href="https://github.com/getnikola/nikola-themes/tree/master/${post.folder}/${post.meta('slug')}">Source code</a></p>
% endif
</div>
</header>
<div class="e-content entry-content" itemprop="articleBody text">
Expand Down

0 comments on commit 0d21137

Please sign in to comment.