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
|
## Original
|
||||||
This template is based on the Hugo template https://github.com/comfusion/after-dark
|
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>Author:</b> {{page.extra.author.name}}</p>
|
||||||
<p><b>License:</b> {{page.extra.license}}</p>
|
<p><b>License:</b> {{page.extra.license}}</p>
|
||||||
<p><b>Homepage:</b> <a href="{{page.extra.homepage}}">{{page.extra.homepage}}</a></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>
|
<p><b>Last updated:</b> {{page.extra.updated }}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue