mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-01-18 19:00:24 +00:00
t push origin masterMerge branch 'Xipas-master'
This commit is contained in:
commit
2fd583d0df
3 changed files with 25 additions and 2 deletions
|
@ -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>
|
||||
|
|
|
@ -27,6 +27,9 @@
|
|||
{{ printf $first.Params.icon | safeHTML }}
|
||||
{{ end }}
|
||||
{{ $first.Title }}
|
||||
{{ if $page.Site.Params.showVisitedLinks}}
|
||||
<i class="fa fa-check read-icon"></i>
|
||||
{{ end }}
|
||||
</span>
|
||||
</a>
|
||||
{{ if gt .Pages.Len 1}}
|
||||
|
@ -35,7 +38,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 }} {{ if $page.Site.Params.showVisitedLinks}} <i class="fa fa-check read-icon"> {{ end }} </i></span>
|
||||
</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
|
@ -47,6 +50,9 @@
|
|||
{{ end }}
|
||||
</ul>
|
||||
<hr>
|
||||
{{ if .Site.Params.showVisitedLinks}}
|
||||
<a class="padding" href="#" data-clear-history-toggle=""><i class="fa fa-fw fa-history"></i> Clear History</a>
|
||||
{{ end }}
|
||||
<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>
|
||||
|
|
|
@ -988,4 +988,21 @@ pre .copy-to-clipboard:hover {
|
|||
transform-style: preserve-3d;
|
||||
}
|
||||
|
||||
/* Add checkmark icon align to right and color*/
|
||||
#sidebar ul.topics > li > a .fa {
|
||||
margin-top: 9px;
|
||||
}
|
||||
#sidebar ul li .fa {
|
||||
display: none;
|
||||
float: right;
|
||||
font-size: 13px;
|
||||
min-width: 16px;
|
||||
margin: 4px 0 0 0;
|
||||
text-align: right;
|
||||
}
|
||||
#sidebar ul li.visited > a .read-icon {
|
||||
color: #8451a1;
|
||||
display: inline;
|
||||
}
|
||||
|
||||
/*# sourceMappingURL=theme.css.map */
|
||||
|
|
Loading…
Reference in a new issue