home => blog
This commit is contained in:
parent
5cdf62a4ab
commit
8cb088e142
@ -50,4 +50,3 @@
|
||||
</div>
|
||||
{{template "footer" .}}
|
||||
{{end}}
|
||||
|
||||
|
@ -29,7 +29,7 @@
|
||||
<div class="collapse navbar-collapse" id="navbarNavAltMarkup">
|
||||
<div class="navbar-nav">
|
||||
{{$area := .Meta.Area}}
|
||||
<a class="nav-item nav-link {{if $area}}{{if eq $area "home"}}active{{end}}{{end}}" href="/">Home</a>
|
||||
<a class="nav-item nav-link {{if $area}}{{if eq $area "blog"}}active{{end}}{{end}}" href="/">Blog</a>
|
||||
<a class="nav-item nav-link {{if $area}}{{if eq $area "portfolio"}}active{{end}}{{end}}" href="/portfolio/">Portfolio</a>
|
||||
<a class="nav-item nav-link {{if $area}}{{if eq $area "projects"}}active{{end}}{{end}}" href="/projects/">Projects</a>
|
||||
<a class="nav-item nav-link {{if $area}}{{if eq $area "tags"}}active{{end}}{{end}}" href="/tags/">Tags</a>
|
||||
|
@ -2,7 +2,7 @@
|
||||
Layout = "page"
|
||||
Title = "Blog Post 1"
|
||||
Collection = "Blog"
|
||||
CrumbParent = "home"
|
||||
CrumbParent = "blog"
|
||||
+++
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas quis placerat elit. Pellentesque metus turpis, egestas
|
||||
|
@ -2,7 +2,7 @@
|
||||
Layout = "page"
|
||||
Title = "Blog Post 2"
|
||||
Collection = "Blog"
|
||||
CrumbParent = "home"
|
||||
CrumbParent = "blog"
|
||||
+++
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent placerat at ligula vel condimentum. Morbi commodo
|
||||
|
@ -2,7 +2,7 @@
|
||||
Layout = "page"
|
||||
Title = "Blog Post 3"
|
||||
Collection = "Blog"
|
||||
CrumbParent = "home"
|
||||
CrumbParent = "blog"
|
||||
+++
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent placerat at ligula vel condimentum. Morbi commodo
|
||||
|
@ -2,7 +2,7 @@
|
||||
Layout = "page"
|
||||
Title = "Blog Post 4"
|
||||
Collection = "Blog"
|
||||
CrumbParent = "home"
|
||||
CrumbParent = "blog"
|
||||
+++
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent placerat at ligula vel condimentum. Morbi commodo
|
||||
|
@ -2,7 +2,7 @@
|
||||
Layout = "page"
|
||||
Title = "Blog Post 5"
|
||||
Collection = "Blog"
|
||||
CrumbParent = "home"
|
||||
CrumbParent = "blog"
|
||||
+++
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent placerat at ligula vel condimentum. Morbi commodo
|
||||
|
@ -2,7 +2,7 @@
|
||||
Layout = "page"
|
||||
Title = "Blog Post 6"
|
||||
Collection = "Blog"
|
||||
CrumbParent = "home"
|
||||
CrumbParent = "blog"
|
||||
+++
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent placerat at ligula vel condimentum. Morbi commodo
|
||||
|
@ -2,7 +2,7 @@
|
||||
Layout = "page"
|
||||
Title = "Blog Post 7"
|
||||
Collection = "Blog"
|
||||
CrumbParent = "home"
|
||||
CrumbParent = "blog"
|
||||
+++
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent placerat at ligula vel condimentum. Morbi commodo
|
||||
|
@ -1,7 +1,7 @@
|
||||
+++
|
||||
Area = "home"
|
||||
CrumbName = "home"
|
||||
Area = "blog"
|
||||
CrumbName = "blog"
|
||||
Layout = "collection"
|
||||
Title = "Home"
|
||||
Title = "Blog"
|
||||
+++
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
+++
|
||||
Area = "portfolio"
|
||||
CrumbName = "portfolio"
|
||||
CrumbParent = "home"
|
||||
CrumbParent = "blog"
|
||||
Layout = "page"
|
||||
Title = "Portfolio"
|
||||
+++
|
||||
|
@ -1,7 +1,7 @@
|
||||
+++
|
||||
Area = "projects"
|
||||
CrumbName = "projects"
|
||||
CrumbParent = "home"
|
||||
CrumbParent = "blog"
|
||||
Layout = "page"
|
||||
Title = "Projects"
|
||||
+++
|
||||
|
@ -1,7 +1,7 @@
|
||||
+++
|
||||
Area = "tags"
|
||||
CrumbName = "tags"
|
||||
CrumbParent = "home"
|
||||
CrumbParent = "blog"
|
||||
Layout = "tags"
|
||||
Title = "Tags"
|
||||
+++
|
||||
|
Loading…
Reference in New Issue
Block a user