!publish! well..
This commit is contained in:
parent
02557b4ace
commit
1bbee644f6
|
@ -17,7 +17,7 @@ module.exports = {
|
||||||
'content/**/*.html',
|
'content/**/*.html',
|
||||||
],
|
],
|
||||||
// Include any special characters you're using in this regular expression
|
// Include any special characters you're using in this regular expression
|
||||||
defaultExtractor: content => content.match(/[\w-/:]+(?<!:)/g) || [],
|
defaultExtractor: content => content.match(/[A-Za-z0-9-_:\/]+/g) || [],
|
||||||
fontFace: true
|
fontFace: true
|
||||||
}),
|
}),
|
||||||
require('autoprefixer')({
|
require('autoprefixer')({
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
module.exports = {
|
module.exports = {
|
||||||
theme: {
|
theme: {
|
||||||
|
screens: {
|
||||||
|
'md': {'max': '767px'},
|
||||||
|
'lg': {'min': '768px'}
|
||||||
|
},
|
||||||
fontFamily: {
|
fontFamily: {
|
||||||
'vg5000': ['"VG5000-Regular"', 'sans'],
|
'vg5000': ['"VG5000-Regular"', 'sans'],
|
||||||
'playfair': ['"PlayfairDisplay Regular"', 'sans']
|
'playfair': ['"PlayfairDisplay Regular"', 'sans']
|
||||||
|
|
|
@ -15,11 +15,11 @@
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{- partial "header.html" . -}}
|
{{- partial "header.html" . -}}
|
||||||
<main class="flex mb-4 pt-2 justify-between">
|
<main class="lg:flex mb-4 pt-2 justify-between md:flex-row">
|
||||||
<aside class="w-2/5 pr-4 pt-16 sticky top-0 static h-full mb-6">
|
<aside class="lg:w-2/5 pr-4 pt-16 lg:sticky lg:top-0 lg:static h-full mb-6 md:w-full">
|
||||||
{{- block "sidebar" . }}{{- end }}
|
{{- block "sidebar" . }}{{- end }}
|
||||||
</aside>
|
</aside>
|
||||||
<article class="w-3/5 pt-32">
|
<article class="lg:w-3/5 pt-32 md:w-full">
|
||||||
{{- block "main" . }}{{- end }}
|
{{- block "main" . }}{{- end }}
|
||||||
</article>
|
</article>
|
||||||
</main>
|
</main>
|
||||||
|
|
|
@ -3,6 +3,19 @@
|
||||||
<div class="leading-none mb-12">
|
<div class="leading-none mb-12">
|
||||||
<span class="title-pretext">syllabus ⦚ </span><span class="title-text pt-6">{{ .Title }}</span>
|
<span class="title-pretext">syllabus ⦚ </span><span class="title-text pt-6">{{ .Title }}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{{ if ne (trim .Page.TableOfContents "\n") "<nav id=\"TableOfContents\"></nav>" }}
|
||||||
|
<div class="ddmenu">
|
||||||
|
<input id="toggly-toc" type="checkbox" >
|
||||||
|
<label for="toggly-toc" class="sidebar-title" tabindex="1">▒▒ table of contents ▽</label>
|
||||||
|
<div class="hiddendiv">
|
||||||
|
<div class="mt-4">
|
||||||
|
{{ .Page.TableOfContents }}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
<div class="ddmenu">
|
<div class="ddmenu">
|
||||||
<input id="toggly" type="checkbox">
|
<input id="toggly" type="checkbox">
|
||||||
<label for="toggly" class="sidebar-title mb-1" tabindex="1">▒▒ has topics ▽</label>
|
<label for="toggly" class="sidebar-title mb-1" tabindex="1">▒▒ has topics ▽</label>
|
||||||
|
|
Loading…
Reference in New Issue