Compare commits
3 Commits
Author | SHA1 | Date |
---|---|---|
|
950041aea9 | |
|
8c5110ddda | |
|
0d75e505db |
|
@ -15,6 +15,18 @@
|
||||||
{{ block "icons" . }}
|
{{ block "icons" . }}
|
||||||
{{ partial "icons.html" . }}
|
{{ partial "icons.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
{{ if (fileExists "static/apple-touch-icon.png") -}}
|
||||||
|
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
||||||
|
{{- end }}
|
||||||
|
{{ if (fileExists "static/favicon-32x32.png") -}}
|
||||||
|
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
|
||||||
|
{{- end }}
|
||||||
|
{{ if (fileExists "static/favicon-16x16.png") -}}
|
||||||
|
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
|
||||||
|
{{- end }}
|
||||||
|
{{ if (fileExists "static/site.webmanifest") -}}
|
||||||
|
<link rel="manifest" href="/site.webmanifest">
|
||||||
|
{{- end }}
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
@ -65,4 +77,4 @@
|
||||||
</footer>
|
</footer>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
{{ $htmlTable := .Inner | markdownify }}
|
||||||
|
{{ $class := .Get 0 }}
|
||||||
|
{{ $old := "<table>" }}
|
||||||
|
{{ $new := printf "<table class=\"%s\">" $class }}
|
||||||
|
{{ $htmlTable := replace $htmlTable $old $new }}
|
||||||
|
{{ $htmlTable | safeHTML }}
|
|
@ -65,8 +65,13 @@ pre {
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
code {
|
||||||
|
color: darkred;
|
||||||
|
}
|
||||||
|
|
||||||
pre code {
|
pre code {
|
||||||
display: block;
|
display: block;
|
||||||
|
color: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
figure {
|
figure {
|
||||||
|
@ -94,4 +99,17 @@ figure img {
|
||||||
figure img {
|
figure img {
|
||||||
max-width: calc(100vw - 510px);
|
max-width: calc(100vw - 510px);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Styes for tables */
|
||||||
|
table, th, td {
|
||||||
|
padding: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
table.table-bordered,
|
||||||
|
table.table-bordered td,
|
||||||
|
table.table-bordered th {
|
||||||
|
border: 1px solid #dee2e6;
|
||||||
|
border-spacing: 2px;
|
||||||
|
border-collapse: collapse;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue