Render live demo link for themes if there is one
This commit is contained in:
parent
9dd206d925
commit
ae0ade94f6
|
@ -67,4 +67,4 @@ instead.
|
|||
## Original
|
||||
This template is based on the Hugo template https://github.com/comfusion/after-dark
|
||||
|
||||
|
||||
|
||||
|
|
3
docs/templates/theme.html
vendored
3
docs/templates/theme.html
vendored
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue