mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-12-22 04:13:17 -06:00
Hide "View source" button when printing
This commit is contained in:
parent
17918a5617
commit
b272ed6181
@ -761,6 +761,7 @@ li.disabled > .page-link:hover {
|
||||
@media print {
|
||||
.top,
|
||||
.section-header-link,
|
||||
.post-meta-view-source,
|
||||
.prevnext,
|
||||
.share-buttons,
|
||||
.related-posts,
|
||||
|
@ -1,5 +1,5 @@
|
||||
{{ if and .Site.Params.gitFileURL .File.Path }}
|
||||
<span class="post-meta-item" aria-label="{{ i18n "aria_post_meta_view_source" }}">
|
||||
<span class="post-meta-item post-meta-view-source" aria-label="{{ i18n "aria_post_meta_view_source" }}">
|
||||
{{ with .Site.Params.gitFileIcon }}
|
||||
{{ partial "icon.html" . }}
|
||||
{{ else }}
|
||||
|
Loading…
Reference in New Issue
Block a user