mirror of
https://github.com/naoufalzerai/zerai.xyz.git
synced 2025-12-25 06:53:57 +00:00
change theme again :D
This commit is contained in:
22
themes/notepadium/layouts/_default/single.html
Normal file
22
themes/notepadium/layouts/_default/single.html
Normal file
@@ -0,0 +1,22 @@
|
||||
{{- define "main" -}}
|
||||
|
||||
{{- $justify := false -}}
|
||||
{{- if eq .Params.justify true -}} {{- $justify = true -}} {{- end -}}
|
||||
<div class="article-container">
|
||||
{{- partial "article-header.html" . -}}
|
||||
<article class="article markdown-body" {{- if $justify -}}style="text-align: justify;" {{- end -}}>
|
||||
{{- with .Params.cover -}}<p><img class="cover" src="{{- . | safeURL -}}" alt></p>{{- end -}}
|
||||
{{- .Content -}}
|
||||
</article>
|
||||
|
||||
{{- partial "article-labels.html" . -}}
|
||||
{{- partial "article-share.html" . -}}
|
||||
{{- partial "article-license.html" . -}}
|
||||
{{- partial "article-author.html" . -}}
|
||||
{{- partial "article-extra.html" . -}}
|
||||
</div>
|
||||
<div class="article bottom">
|
||||
{{- partial "article-bottom-navigation.html" . -}}
|
||||
{{- partial "article-comments.html" . -}}
|
||||
</div>
|
||||
{{- end -}}
|
||||
Reference in New Issue
Block a user