mirror of
https://github.com/LukasJoswiak/etch.git
synced 2024-05-02 16:18:32 -04:00
Remove posts link from nav bar
This commit is contained in:
parent
9e0a8f73d9
commit
7fd904d0c0
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue