mirror of https://gitlab.com/curben/blog
feat(theme): add post's source
This commit is contained in:
parent
a6a13ffac8
commit
62ebd35ae1
|
@ -19,3 +19,4 @@ category: Category
|
||||||
tag: Tag
|
tag: Tag
|
||||||
date_published: Published Date
|
date_published: Published Date
|
||||||
date_updated: Last Updated
|
date_updated: Last Updated
|
||||||
|
source: Source
|
||||||
|
|
|
@ -39,6 +39,10 @@
|
||||||
<%- partial('post/tag') %>
|
<%- partial('post/tag') %>
|
||||||
</li>
|
</li>
|
||||||
<% } %>
|
<% } %>
|
||||||
|
<li>
|
||||||
|
<span class="label"><%= __('source') %>:</span>
|
||||||
|
<%- link('https://gitlab.com/curben/blog/-/blob/master/source/' + post.source, post.source.replace('_posts/', '')) %>
|
||||||
|
</li>
|
||||||
<hr/>
|
<hr/>
|
||||||
</ul>
|
</ul>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
Loading…
Reference in New Issue