diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 3ce5e0fad5..533ad0f55d 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -19,7 +19,7 @@ {display:none !important;} {{ partial "style.html" . }} - + {{ partial "menu.html" . }}
diff --git a/layouts/partials/menu.html b/layouts/partials/menu.html index a6cdc6b1b5..c5d4fd78e2 100644 --- a/layouts/partials/menu.html +++ b/layouts/partials/menu.html @@ -27,6 +27,9 @@ {{ printf $first.Params.icon | safeHTML }} {{ end }} {{ $first.Title }} + {{ if $page.Site.Params.showVisitedLinks}} + + {{ end }} {{ if gt .Pages.Len 1}} @@ -35,7 +38,7 @@ {{ if gt $k 0 }} {{ end }} @@ -47,6 +50,9 @@ {{ end }}
+ {{ if .Site.Params.showVisitedLinks}} + Clear History + {{ end }} diff --git a/static/css/theme.css b/static/css/theme.css index 39d009b292..f00679c777 100644 --- a/static/css/theme.css +++ b/static/css/theme.css @@ -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 */