Generalise templates, not only for HTML
This commit is contained in:
parent
7e445b3603
commit
98d4dac32a
@ -1 +0,0 @@
|
||||
<h1><a href="{{blog_url}}">{{title}}</a></h1>
|
@ -1,7 +0,0 @@
|
||||
<li>
|
||||
<time>{{date_human}}</time>
|
||||
<div>
|
||||
<a href="{{url}}" class="title">{{title}}</a>
|
||||
<p class="abstract">{{abstract}}</p>
|
||||
</div>
|
||||
</li>
|
@ -1,17 +0,0 @@
|
||||
<main>
|
||||
<h3>Topics</h3>
|
||||
|
||||
<ul class="topics">
|
||||
{{topics}}
|
||||
</ul>
|
||||
|
||||
<h3>Recent articles</h3>
|
||||
|
||||
<ul class="timeline">
|
||||
{{recent_texts_listing}}
|
||||
</ul>
|
||||
|
||||
<nav>
|
||||
{{navigation}}
|
||||
</nav>
|
||||
</main>
|
@ -1,13 +0,0 @@
|
||||
<article>
|
||||
<h1>{{title}}</h1>
|
||||
<details>
|
||||
<summary>{{abstract}}</summary>
|
||||
<a href="" rel="author">{{author_name}}</a>
|
||||
<time datetime="{{date}}">{{date_human}}</time>
|
||||
<span>Series: {{series}}</span>
|
||||
<span>Topics: {{topics}}</span>
|
||||
<span>Keywords: {{keywords}}</span>
|
||||
<span>UUID: {{uuid}}</span>
|
||||
</details>
|
||||
{{body}}
|
||||
</article>
|
@ -1,3 +1,3 @@
|
||||
Articles
|
||||
## Articles
|
||||
|
||||
{{recent_texts_listing}}
|
1
share/template/header.mustache
Normal file
1
share/template/header.mustache
Normal file
@ -0,0 +1 @@
|
||||
{{title}}
|
3
share/template/item.mustache
Normal file
3
share/template/item.mustache
Normal file
@ -0,0 +1,3 @@
|
||||
{{date_human}}
|
||||
{{link}}
|
||||
{{abstract}}
|
7
share/template/list.mustache
Normal file
7
share/template/list.mustache
Normal file
@ -0,0 +1,7 @@
|
||||
### Topics
|
||||
|
||||
{{topics}}
|
||||
|
||||
### Recent articles
|
||||
|
||||
{{recent_texts_listing}}
|
5
share/template/note.mustache
Normal file
5
share/template/note.mustache
Normal file
@ -0,0 +1,5 @@
|
||||
# {{title}}
|
||||
|
||||
{{details}}
|
||||
|
||||
{{body}}
|
Loading…
x
Reference in New Issue
Block a user