Add Checkmark On visited Links

This commit is contained in:
Andre Sousa 2016-05-23 21:18:57 +01:00
parent 75df02c3ab
commit 079e2a0400
2 changed files with 4 additions and 2 deletions

View file

@ -19,7 +19,7 @@
{display:none !important;}</style>
{{ partial "style.html" . }}
</head>
<body class="" data-url="/">
<body class="" data-url="{{ .RelPermalink }}">
{{ partial "menu.html" . }}
<section id="body">
<div id="overlay"></div>

View file

@ -27,6 +27,7 @@
{{ printf $first.Params.icon | safeHTML }}
{{ end }}
{{ $first.Title }}
<i class="fa fa-check read-icon"></i>
</span>
</a>
{{ if gt .Pages.Len 1}}
@ -35,7 +36,7 @@
{{ if gt $k 0 }}
<li class="dd-item {{ if eq $page.RelPermalink $p.RelPermalink }}active{{ end }}" data-nav-id="{{ $p.RelPermalink }}">
<a href="{{ $p.RelPermalink }}">
<span>{{ $p.Title }}</span>
<span>{{ $p.Title }} <i class="fa fa-check read-icon"></i></span>
</a>
</li>
{{ end }}
@ -47,6 +48,7 @@
{{ end }}
</ul>
<hr>
<a class="padding" href="#" data-clear-history-toggle=""><i class="fa fa-fw fa-history"></i> Clear History</a>
<section id="footer">
<p>Built with <a href="https://github.com/matcornic/hugo-theme-learn"><i class="fa fa-heart"></i></a> from <a href="http://getgrav.org">Grav</a> and <a href="http://gohugo.io/">Hugo</a></p>
</section>