Compare commits
No commits in common. "f2129ca33a7de6f1e2bd9700e5dcc66ba1eef7ce" and "c8850cd4d2a4ec11caf734230d6caabe8a90bade" have entirely different histories.
f2129ca33a
...
c8850cd4d2
|
@ -6,14 +6,9 @@
|
|||
<main>
|
||||
<div>
|
||||
<h1 id="title">{{ .Title }}</h1>
|
||||
<div class="list-content">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
<div class="list-summary">
|
||||
{{ range .Pages }}
|
||||
{{ .Render "summary"}}
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
{{ end }}
|
|
@ -4,11 +4,9 @@
|
|||
<div class="post-meta">{{ .Date.Format "Mon, Jan 2, 2006" }} - {{ .FuzzyWordCount }} Words </div>
|
||||
</header>
|
||||
{{ .Summary }}
|
||||
{{ if .Truncated }}
|
||||
<footer>
|
||||
<a href='{{ .Permalink }}'>
|
||||
<span style="white-space: nowrap;">Read more →</span>
|
||||
</a>
|
||||
</footer>
|
||||
{{ end }}
|
||||
</article>
|
|
@ -1,31 +1,2 @@
|
|||
<header>
|
||||
<nav>
|
||||
<ul>
|
||||
{{ $currentPage := . }}
|
||||
{{ range .Site.Menus.main }}
|
||||
{{ if .HasChildren }}
|
||||
<li class="{{ if $currentPage.HasMenuCurrent "main" . }}active{{ end }}">
|
||||
<a href="#">
|
||||
{{ .Pre }}
|
||||
<span>{{ .Name }}</span>
|
||||
</a>
|
||||
</li>
|
||||
<ul class="sub-menu">
|
||||
{{ range .Children }}
|
||||
<li class="{{ if $currentPage.IsMenuCurrent "main" . }}active{{ end }}">
|
||||
<a href="{{ .URL }}">{{ .Name }}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ else }}
|
||||
<li>
|
||||
<a href="{{ .URL }}">
|
||||
{{ .Pre }}
|
||||
<span>{{ .Name }}</span>
|
||||
</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
Loading…
Reference in New Issue