From edf50d868c5f51cc19fe672bcd77226160653f23 Mon Sep 17 00:00:00 2001 From: Davide Polonio Date: Mon, 26 Apr 2021 22:39:17 +0200 Subject: [PATCH] First draft --- .gitattributes | 2 + .gitmodules | 3 ++ archetypes/default.md | 6 +++ config.toml | 64 ++++++++++++++++++++++++++++ content/english/about-me.md | 5 +++ content/italian/riguardo-l-autore.md | 5 +++ layouts/partials/header.html | 7 +++ static/android-chrome-192x192.png | 3 ++ static/apple-touch-icon.png | 3 ++ static/browserconfig.xml | 9 ++++ static/favicon-16x16.png | 3 ++ static/favicon-32x32.png | 3 ++ static/favicon.ico | 3 ++ static/mstile-150x150.png | 3 ++ static/safari-pinned-tab.svg | 1 + static/site.webmanifest | 13 ++++++ themes/hermit | 1 + 17 files changed, 134 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitmodules create mode 100644 archetypes/default.md create mode 100644 config.toml create mode 100644 content/english/about-me.md create mode 100644 content/italian/riguardo-l-autore.md create mode 100644 layouts/partials/header.html create mode 100644 static/android-chrome-192x192.png create mode 100644 static/apple-touch-icon.png create mode 100644 static/browserconfig.xml create mode 100644 static/favicon-16x16.png create mode 100644 static/favicon-32x32.png create mode 100644 static/favicon.ico create mode 100644 static/mstile-150x150.png create mode 100644 static/safari-pinned-tab.svg create mode 100644 static/site.webmanifest create mode 160000 themes/hermit diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..faf757d --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +*.png filter=lfs diff=lfs merge=lfs -text +*.ico filter=lfs diff=lfs merge=lfs -text diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..ff46467 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/hermit"] + path = themes/hermit + url = https://github.com/Track3/hermit.git diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..00e77bd --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,6 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +draft: true +--- + diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..674f0d0 --- /dev/null +++ b/config.toml @@ -0,0 +1,64 @@ +baseURL = "https://bitdispenser.dev/" +languageCode = "en-us" +defaultContentLanguage = "en" +title = "Bitdispenser" +theme = "hermit" +#enableGitInfo = true +pygmentsCodefences = true +pygmentsUseClasses = true +rssLimit = 15 +copyright = "This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International 4.0 International License." +enableEmoji = true +relativeUrls = true + +[author] + name = "Davide Polonio" + +[params] + dateform = "2 Jan 2006" + dateformShort = "2 Jan" + dateformNum = "02-01-2006" + dateformNumTime = "02-01-2006 15:04 -0700" + themeColor = "#494f5c" + homeSubtitle = "Yet another ordered dispenser of bits" + footerCopyright = ' · CC BY-SA 4.0' + justifyContent = true + relatedPosts = true + code_copy_button = true + + [[params.social]] + name = "email" + url = "mailto:davide@poldebra.me" + [[params.social]] + name = "github" + url = "https://github.com/Polpetta" + +[languages] + [languages.en] + languageName = "English" + contentDir = "content/english" + title = "Bitdispenser" + homeSubtitle = "Yet another ordered dispenser of bits" + weight = 0 + [[languages.en.menu.main]] + name = "Posts" + url = "posts/" + weight = 10 + [[languages.en.menu.main]] + name = "About me" + url = "about-me" + weight = 20 + [languages.it] + languageName = "Italiano" + contentDir = "content/italian" + title = "Bitdispenser" + homeSubtitle = "L'ennesimo distributore ordinato di bit" + weight = 10 + [[languages.it.menu.main]] + name = "Articoli" + url = "articoli/" + weight = 10 + [[languages.it.menu.main]] + name = "Riguardo l'Autore" + url = "riguardo-l-autore" + weight = 20 \ No newline at end of file diff --git a/content/english/about-me.md b/content/english/about-me.md new file mode 100644 index 0000000..996a527 --- /dev/null +++ b/content/english/about-me.md @@ -0,0 +1,5 @@ +--- +title: "About me" +--- + +Test diff --git a/content/italian/riguardo-l-autore.md b/content/italian/riguardo-l-autore.md new file mode 100644 index 0000000..a3ac27c --- /dev/null +++ b/content/italian/riguardo-l-autore.md @@ -0,0 +1,5 @@ +--- +Title: "Riguardo l'Autore" +--- + +Prova 😀 diff --git a/layouts/partials/header.html b/layouts/partials/header.html new file mode 100644 index 0000000..7bfd670 --- /dev/null +++ b/layouts/partials/header.html @@ -0,0 +1,7 @@ + + + + + + + diff --git a/static/android-chrome-192x192.png b/static/android-chrome-192x192.png new file mode 100644 index 0000000..60bcd86 --- /dev/null +++ b/static/android-chrome-192x192.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2ef327c19e4b59acb25267438473368983e1f92d4a556b0d4f7ea1ba7127bfef +size 11598 diff --git a/static/apple-touch-icon.png b/static/apple-touch-icon.png new file mode 100644 index 0000000..4c3ebc5 --- /dev/null +++ b/static/apple-touch-icon.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2dd37cf96e7c0651d0097661430b15b3019a7365d6425301cb23d78d0aa9c14c +size 6968 diff --git a/static/browserconfig.xml b/static/browserconfig.xml new file mode 100644 index 0000000..b3930d0 --- /dev/null +++ b/static/browserconfig.xml @@ -0,0 +1,9 @@ + + + + + + #da532c + + + diff --git a/static/favicon-16x16.png b/static/favicon-16x16.png new file mode 100644 index 0000000..8c6ead9 --- /dev/null +++ b/static/favicon-16x16.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8d3cb628d8c55b8b26b7d60425d6f2133e9a99b292641e0f64fd3317e4b2f3b2 +size 781 diff --git a/static/favicon-32x32.png b/static/favicon-32x32.png new file mode 100644 index 0000000..3873ab6 --- /dev/null +++ b/static/favicon-32x32.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bf67ca4326c86c2b349de704ad0e3cac1ac46129098a581740ad42c5f6966b07 +size 1646 diff --git a/static/favicon.ico b/static/favicon.ico new file mode 100644 index 0000000..9426d09 --- /dev/null +++ b/static/favicon.ico @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:209d41eb0fc6073b44258353c58ce1a897810760fdeda70ce6db84378837cab3 +size 15086 diff --git a/static/mstile-150x150.png b/static/mstile-150x150.png new file mode 100644 index 0000000..0787c37 --- /dev/null +++ b/static/mstile-150x150.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7babdad5aa124492fe3c9bbc471e6b18018f24811218874ebe5dea5582a6a74c +size 2326 diff --git a/static/safari-pinned-tab.svg b/static/safari-pinned-tab.svg new file mode 100644 index 0000000..964c828 --- /dev/null +++ b/static/safari-pinned-tab.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/site.webmanifest b/static/site.webmanifest new file mode 100644 index 0000000..96843c4 --- /dev/null +++ b/static/site.webmanifest @@ -0,0 +1,13 @@ +{ + "name": "Bitsdispenser", + "short_name": "Bitsdispenser", + "icons": [ + { + "src": "/android-chrome-192x192.png", + "sizes": "192x192", + "type": "image/png" + } + ], + "theme_color": "#ffffff", + "background_color": "#ffffff" +} diff --git a/themes/hermit b/themes/hermit new file mode 160000 index 0000000..2dc35c5 --- /dev/null +++ b/themes/hermit @@ -0,0 +1 @@ +Subproject commit 2dc35c5c6a52168a3a7b35c5ad51209f40a851cf