Merge branch 'main' into testing

This commit is contained in:
Dorian Wood 2021-05-12 07:49:32 -04:00
commit 24f284b325
3 changed files with 10 additions and 8 deletions

View File

@ -1,5 +1,5 @@
+++
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
+++
---

View File

@ -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 }}

View File

@ -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 }}