mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-12-22 12:13:19 -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 {
|
@media print {
|
||||||
.top,
|
.top,
|
||||||
.section-header-link,
|
.section-header-link,
|
||||||
|
.post-meta-view-source,
|
||||||
.prevnext,
|
.prevnext,
|
||||||
.share-buttons,
|
.share-buttons,
|
||||||
.related-posts,
|
.related-posts,
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{{ if and .Site.Params.gitFileURL .File.Path }}
|
{{ 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 }}
|
{{ with .Site.Params.gitFileIcon }}
|
||||||
{{ partial "icon.html" . }}
|
{{ partial "icon.html" . }}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
|
Loading…
Reference in New Issue
Block a user