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