basic changes to make pages work with new blowfish
This commit is contained in:
parent
25cbd27d42
commit
414ba2f2ca
|
@ -28,7 +28,7 @@
|
|||
<section class="space-y-10 w-full">
|
||||
<div height=20px></div>
|
||||
{{ range .Pages }}
|
||||
{{ partial "article-link.html" . }}
|
||||
{{ partial "article-link/simple.html" . }}
|
||||
{{ end }}
|
||||
</section>
|
||||
{{ partial "pagination.html" . }}
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
{{ if gt .Pages 0 }}
|
||||
<section class="space-y-10 w-full">
|
||||
{{ range .Pages.ByWeight }}
|
||||
{{ partial "article-link.html" . }}
|
||||
{{ partial "article-link/simple.html" . }}
|
||||
{{ end }}
|
||||
</section>
|
||||
{{ partial "pagination.html" . }}
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
{{ .Title | emojify }}
|
||||
</h1>
|
||||
<div class="mt-1 mb-6 text-base text-neutral-500 dark:text-neutral-400 print:hidden">
|
||||
{{ partial "article-meta.html" (dict "context" . "scope" "single") }}
|
||||
{{ partial "article-meta/basic.html" (dict "context" . "scope" "single") }}
|
||||
</div>
|
||||
</header>
|
||||
<section class="flex flex-col max-w-full mt-0 prose dark:prose-invert lg:flex-row">
|
||||
|
|
|
@ -20,5 +20,5 @@
|
|||
<section>{{ .Content | emojify }}</section>
|
||||
</article>
|
||||
<section>
|
||||
{{ partial "recent-articles.html" . }}
|
||||
{{ partial "recent-articles/main.html" . }}
|
||||
</section>
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
{{ if gt .Pages 0 }}
|
||||
<section class="space-y-10 w-full">
|
||||
{{ range .Pages.ByWeight }}
|
||||
{{ partial "article-link.html" . }}
|
||||
{{ partial "article-link/simple.html" . }}
|
||||
{{ end }}
|
||||
</section>
|
||||
{{ partial "pagination.html" . }}
|
||||
|
|
Loading…
Reference in a new issue