Feat(plugin): add link to sources in template
This commit is contained in:
@@ -48,6 +48,16 @@
|
||||
mod=article.locale_modified,
|
||||
category='<a href="%s/%s">%s</a>'|format(SITEURL, article.category.url, article.category)|safe) }}
|
||||
</div>
|
||||
|
||||
{% if 'GIT_SOURCE_BASE_URL' %}
|
||||
<div class="source">
|
||||
<a href="{{ article.path_source_link}}">
|
||||
<img src={{ SOURCE_ICON_URL }} alt="source icon" ario>
|
||||
source et documents
|
||||
</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div class="tag-cloud">
|
||||
<p>
|
||||
{% if 'post_stats' in PLUGINS %}
|
||||
|
Reference in New Issue
Block a user