Remove posts link from nav bar

This commit is contained in:
Lukas Joswiak 2020-05-15 11:15:59 -07:00
parent 9e0a8f73d9
commit 7fd904d0c0
3 changed files with 7 additions and 5 deletions

View file

@ -2,7 +2,9 @@
<article>
<header id="post-header">
<h1>{{ .Title }}</h1>
<time>{{ .Date.Format "January 2, 2006" }}</time>
{{- if isset .Params "date" -}}
<time>{{ .Date.Format "January 2, 2006" }}</time>
{{- end -}}
</header>
{{- .Content -}}
</article>

View file

@ -10,7 +10,7 @@ body {
font-size: 16px;
font-size: 1.6rem;
font-family: 'Helvetica Neue', 'Arial', sans-serif;
color: #282828;
color: #313a3d;
width: 100%;
margin: 0 auto;
padding: 0 16px;
@ -29,7 +29,7 @@ header#banner {
}
header#banner a {
color: #323232;
color: #313a3d;
text-decoration: none;
}
@ -92,7 +92,7 @@ main#content a:hover {
}
main#content p {
color: #323232;
color: #394548;
margin: 16px 0;
}

View file

@ -2,7 +2,7 @@
<h2><a href="/">{{ .Site.Title }}</a></h2>
<nav>
<ul>
{{ range .Site.Home.Pages }}
{{ range where .Site.Home.Pages "Section" "!=" "posts" }}
<li>
<a href="{{ .Permalink }}">{{ .Title }}</a>
</li>