We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a52116 commit 37ffaf6Copy full SHA for 37ffaf6
src/css/toolbar.css
@@ -70,18 +70,21 @@
70
width: inherit;
71
}
72
73
+.pdf-link,
74
.edit-this-page {
75
display: none;
76
padding-right: 0.5rem;
77
78
79
@media screen and (min-width: 1024px) {
80
.project-link,
81
+ .pdf-link,
82
83
display: block;
84
85
86
87
+.toolbar .pdf-link a,
88
.toolbar .edit-this-page a {
89
color: var(--toolbar-muted-color);
90
src/partials/toolbar.hbs
@@ -5,5 +5,8 @@
5
{{/with}}
6
{{> breadcrumbs}}
7
{{> page-versions}}
8
+{{#with ./page.file.assembler.pdf}}
9
+<div class="pdf-link"><a href="{{{relativize ./file.pub.url}}}{{{./fragment}}}">PDF</a></div>
10
+{{/with}}
11
{{> edit-this-page}}
12
</div>
0 commit comments