diff options
| author | la-ninpre <leobrekalini@gmail.com> | 2021-08-23 20:08:29 +0300 |
|---|---|---|
| committer | la-ninpre <leobrekalini@gmail.com> | 2021-08-23 20:08:29 +0300 |
| commit | 49021944e3b4881486ae27cd48acf9196a0b6ed7 (patch) | |
| tree | 64e39c5b24a4631e1cfc3d37138096379508d086 /_includes | |
| parent | 8057621bb2d80be038a08387fd3262e38f37440e (diff) | |
| download | aaoth.xyz-49021944e3b4881486ae27cd48acf9196a0b6ed7.tar.gz aaoth.xyz-49021944e3b4881486ae27cd48acf9196a0b6ed7.zip | |
refactor post layout
add go back link to the heading
instead of list use div.post-header-info (list was not right)
Diffstat (limited to '_includes')
| -rw-r--r-- | _includes/post-preview.html | 2 | ||||
| -rw-r--r-- | _includes/title-with-backlink.html | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/_includes/post-preview.html b/_includes/post-preview.html index 53ed59d..05cc4f1 100644 --- a/_includes/post-preview.html +++ b/_includes/post-preview.html @@ -7,7 +7,7 @@ <a href="{{ post.url }}">read more...</a> </p> <small> - <p>{{ post.date | date_to_string }} | + <p>{{ post.date | date_to_string }} / {% for tag in post.tags %}<a href="/tags/{{tag}}">{{tag}} </a> {% endfor %} </p> diff --git a/_includes/title-with-backlink.html b/_includes/title-with-backlink.html new file mode 100644 index 0000000..ee7a10e --- /dev/null +++ b/_includes/title-with-backlink.html @@ -0,0 +1,4 @@ +<div class="title_with_backlink"> + <h1>{{ include.title }}</h1> + <a class="backlink" href="{{ include.backlink }}">go back</a> +</div> |
