Initial restructuring
This commit is contained in:
parent
c71d9f723b
commit
b1719e8d24
69 changed files with 1133 additions and 3 deletions
6
layouts/partials/projects.html
Normal file
6
layouts/partials/projects.html
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<h3>{{ i18n "projects.title" }}</h3>
|
||||
<ul id="projects">
|
||||
{{- range where .Site.Pages "Section" "projects" }}
|
||||
{{ .Render "li" }}
|
||||
{{- end }}
|
||||
</ul>
|
||||
4
layouts/projects/index.html
Normal file
4
layouts/projects/index.html
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{{ define "main" }}
|
||||
{{ .Content }}
|
||||
{{- partial "projects.html" . -}}
|
||||
{{ end }}
|
||||
6
layouts/projects/li.html
Normal file
6
layouts/projects/li.html
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<li>
|
||||
<a href="{{ .PermaLink }}">
|
||||
{{ .Title }}
|
||||
<small>{{ .Summary }}</small>
|
||||
</a>
|
||||
</li>
|
||||
Loading…
Add table
Add a link
Reference in a new issue