aboutsummaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/index.html9
-rw-r--r--layouts/partials/footer.html5
-rw-r--r--layouts/partials/header.html10
3 files changed, 8 insertions, 16 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 16138b4..2f86fca 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -3,12 +3,5 @@
3 <article> 3 <article>
4 {{- .Content -}} 4 {{- .Content -}}
5 </article> 5 </article>
6 {{ with .Site.GetPage "post" }}
7 {{ range .Pages }}
8 <article>
9 <p>{{ .Render "summary" }}</p>
10 </article>
11 {{ end }}
12 {{ end }}
13</div> 6</div>
14{{ end }} \ No newline at end of file 7{{ end }}
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index d60e941..3800b98 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -47,6 +47,9 @@
47 </section> 47 </section>
48 </div> 48 </div>
49 </div> 49 </div>
50 <div class="poweredby">
51 Powered by <a href="https://gohugo.io">Hugo</a> &amp; Blackbear
52 </div>
50 <div class="copyright">&copy; Copyright {{ now.Format "2006" }} | All Rights Reserved 53 <div class="copyright">&copy; Copyright {{ now.Format "2006" }} | All Rights Reserved
51 </div> 54 </div>
52</footer> \ No newline at end of file 55</footer>
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 4a9ae70..28d3734 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -1,13 +1,9 @@
1<header> 1<header>
2 <div class="container"> 2 <div class="container">
3 <nav> 3 <nav>
4 <ul> 4 <div class='wordmark'>
5 <li>
6 <strong>
7 {{ .Site.Title }} 5 {{ .Site.Title }}
8 </strong> 6 </div>
9 </li>
10 </ul>
11 <ul> 7 <ul>
12 {{ range .Site.Menus.main }} 8 {{ range .Site.Menus.main }}
13 <li><a href="{{ .URL }}">{{ .Name }}</a></li> 9 <li><a href="{{ .URL }}">{{ .Name }}</a></li>
@@ -15,4 +11,4 @@
15 </ul> 11 </ul>
16 </nav> 12 </nav>
17 </div> 13 </div>
18</header> \ No newline at end of file 14</header>