Merge branch 'main' into testing
This commit is contained in:
commit
24f284b325
|
@ -1,5 +1,5 @@
|
|||
+++
|
||||
---
|
||||
title: "{{ replace .Name "-" " " | title }}"
|
||||
date: {{ .Date }}
|
||||
draft: true
|
||||
+++
|
||||
---
|
||||
|
|
|
@ -4,12 +4,14 @@
|
|||
{{ define "main" }}
|
||||
<main class="main-content">
|
||||
{{ .Content }}
|
||||
<section id="list">
|
||||
{{- range .Data.Pages }}
|
||||
<section class="list-item">
|
||||
<a href="{{- .Permalink }}">{{ .Title }}</a>
|
||||
</main>
|
||||
<section id="projects">
|
||||
{{- range first 10 .Data.Pages }}
|
||||
<a href="{{ .Permalink }}" class="button">
|
||||
<section class="project-tile">
|
||||
<a href="{{- .Permalink }}" class="button"><h2>{{ .Title }}</h2></a>
|
||||
</section>
|
||||
</a>
|
||||
{{- end }}
|
||||
</section>
|
||||
</main>
|
||||
{{ end }}
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
{{ .Content }}
|
||||
{{ $currentPage := . }}
|
||||
{{ range .Site.Menus.social }}
|
||||
<a class="{{if or ($currentPage.IsMenuCurrent "social" .) ($currentPage.HasMenuCurrent "social" .) }} active{{end}} button" href="{{ .URL }}" title="{{ .Title }}">{{ .Name }}</a><br>
|
||||
<a class="{{if or ($currentPage.IsMenuCurrent "social" .) ($currentPage.HasMenuCurrent "social" .) }} active{{end}} button" rel="me" href="{{ .URL }}" title="{{ .Title }}">{{ .Name }}</a><br>
|
||||
{{ end }}
|
||||
<div>
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in New Issue