Compare commits
2 Commits
Author | SHA1 | Date |
---|---|---|
Kevin C. Coram | 950041aea9 | |
Kevin C. Coram | 8c5110ddda |
|
@ -15,6 +15,18 @@
|
|||
{{ block "icons" . }}
|
||||
{{ partial "icons.html" . }}
|
||||
{{ 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>
|
||||
|
||||
<body>
|
||||
|
@ -65,4 +77,4 @@
|
|||
</footer>
|
||||
</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 }}
|
|
@ -99,4 +99,17 @@ figure img {
|
|||
figure img {
|
||||
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