mirror of https://github.com/jlelse/GoBlog
Improve print CSS
This commit is contained in:
parent
6bc70f0a0e
commit
95a7ff134c
|
@ -245,7 +245,18 @@ footer {
|
|||
nav,
|
||||
#post-actions,
|
||||
#related,
|
||||
#interactions {
|
||||
#interactions,
|
||||
#posteditactions,
|
||||
#tor {
|
||||
display: none;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
// Show link
|
||||
.e-content a[href]:after {
|
||||
content: " [" attr(href) "]";
|
||||
}
|
||||
}
|
|
@ -211,7 +211,17 @@ footer * {
|
|||
nav,
|
||||
#post-actions,
|
||||
#related,
|
||||
#interactions {
|
||||
#interactions,
|
||||
#posteditactions,
|
||||
#tor {
|
||||
display: none;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.e-content a[href]:after {
|
||||
content: " [" attr(href) "]";
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,18 +1,15 @@
|
|||
{{ define "footer" }}
|
||||
<footer>
|
||||
{{ with index .Blog.Menus "footer" }}
|
||||
<p>
|
||||
{{ range $i, $item := .Items }}
|
||||
{{ if ne $i 0 }} • {{ end }}<a href="{{ $item.Link }}">{{ $item.Title }}</a>
|
||||
{{ end }}
|
||||
</p>
|
||||
<nav>{{ range $i, $item := .Items }}{{ if ne $i 0 }} • {{ end }}<a href="{{ $item.Link }}">{{ $item.Title }}</a>{{ end }}
|
||||
</nav>
|
||||
{{ end }}
|
||||
<p translate="no">© {{ dateformat now "2006" }} {{ with .User.Name }}{{ . }}{{ else }}{{ .Blog.Title }}{{ end }}</p>
|
||||
{{ if .TorUsed }}
|
||||
<p>🔐 {{ string .Blog.Lang "connectedviator" }}</p>
|
||||
<p id="tor">🔐 {{ string .Blog.Lang "connectedviator" }}</p>
|
||||
{{ else }}
|
||||
{{ if .TorAddress }}
|
||||
<p>🔓 <a href="{{ .TorAddress }}">{{ string .Blog.Lang "connectviator" }}</a> <a href="https://www.torproject.org/" target="_blank" rel="nofollow noopener noreferrer">{{ string .Blog.Lang "whatistor" }}</a></p>
|
||||
<p id="tor">🔓 <a href="{{ .TorAddress }}">{{ string .Blog.Lang "connectviator" }}</a> <a href="https://www.torproject.org/" target="_blank" rel="nofollow noopener noreferrer">{{ string .Blog.Lang "whatistor" }}</a></p>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</footer>
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
{{ include "author" . }}
|
||||
</main>
|
||||
{{ if .LoggedIn }}
|
||||
<div class="p">
|
||||
<div id="posteditactions" class="p">
|
||||
<form class="in" method="post" action="{{ .Blog.RelativePath "/editor" }}#update">
|
||||
<input type="hidden" name="editoraction" value="loadupdate">
|
||||
<input type="hidden" name="url" value="{{ .Canonical }}">
|
||||
|
|
Loading…
Reference in New Issue