mirror of
https://github.com/JimenezJC/mshj_blog.git
synced 2025-12-06 08:59:56 -05:00
Initial Blog Commit
This commit is contained in:
commit
07775036ce
92 changed files with 4980 additions and 0 deletions
29
themes/terminal/layouts/_default/single.html
Normal file
29
themes/terminal/layouts/_default/single.html
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{{ define "main" }}
|
||||
<article class="card-container">
|
||||
<header><h1>{{ .Title }}</h1></header>
|
||||
<div class="content-wrapper">
|
||||
{{ if .Params.categories }}
|
||||
<p>{{ .Date.Format "2006-01-02" }}</p>
|
||||
<div class="tag-list">
|
||||
<strong>Categories:</strong>
|
||||
{{ range .Params.categories }}
|
||||
<a href="{{ "/categories/" | relLangURL }}{{ . | urlize }}" class="tag-link">{{ . }}</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ if .Params.tags }}
|
||||
<div class="tag-list">
|
||||
<strong>Tags:</strong>
|
||||
{{ range .Params.tags }}
|
||||
<a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}" class="tag-link">{{ . }}</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
<br>
|
||||
|
||||
{{ .Content }}
|
||||
</div>
|
||||
|
||||
|
||||
</article>
|
||||
{{ end }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue