diff options
| author | user <user@node5.net> | 2024-03-11 15:35:49 +0100 |
|---|---|---|
| committer | user <user@node5.net> | 2024-03-11 15:35:49 +0100 |
| commit | 3511ace963929eb855f62a2e58bd91ba02408fa7 (patch) | |
| tree | 3912b674fc07b57f06280d7d19481df263ca9acc | |
| parent | eae9a28c9671bbfdf67367ed9f75501f47d3d9b1 (diff) | |
article add link to git
| -rw-r--r-- | blog.node5.net/templates/article.html | 6 | ||||
| -rw-r--r-- | blog.node5.net/templates/folder.html | 7 |
2 files changed, 9 insertions, 4 deletions
diff --git a/blog.node5.net/templates/article.html b/blog.node5.net/templates/article.html index 36a696d..0e8df72 100644 --- a/blog.node5.net/templates/article.html +++ b/blog.node5.net/templates/article.html @@ -12,7 +12,9 @@ <span class="dark-grey"> | </span> - <span class="dark-grey">M</span> - <span title="Modified: {{ article.modified }}" class="grey">{{ article.modified.strftime('%Y-%m-%d') }}</span> + <a href="https://git.node5.net/blog/articles/log{{article.url}}"> + <span class="dark-grey">M</span> + <span title="Modified: {{ article.modified }}" class="grey">{{ article.modified.strftime('%Y-%m-%d') }}</span> + </a> {{ article.html|safe }} {% endblock %} diff --git a/blog.node5.net/templates/folder.html b/blog.node5.net/templates/folder.html index b441b44..2ca0d6d 100644 --- a/blog.node5.net/templates/folder.html +++ b/blog.node5.net/templates/folder.html @@ -22,8 +22,11 @@ <span class="dark-grey"> | </span> - <span class="dark-grey">M</span> - <span title="Modified: {{ article.modified }}" class="grey">{{ article.modified.strftime('%Y-%m-%d') }}</span> + + <a href="https://git.node5.net/blog/articles/log{{article.url}}"> + <span class="dark-grey">M</span> + <span title="Modified: {{ article.modified }}" class="grey">{{ article.modified.strftime('%Y-%m-%d') }}</span> + </a> <p class="description">{{ article.metadata.description }}</p> </div> |
