Render live demo link for themes if there is one

This commit is contained in:
Daniel Sockwell 2018-07-16 02:47:04 -04:00 committed by Vincent Prouillet
parent 9dd206d925
commit ae0ade94f6
2 changed files with 4 additions and 1 deletions

View file

@ -67,4 +67,4 @@ instead.
## Original
This template is based on the Hugo template https://github.com/comfusion/after-dark

View file

@ -10,6 +10,9 @@
<p><b>Author:</b> {{page.extra.author.name}}</p>
<p><b>License:</b> {{page.extra.license}}</p>
<p><b>Homepage:</b> <a href="{{page.extra.homepage}}">{{page.extra.homepage}}</a></p>
{% if page.extra.live_demo%}
<p><b>Live Demo:</b> <a href="{{page.extra.live_demo}}">{{page.extra.live_demo}}</a></p>
{% endif %}
<p><b>Last updated:</b> {{page.extra.updated }}</p>
</div>
</div>