mirror of
https://github.com/welpo/tabi.git
synced 2026-04-24 08:57:19 +02:00
feat(series): add custom placeholders in intro
Custom placeholders are user-defined and can be used in both headline and description.
This commit is contained in:
parent
e1bdb01b6a
commit
71a2409640
5 changed files with 106 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ tags = ["showcase", "tutorial"]
|
|||
|
||||
[extra]
|
||||
series_page_introduction = "link"
|
||||
series_page_introduction_variables = { position = "first", toto = "TOTO!!! "}
|
||||
series_page_introduction_variables = { position = "first", foo = "FOO!!!"}
|
||||
|
||||
+++
|
||||
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ tags = ["showcase", "tutorial"]
|
|||
|
||||
[extra]
|
||||
series_page_introduction = "summary"
|
||||
series_page_introduction_variables = { position = "second", foo = "FOO FOO!!!"}
|
||||
|
||||
+++
|
||||
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ tags = ["showcase", "tutorial", "FAQ"]
|
|||
|
||||
[extra]
|
||||
series_page_introduction = "custom"
|
||||
series_page_introduction_variables = { position = "third", foo = "FOO FOO FOO!!!"}
|
||||
|
||||
+++
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|
||||
|
|
|
|||
|
|
@ -14,6 +14,13 @@ post_listing_index_reversed = false
|
|||
|
||||
series_page_introduction = "none"
|
||||
|
||||
series_page_introduction_placeholders = ["$POSITION", "$FOO", "$BAR"]
|
||||
series_page_headline = "This article is the $POSITION of the series '$SERIES_HTML_LINK' ($FOO)"
|
||||
series_page_description = """
|
||||
<p>You can put whatever you want in a custom description.</p>
|
||||
<p>All variable are accessibles, including custom ones.</p>
|
||||
<hr>
|
||||
"""
|
||||
+++
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|
||||
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue