diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2021-10-31 17:01:14 +0300 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2021-11-03 19:22:49 +0300 |
commit | 3c9eb0a463fbc386cb3087c455d2f71d84b5027f (patch) | |
tree | c831c8cc6f9332803db7f5c05767270bc6aaeb4a /exampleSite | |
parent | 0168f8e5ac0e90549f92fc1512bea95a2ac3fa14 (diff) |
Rewrite to use AlpineJS
Diffstat (limited to 'exampleSite')
5 files changed, 30 insertions, 20 deletions
diff --git a/exampleSite/.gitignore b/exampleSite/.gitignore index 85a1daf..f301b88 100644 --- a/exampleSite/.gitignore +++ b/exampleSite/.gitignore @@ -1 +1,3 @@ -/public
\ No newline at end of file +/public +.hugo_build.lock +/assets/jsconfig.json
\ No newline at end of file diff --git a/exampleSite/go.mod b/exampleSite/go.mod index 6c6d9cf..d1dffea 100644 --- a/exampleSite/go.mod +++ b/exampleSite/go.mod @@ -1,10 +1,10 @@ -module github.com/bep/docuapi +module github.com/bep/docuapi/exampleSite -go 1.12 +go 1.16 require ( github.com/bep/empty-hugo-module v1.0.0 // indirect - github.com/jquery/jquery-dist v0.0.0-20210302171154-e786e3d9707f // indirect + github.com/gohugoio/hugo-mod-jslibs-dist/alpinejs/v3 v3.401.201 // indirect github.com/olivernn/lunr.js v2.3.9+incompatible // indirect github.com/slatedocs/slate v2.9.2+incompatible // indirect ) diff --git a/exampleSite/go.sum b/exampleSite/go.sum index 579a06f..82a169c 100644 --- a/exampleSite/go.sum +++ b/exampleSite/go.sum @@ -1,7 +1,7 @@ github.com/bep/empty-hugo-module v1.0.0 h1:aYc9RWea644CdYjg9zCy8nkVF4KjC3fwhUTvvcXXg8s= github.com/bep/empty-hugo-module v1.0.0/go.mod h1:whohinbSjMoFi/Skivj9kvdPs1tEgzYpZ4rXoQk/0/I= -github.com/jquery/jquery-dist v0.0.0-20210302171154-e786e3d9707f h1:VrcFwwDo/nKErNIKmp//iOGu7DlRkBTeW//hN7tl7SU= -github.com/jquery/jquery-dist v0.0.0-20210302171154-e786e3d9707f/go.mod h1:/lTfttEqFU0GWTaOOMIeNTzLGQ7yTIgyzjtkS/pYIoc= +github.com/gohugoio/hugo-mod-jslibs-dist/alpinejs/v3 v3.401.201 h1:rIBco2i/51nTPbi7pHUvwBwznCddMOsp/9pR2veAPx8= +github.com/gohugoio/hugo-mod-jslibs-dist/alpinejs/v3 v3.401.201/go.mod h1:WWQxcmPs5Xy3xDgi29ipkmZT6NKVb3bsqyCDTY3eYYY= github.com/olivernn/lunr.js v2.3.9+incompatible h1:eH8iBnjlR4mwlYDdNuqy9PCNLjp2bEs6aoNnTSaccx0= github.com/olivernn/lunr.js v2.3.9+incompatible/go.mod h1:yEkQ1DUSMtNsn8n2CqvQXZd0ErWPEG8g9QRmblR+KS8= github.com/slatedocs/slate v2.9.2+incompatible h1:PnIMTR1S7pE6tImIjF6ny9UaRrt6fukM93lwUwJPtjw= diff --git a/exampleSite/resources/_gen/assets/scss/scss/slate/print.css.scss_c14439616ffbc3ae1827507340d6c08b.content b/exampleSite/resources/_gen/assets/scss/scss/slate/print.css.scss_c14439616ffbc3ae1827507340d6c08b.content index d9dc130..404743e 100644 --- a/exampleSite/resources/_gen/assets/scss/scss/slate/print.css.scss_c14439616ffbc3ae1827507340d6c08b.content +++ b/exampleSite/resources/_gen/assets/scss/scss/slate/print.css.scss_c14439616ffbc3ae1827507340d6c08b.content @@ -357,13 +357,6 @@ td, th { padding: 0; } -.content > div.highlight { - clear: none; } - -.toc-wrapper .toc-h3 { - padding-left: 50px; - font-size: 12px; } - body, .content h3, .content h4, .content h2, .content h1 { font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 14px; @@ -381,6 +374,17 @@ body, .content h3, .content h4, .content h2, .content h1 { word-break: break-all; hyphens: auto; } +.content > div.highlight { + clear: none; } + +.toc-wrapper .toc-h3 { + padding-left: 50px; + font-size: 12px; } + +.da-toc-list-h2 { + background-color: #1E2224; + font-weight: 500; } + @font-face { font-family: 'slateeee'; src: url("../fonts/slate.eot?-syv14m"); diff --git a/exampleSite/resources/_gen/assets/scss/scss/slate/screen.css.scss_d18af36970f1f09b308ef20ee65e3a03.content b/exampleSite/resources/_gen/assets/scss/scss/slate/screen.css.scss_d18af36970f1f09b308ef20ee65e3a03.content index a77d3a3..1052cc6 100644 --- a/exampleSite/resources/_gen/assets/scss/scss/slate/screen.css.scss_d18af36970f1f09b308ef20ee65e3a03.content +++ b/exampleSite/resources/_gen/assets/scss/scss/slate/screen.css.scss_d18af36970f1f09b308ef20ee65e3a03.content @@ -357,13 +357,6 @@ td, th { padding: 0; } -.content > div.highlight { - clear: none; } - -.toc-wrapper .toc-h3 { - padding-left: 50px; - font-size: 12px; } - html, body, .content h3, .content h4, .content h5, .content h6, .content h2, .content h1 { font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 14px; @@ -381,6 +374,17 @@ html, body, .content h3, .content h4, .content h5, .content h6, .content h2, .co word-break: break-all; hyphens: auto; } +.content > div.highlight { + clear: none; } + +.toc-wrapper .toc-h3 { + padding-left: 50px; + font-size: 12px; } + +.da-toc-list-h2 { + background-color: #1E2224; + font-weight: 500; } + @font-face { font-family: 'slateeee'; src: url("../fonts/slate.eot?-syv14m"); |