Update style
This commit is contained in:
@@ -6,29 +6,28 @@
|
||||
{{ .Content }}
|
||||
</nav>
|
||||
<nav class="inf-border" aria-labelledby="toc-heading">
|
||||
<div class="inf-patterns-list" id="list">
|
||||
<h3> <a href="/post"> Check My Recent Posts </a> </h3>
|
||||
<table>
|
||||
<ul class="inf-patterns-list" id="list">
|
||||
{{ range (.Paginator 5).Pages.ByPublishDate.Reverse }}
|
||||
<tr>
|
||||
|
||||
<td>
|
||||
<a href="{{ .RelPermalink }}" >
|
||||
<svg class="bookmark-icon" aria-hidden="true" focusable="false" viewBox="0 0 40 50">
|
||||
<use xlink:href="#bookmark"></use>
|
||||
</svg>
|
||||
<span class="text">{{ .Name }}</span>
|
||||
</a>
|
||||
</td>
|
||||
<td class="inf-td-hide">
|
||||
<a href="{{ .RelPermalink }}" >
|
||||
<span class="text">{{ .PublishDate.Format "January 2, 2006" }}</span>
|
||||
</a>
|
||||
</td>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="{{ .RelPermalink }}" >
|
||||
<svg class="bookmark-icon" aria-hidden="true" focusable="false" viewBox="0 0 40 50">
|
||||
<use xlink:href="#bookmark"></use>
|
||||
</svg>
|
||||
<span class="text">{{ .Name }}</span>
|
||||
</a>
|
||||
</td>
|
||||
<td class="inf-td-hide">
|
||||
<a href="{{ .RelPermalink }}" >
|
||||
<span class="text">{{ .PublishDate.Format "January 2, 2006" }}</span>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</table>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
{{ partial "icon-links.html" . }}
|
||||
|
||||
@@ -26,8 +26,5 @@
|
||||
|
||||
</div>
|
||||
{{ partial "nav.html" . }}
|
||||
{{ if eq .Site.Params.moveFooterToHeader true }}
|
||||
{{ partial "footer.html" . }}
|
||||
{{ end }}
|
||||
</div>
|
||||
</header>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
{{ $current := . }}
|
||||
<ul id="patterns-list">
|
||||
{{ range .Site.Menus.nav }}
|
||||
<li class="pattern">
|
||||
<li class="nav-pattern">
|
||||
{{ $active := or ($current.IsMenuCurrent "nav" .) ($current.HasMenuCurrent "nav" .) }}
|
||||
{{ $active = or $active (eq .Name $current.Title) }}
|
||||
{{ $active = or $active (and (eq .Name "Home") (eq $current.Section "")) }}
|
||||
@@ -25,3 +25,4 @@
|
||||
{{ end }}
|
||||
</ul>
|
||||
</nav>
|
||||
{{ partial "footer.html" . }}
|
||||
|
||||
Reference in New Issue
Block a user