mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-01-19 03:10:24 +00:00
Add Checkmark On visited Links
This commit is contained in:
parent
75df02c3ab
commit
079e2a0400
2 changed files with 4 additions and 2 deletions
|
@ -19,7 +19,7 @@
|
||||||
{display:none !important;}</style>
|
{display:none !important;}</style>
|
||||||
{{ partial "style.html" . }}
|
{{ partial "style.html" . }}
|
||||||
</head>
|
</head>
|
||||||
<body class="" data-url="/">
|
<body class="" data-url="{{ .RelPermalink }}">
|
||||||
{{ partial "menu.html" . }}
|
{{ partial "menu.html" . }}
|
||||||
<section id="body">
|
<section id="body">
|
||||||
<div id="overlay"></div>
|
<div id="overlay"></div>
|
||||||
|
|
|
@ -27,6 +27,7 @@
|
||||||
{{ printf $first.Params.icon | safeHTML }}
|
{{ printf $first.Params.icon | safeHTML }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ $first.Title }}
|
{{ $first.Title }}
|
||||||
|
<i class="fa fa-check read-icon"></i>
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
{{ if gt .Pages.Len 1}}
|
{{ if gt .Pages.Len 1}}
|
||||||
|
@ -35,7 +36,7 @@
|
||||||
{{ if gt $k 0 }}
|
{{ if gt $k 0 }}
|
||||||
<li class="dd-item {{ if eq $page.RelPermalink $p.RelPermalink }}active{{ end }}" data-nav-id="{{ $p.RelPermalink }}">
|
<li class="dd-item {{ if eq $page.RelPermalink $p.RelPermalink }}active{{ end }}" data-nav-id="{{ $p.RelPermalink }}">
|
||||||
<a href="{{ $p.RelPermalink }}">
|
<a href="{{ $p.RelPermalink }}">
|
||||||
<span>{{ $p.Title }}</span>
|
<span>{{ $p.Title }} <i class="fa fa-check read-icon"></i></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -47,6 +48,7 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</ul>
|
</ul>
|
||||||
<hr>
|
<hr>
|
||||||
|
<a class="padding" href="#" data-clear-history-toggle=""><i class="fa fa-fw fa-history"></i> Clear History</a>
|
||||||
<section id="footer">
|
<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>
|
<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>
|
</section>
|
||||||
|
|
Loading…
Reference in a new issue