mirror of
https://github.com/LukasJoswiak/etch.git
synced 2024-05-16 21:28:31 -04:00
Remove posts link from nav bar
This commit is contained in:
parent
9e0a8f73d9
commit
7fd904d0c0
|
@ -2,7 +2,9 @@
|
||||||
<article>
|
<article>
|
||||||
<header id="post-header">
|
<header id="post-header">
|
||||||
<h1>{{ .Title }}</h1>
|
<h1>{{ .Title }}</h1>
|
||||||
<time>{{ .Date.Format "January 2, 2006" }}</time>
|
{{- if isset .Params "date" -}}
|
||||||
|
<time>{{ .Date.Format "January 2, 2006" }}</time>
|
||||||
|
{{- end -}}
|
||||||
</header>
|
</header>
|
||||||
{{- .Content -}}
|
{{- .Content -}}
|
||||||
</article>
|
</article>
|
||||||
|
|
|
@ -10,7 +10,7 @@ body {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
font-size: 1.6rem;
|
font-size: 1.6rem;
|
||||||
font-family: 'Helvetica Neue', 'Arial', sans-serif;
|
font-family: 'Helvetica Neue', 'Arial', sans-serif;
|
||||||
color: #282828;
|
color: #313a3d;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 0 16px;
|
padding: 0 16px;
|
||||||
|
@ -29,7 +29,7 @@ header#banner {
|
||||||
}
|
}
|
||||||
|
|
||||||
header#banner a {
|
header#banner a {
|
||||||
color: #323232;
|
color: #313a3d;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -92,7 +92,7 @@ main#content a:hover {
|
||||||
}
|
}
|
||||||
|
|
||||||
main#content p {
|
main#content p {
|
||||||
color: #323232;
|
color: #394548;
|
||||||
margin: 16px 0;
|
margin: 16px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<h2><a href="/">{{ .Site.Title }}</a></h2>
|
<h2><a href="/">{{ .Site.Title }}</a></h2>
|
||||||
<nav>
|
<nav>
|
||||||
<ul>
|
<ul>
|
||||||
{{ range .Site.Home.Pages }}
|
{{ range where .Site.Home.Pages "Section" "!=" "posts" }}
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ .Permalink }}">{{ .Title }}</a>
|
<a href="{{ .Permalink }}">{{ .Title }}</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
Loading…
Reference in a new issue