mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-08-31 00:57:33 -05:00
WIP
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
{{ define "main" }}
|
||||
<section>
|
||||
{{ if .Content }}<article>{{ end }}
|
||||
|
||||
<h1>
|
||||
{{ partial "icon.html" "user-circle" }}
|
||||
{{ .Title | markdownify }}
|
||||
@@ -8,7 +11,9 @@
|
||||
{{ . }}
|
||||
{{ end }}
|
||||
|
||||
<div class="page-list">
|
||||
{{ if .Content }}</article>{{ end }}
|
||||
|
||||
<section class="page-list">
|
||||
{{ with .Paginator.Pages }}
|
||||
{{ range . }}
|
||||
<article class="page">
|
||||
@@ -20,5 +25,6 @@
|
||||
{{ i18n "no_posts" }}
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
{{ end }}
|
||||
|
@@ -7,7 +7,7 @@
|
||||
|
||||
{{ if .Site.Params.homepageLatestPosts }}
|
||||
<hr>
|
||||
<div class="homepage-latest-posts">
|
||||
<section class="homepage-latest-posts">
|
||||
<h1>
|
||||
{{ i18n "latest_posts" }}
|
||||
{{ partial "rss-link.html" . }}
|
||||
@@ -16,6 +16,6 @@
|
||||
{{ partial "page-list.html" (.Paginate .Site.RegularPages).Pages }}
|
||||
|
||||
{{ partial "pagination.html" . }}
|
||||
</div>
|
||||
</section>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
@@ -1,4 +1,5 @@
|
||||
{{ define "main" }}
|
||||
<section>
|
||||
<h1>
|
||||
{{ with .Params.icon }}{{ partial "icon.html" . }}{{ end }}
|
||||
{{ .Title | markdownify }}
|
||||
@@ -22,4 +23,5 @@
|
||||
</div>
|
||||
|
||||
{{ partial "pagination.html" . }}
|
||||
</section>
|
||||
{{ end }}
|
||||
|
Reference in New Issue
Block a user