mirror of
https://github.com/welpo/tabi.git
synced 2026-06-15 15:57:34 +02:00
✨ feat: generate commit history URL for updated articles
- Introduce the `create_history_url` macro in Tera to generate URLs. - Add TOML configuration for specifying remote repository details. - Integrate the new feature in the page meta for displaying a link to view changes.
This commit is contained in:
parent
0884370138
commit
846128509e
5 changed files with 58 additions and 0 deletions
|
|
@ -8,6 +8,7 @@
|
|||
{% import "macros/format_date.html" as macros_format_date %}
|
||||
{% import "macros/add_comments.html" as macros_add_comments %}
|
||||
{% import "macros/table_of_contents.html" as macros_toc %}
|
||||
{% import "macros/create_history_url.html" as macros_create_history_url %}
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ lang }}" {% if config.extra.default_theme -%}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue