add digital garden section
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
c27f2e058a
commit
5f814127bf
7 changed files with 47 additions and 3 deletions
|
|
@ -1,5 +1,5 @@
|
|||
<li>
|
||||
<a href="{{ .Permalink }}">
|
||||
<a href="{{ .RelPermalink }}">
|
||||
{{ .Title }}
|
||||
<small><time>{{ .Date | time.Format (i18n "posts.date") }}</time></small>
|
||||
</a>
|
||||
|
|
|
|||
9
themes/rb/layouts/_default/section.html
Normal file
9
themes/rb/layouts/_default/section.html
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{{ define "main" }}
|
||||
{{ .Content }}
|
||||
<h3>{{ i18n "posts.title" }}</h3>
|
||||
<ul id="posts">
|
||||
{{- range .Pages }}
|
||||
{{ .Render "li" }}
|
||||
{{- end }}
|
||||
</ul>
|
||||
{{ end }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue