diff --git a/config/_default/.forestry/front_matter/templates/post-template.yml b/config/_default/.forestry/front_matter/templates/post-template.yml deleted file mode 100644 index 5678756c..00000000 --- a/config/_default/.forestry/front_matter/templates/post-template.yml +++ /dev/null @@ -1,34 +0,0 @@ ---- -label: Post Template -hide_body: false -fields: -- type: text - name: title - label: title -- type: datetime - name: date - label: date -- type: text - name: feature_link - label: feature_link -- type: text - name: feature_text - label: feature_text -- type: list - name: tags - label: tags -- type: text - name: slug - label: slug -- type: list - name: categories - label: categories -- type: text - name: description - label: description -- type: text - name: type - label: type -- type: text - name: meta - label: meta diff --git a/config/_default/.forestry/settings.yml b/config/_default/.forestry/settings.yml deleted file mode 100644 index fb959896..00000000 --- a/config/_default/.forestry/settings.yml +++ /dev/null @@ -1,26 +0,0 @@ ---- -new_page_extension: md -auto_deploy: false -admin_path: '' -webhook_url: -sections: -- type: directory - path: content/post - label: Posts - create: all - match: "**/*" -upload_dir: config/_default/static/uploads -public_path: "/uploads" -front_matter_path: '' -use_front_matter_path: false -file_template: ":filename:" -build: - preview_env: - - HUGO_ENV=staging - - HUGO_VERSION=0.81.0 - preview_output_directory: public - preview_docker_image: forestryio/hugo:latest - mount_path: "/srv" - working_dir: "/srv" - instant_preview_command: hugo server -D -E -F --renderToDisk -d public -version: 0.81.0 diff --git a/config/_default/config.yaml b/config/_default/config.yaml deleted file mode 100644 index 490b7576..00000000 --- a/config/_default/config.yaml +++ /dev/null @@ -1,67 +0,0 @@ -baseURL: "https://fundor333.com" -DefaultContentLanguage: en -languageCode: en -theme: - [ - "github.com/fundor333/macia-indiweb", - "github.com/fundor333/macia-image", - "fugu", - ] -title: Fundor 333 -author: - name: Fundor 333 - email: "blog@fundor333.com" - twitterpage: "https://twitter.com/fundor333" - avatar: "/img/gatto.jpg" - url: "https://fundor333.com/cv/" - -disqusShortname: fundor333 -gtm_id: GTM-NZQKPXS -googleAnalytics: G-H22W7LRVGC - -disableRSS: false -enableRobotsTXT: true -Paginate: 8 -rssLimit: 10 -enableGitInfo: true -related: - includeNewer: true - threshold: 70 - toLower: false - indices: - - name: categories - weight: 40 - - name: title - weight: 30 - - name: description - weight: 30 - - name: tags - weight: 10 - - name: meta - weight: 10 - - name: date - weight: 10 - -outputFormats: - SearchIndex: - baseName: search - mediaType: application/json -outputs: - section: - - HTML - - RSS - home: - - HTML - - RSS - - SearchIndex - page: - - html - -sitemap: - changefreq: monthly - filename: sitemap.xml - priority: 0.5 -taxonomies: - category: categories - tag: tags - micropub: micropub diff --git a/config/_default/markup.yaml b/config/_default/markup.yaml deleted file mode 100644 index 8178b239..00000000 --- a/config/_default/markup.yaml +++ /dev/null @@ -1,9 +0,0 @@ -highlight: - hl_Lines: "" - lineNoStart: 1 - lineNos: false - tabWidth: 4 -tableOfContents: - endLevel: 5 - ordered: false - startLevel: 2 diff --git a/config/_default/menu.yaml b/config/_default/menu.yaml deleted file mode 100644 index 8a738a8e..00000000 --- a/config/_default/menu.yaml +++ /dev/null @@ -1,16 +0,0 @@ -main: - - name: home - url: / - weight: -10 - - name: "blog" - weight: 10 - url: "/post/" - - name: cv - url: /cv/ - weight: 20 - - name: "now" - weight: 60 - url: "/now" - - name: "feeds" - weight: 70 - url: "/feeds" diff --git a/config/_default/params.yaml b/config/_default/params.yaml index 99ad568d..1a5bc0af 100644 --- a/config/_default/params.yaml +++ b/config/_default/params.yaml @@ -18,7 +18,3 @@ maciaindieweb: auth: twitter: https://twitter.com/fundor333 mastodon: https://mastodon.social/@fundor333 -ShowFullTextinRSS: false - -maciaimage: - imgclass: "img-fluid d-block mx-auto" diff --git a/go.mod b/go.mod index 47c9a334..84909374 100644 --- a/go.mod +++ b/go.mod @@ -2,10 +2,7 @@ module github.com/fundor333/fundor333.github.io go 1.22.5 -require ( - github.com/fundor333/macia-image v0.0.0-20240725223224-a806faf4656b // indirect - github.com/fundor333/macia-indiweb v0.0.0-20240725233054-91a7bc288290 // indirect -) +require github.com/fundor333/fugu-theme v0.0.0-20240726101941-cffe1a913e8f // indirect // For local theme development, you can use replace directives to change the // location of a loaded module. For instance, to change the location of the @@ -13,3 +10,5 @@ require ( // path to a valid directory relative to this file. Then run `hugo mod get` on // the command line. More info: // https://github.com/rootwork/hugo-module-site#local-theme-development + +replace github.com/fundor333/fugu-theme => /Users/matteoscarpa/Coding/Personale/fugu-theme diff --git a/go.sum b/go.sum index ba91fee4..09f14bf5 100644 --- a/go.sum +++ b/go.sum @@ -1,3 +1,9 @@ +github.com/fundor333/fugu-theme v0.0.0-20240726095702-64ae0b9b55a5 h1:eivfhkfB3qz9rmV5WAPBm6xTysd+l0TbvDXUaJ9A3f8= +github.com/fundor333/fugu-theme v0.0.0-20240726095702-64ae0b9b55a5/go.mod h1:kqffrEut4mYR2wiF+PZNVbVdwsFD5RdWWpGzLY0jlJg= +github.com/fundor333/fugu-theme v0.0.0-20240726100724-17335de8f786 h1:qCCJfW161/e0/dNrAJRy9gN1ki7hOXIyE4a/vwWhHG4= +github.com/fundor333/fugu-theme v0.0.0-20240726100724-17335de8f786/go.mod h1:kqffrEut4mYR2wiF+PZNVbVdwsFD5RdWWpGzLY0jlJg= +github.com/fundor333/fugu-theme v0.0.0-20240726101941-cffe1a913e8f h1:6QDzq1/12D4m5/VwtAs4ebQneEc4x7gNHXiATR5OY0I= +github.com/fundor333/fugu-theme v0.0.0-20240726101941-cffe1a913e8f/go.mod h1:kqffrEut4mYR2wiF+PZNVbVdwsFD5RdWWpGzLY0jlJg= github.com/fundor333/macia-image v0.0.0-20240725223224-a806faf4656b h1:s1gh5Mk0XFEBb3DJKeqj/t1qH1OKV2pDELJgPkJWPTI= github.com/fundor333/macia-image v0.0.0-20240725223224-a806faf4656b/go.mod h1:9zBOlIP9CvKcUcK3q+La1av6XH/fWPSApaYF/lvVAKY= github.com/fundor333/macia-indiweb v0.0.0-20240725231507-fef22775ad30 h1:0bLgfN88ZAzINZcEki4CryTNYiff7n0E95bTUZC8mmc= diff --git a/themes/fugu/LICENSE b/themes/fugu/LICENSE deleted file mode 100644 index a9fb6d69..00000000 --- a/themes/fugu/LICENSE +++ /dev/null @@ -1,20 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2021 Fundor333 - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/themes/fugu/archetypes/default.md b/themes/fugu/archetypes/default.md deleted file mode 100644 index a50e4d6b..00000000 --- a/themes/fugu/archetypes/default.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -title: "{{ replace .Name "-" " " | title }}" -date: {{ .Date }} -draft: true -feature: "{{ .Name }}.jpg" -feature_link: "" -feature_text: "Photo by __ __ on Unsplash" -tags: -slug: "{{ .Name }}" -categories: -description: "" -type: "post" ---- - diff --git a/themes/fugu/archetypes/photos.md b/themes/fugu/archetypes/photos.md deleted file mode 100644 index 51d7492e..00000000 --- a/themes/fugu/archetypes/photos.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -title: "Routine" -date: "2023-09-28T07:57:25+01:00" -tags: -- challenge -- blackandwhite -description: "A black and white photo of a level crossing with barriers down across the road. A train coming from left to right across the image has just entered the crossing. On the far side of the tracks, brick building line the railway. On the near side, a bike rests against the warning lights." -resources: -- title: Routine - src: '_D0A7928-2.jpg' ---- - -## Challenge -Example of the photo diff --git a/themes/fugu/archetypes/post.md b/themes/fugu/archetypes/post.md deleted file mode 100644 index 08efdd55..00000000 --- a/themes/fugu/archetypes/post.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -title: "{{ replace .Name "-" " " | title }}" -date: {{ .Date }} -draft: true -feature_link: "https://www.midjourney.com/home/" -feature_text: "by IA Midjourney" -tags: -slug: "{{ .Name }}" -categories: -description: "" -type: "post" -mp-syndicate-to: -- https://brid.gy/publish/twitter -- https://brid.gy/publish/mastodon -images: -keywords: ---- - diff --git a/themes/fugu/archetypes/quiet.md b/themes/fugu/archetypes/quiet.md deleted file mode 100644 index a5f1ec40..00000000 --- a/themes/fugu/archetypes/quiet.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -title: "{{ replace .Name "-" " " | title }}" -date: {{ .Date }} -images: -- img/cover.jpeg -outputs: -- html ---- diff --git a/themes/fugu/assets/css/_fonts.scss b/themes/fugu/assets/css/_fonts.scss deleted file mode 100644 index a4a715de..00000000 --- a/themes/fugu/assets/css/_fonts.scss +++ /dev/null @@ -1,115 +0,0 @@ -/* lexend-regular - latin */ -@font-face { - font-family: 'Lexend'; - font-style: normal; - font-weight: 400; - src: url('/fonts/lexend-v16-latin-regular.eot'); - /* IE9 Compat Modes */ - src: local(''), - url('/fonts/lexend-v16-latin-regular.eot?#iefix') format('embedded-opentype'), - /* IE6-IE8 */ - url('/fonts/lexend-v16-latin-regular.woff2') format('woff2'), - /* Super Modern Browsers */ - url('/fonts/lexend-v16-latin-regular.woff') format('woff'), - /* Modern Browsers */ - url('/fonts/lexend-v16-latin-regular.ttf') format('truetype'), - /* Safari, Android, iOS */ - url('/fonts/lexend-v16-latin-regular.svg#Lexend') format('svg'); - /* Legacy iOS */ - font-display: swap; -} - -/* syne-mono-regular - latin */ -@font-face { - font-family: 'Syne Mono'; - font-style: normal; - font-weight: 400; - src: url('/fonts/syne-mono-v15-latin-regular.eot'); - /* IE9 Compat Modes */ - src: local(''), - url('/fonts/syne-mono-v15-latin-regular.eot?#iefix') format('embedded-opentype'), - /* IE6-IE8 */ - url('/fonts/syne-mono-v15-latin-regular.woff2') format('woff2'), - /* Super Modern Browsers */ - url('/fonts/syne-mono-v15-latin-regular.woff') format('woff'), - /* Modern Browsers */ - url('/fonts/syne-mono-v15-latin-regular.ttf') format('truetype'), - /* Safari, Android, iOS */ - url('/fonts/syne-mono-v15-latin-regular.svg#SyneMono') format('svg'); - /* Legacy iOS */ - font-display: swap; -} - -/* vujahday-script-regular - latin */ -@font-face { - font-family: 'Vujahday Script'; - font-style: normal; - font-weight: 400; - src: url('/fonts/vujahday-script-v3-latin-regular.eot'); - /* IE9 Compat Modes */ - src: local(''), - url('/fonts/vujahday-script-v3-latin-regular.eot?#iefix') format('embedded-opentype'), - /* IE6-IE8 */ - url('/fonts/vujahday-script-v3-latin-regular.woff2') format('woff2'), - /* Super Modern Browsers */ - url('/fonts/vujahday-script-v3-latin-regular.woff') format('woff'), - /* Modern Browsers */ - url('/fonts/vujahday-script-v3-latin-regular.ttf') format('truetype'), - /* Safari, Android, iOS */ - url('/fonts/vujahday-script-v3-latin-regular.svg#VujahdayScript') format('svg'); - /* Legacy iOS */ - font-display: swap; -} - -@font-face { - font-family: 'DovesType-Regular'; - src: url('/fonts/DovesType-Regular.eot'); - src: url('/fonts/DovesType-Regular.eot') format('embedded-opentype'), - url('/fonts/DovesType-Regular.woff2') format('woff2'), - url('/fonts/DovesType-Regular.woff') format('woff'); - font-weight: normal; - font-style: normal; - font-stretch: 150% 300% -} - -@font-face { - font-family: 'Black-Baron-Gothic'; - src: url('/fonts/Black-Baron Gothic.otf'); - font-weight: normal; - font-style: normal; - font-stretch: 150% 300%; - font-display: swap; -} - -@font-face { - font-family: 'Catalogue'; - src: url('/fonts/Catalogue 2.0.ttf'); - font-weight: normal; - font-style: normal; - font-stretch: 150% 300%; - font-display: swap; -} - -p { - font-size: 1rem; -} - -h1 { - font-size: 2.5rem; - /* 3 times the body text */ -} - -h2 { - font-size: 2rem; - /* 2 times the body text */ -} - -h3 { - font-size: 1.5rem; - /* 1 ½ times the body text */ -} - -figcaption { - font-size: 0.75rem; - /* ¾ of the body text */ -} diff --git a/themes/fugu/assets/css/_switch.scss b/themes/fugu/assets/css/_switch.scss deleted file mode 100644 index f5b386ff..00000000 --- a/themes/fugu/assets/css/_switch.scss +++ /dev/null @@ -1,552 +0,0 @@ -:root { - --joycon-left: #00BAE1; - --joycon-right: #F22E38; - --btn: #262525; - } - - .box { - position: relative; - margin: 15% auto; - width: 902px; - height: 384px; - } - - .switch-container { - position: absolute; - width: 100%; - height: 100%; - } - - .joy-con-left { - position: absolute; - width: 15%; - height: 100%; - background: var(--joycon-left); - border-top-left-radius: 90px; - border-bottom-left-radius: 90px; - box-shadow: inset 5px 5px 10px var(--joycon-left), inset 7px 15px 5px -5px rgba(255, 255, 255, 0.6), inset 10px -35px 8px -25px rgba(0, 0, 0, 0.4), inset 12px 0px 10px -5px rgba(0, 0, 0, 0.4); - } - - .bumper-left { - position: absolute; - width: 100%; - height: 50%; - top: -3px; - left: -3px; - background: rgba(0, 0, 0, 0.7); - border-top-left-radius: 90px; - z-index: -1; - -webkit-clip-path: polygon(0 0, 80% 0, 80% 40%, 0 30%); - clip-path: polygon(0 0, 80% 0, 80% 40%, 0 30%); - } - - .joy-con-right { - position: absolute; - right: 0; - width: 15%; - height: 100%; - background: var(--joycon-right); - border-top-right-radius: 90px; - border-bottom-right-radius: 90px; - box-shadow: inset -5px 5px 10px var(--joycon-right), inset -7px 15px 5px -5px rgba(255, 255, 255, 0.4), inset -10px -35px 8px -25px rgba(0, 0, 0, 0.3), inset -14px 0px 10px -5px rgba(0, 0, 0, 0.3); - } - - .bumper-right { - position: absolute; - width: 100%; - height: 50%; - top: -3px; - right: -3px; - background: rgba(0, 0, 0, 0.7); - border-top-right-radius: 90px; - z-index: -1; - -webkit-clip-path: polygon(100% 0, 100% 30%, 20% 40%, 20% 0); - clip-path: polygon(100% 0, 100% 30%, 20% 40%, 20% 0); - } - - .screen-outer { - position: absolute; - width: 70%; - height: 100%; - left: 15%; - border-left: 1px solid black; - border-right: 1px solid black; - background: linear-gradient(to bottom, #2E3235, #414344); - box-shadow: inset 0 15px 20px -10px rgba(255, 255, 255, 0.6), inset 0 -21px 20px -10px rgba(0, 0, 0, 0.8); - } - - .screen-inner { - position: absolute; - width: 93%; - height: 94%; - background: black; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); - border-radius: 15px; - box-shadow: inset 0 2px 0 -1px rgba(255, 255, 255, 0.6), inset 0 -1px 0 -1px white; - } - - .lcd { - position: absolute; - width: 75%; - height: 75%; - background: #E60012; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); - } - - .reflector { - position: absolute; - width: 93%; - height: 94%; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); - border-radius: 15px; - z-index: 5; - overflow: hidden; - &::after { - position: absolute; - display: block; - content: ''; - width: 400px; - height: 800px; - background-image: linear-gradient(190deg, rgba(255, 255, 255, 0.4), transparent 60%); - transform: translate(70%, -5%) rotate(30deg); - } - } - - .minus-btn { - position: absolute; - top: 10%; - right: 8%; - width: 17%; - height: 1.8%; - background: #3a3a3a; - border-radius: 2px; - box-shadow: inset 1px 1px 1px rgba(255, 255, 255, 0.4), 0 0 0 1px #2b2b2b, 1px 2px 10px rgba(0, 0, 0, 0.5); - } - - .analog-left { - position: absolute; - top: 19%; - left: 29%; - width: 45%; - height: 16%; - background: linear-gradient(to bottom, #5e6367 0%, #141516 100%); - border-radius: 50%; - box-shadow: 0 -0.5px 1px 2px rgba(20, 21, 22, 0.9), 0 -2px 2px 2px var(--joycon-left), 0 1px 1px 1px #141516, 0 8px 35px 1px rgba(0, 0, 0, 0.5); - &::before { - content: ''; - position: absolute; - background: linear-gradient(to top, #525659 40%, #424040 100%); - width: 85%; - height: 85%; - border-radius: 50%; - top: 50%; - left: 50%; - transform: translate(-50%, -51%); - } - &::after { - content: ''; - position: absolute; - background: radial-gradient(circle at top, #788084 0%, #212427 100%); - width: 76%; - height: 76%; - border-radius: 50%; - top: 50%; - left: 50%; - transform: translate(-50%, -51%); - } - } - - .dpad-container-left { - position: absolute; - top: 42%; - left: 17%; - width: 70%; - height: 25%; - } - - .dpad-up { - position: absolute; - width: 30%; - height: 30%; - background: var(--btn); - border-radius: 50%; - left: 50%; - transform: translateX(-50%); - &::after { - font-family: "FontAwesome"; - content: '\f0d8'; - font-size: 22px; - color: var(--btn); - position: absolute; - width: 87%; - height: 84%; - background: linear-gradient(to top, #424040, #5b5959); - border-radius: 50%; - top: 6.5%; - left: 6%; - text-align: center; - box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.5), 0 3px 15px rgba(0, 0, 0, 0.8); - } - } - - .dpad-right { - position: absolute; - width: 30%; - height: 30%; - background: var(--btn); - border-radius: 50%; - top: 50%; - right: 0; - transform: translateY(-50%); - &::after { - font-family: "FontAwesome"; - content: '\00a0\f0da'; - font-size: 22px; - color: var(--btn); - position: absolute; - width: 87%; - height: 84%; - background: linear-gradient(to top, #424040, #5b5959); - border-radius: 50%; - top: 6.5%; - left: 6%; - text-align: center; - line-height: 1.1; - box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.5), 0 3px 15px rgba(0, 0, 0, 0.8); - } - } - - .dpad-down { - position: absolute; - width: 30%; - height: 30%; - background: var(--btn); - border-radius: 50%; - left: 50%; - bottom: 0; - transform: translateX(-50%); - &::after { - font-family: "FontAwesome"; - content: '\f0d7'; - font-size: 22px; - color: var(--btn); - position: absolute; - width: 87%; - height: 84%; - background: linear-gradient(to top, #424040, #5b5959); - border-radius: 50%; - top: 6.5%; - left: 6%; - text-align: center; - line-height: 1.2; - box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.5), 0 3px 15px rgba(0, 0, 0, 0.8); - } - } - - .dpad-left { - position: absolute; - width: 30%; - height: 30%; - background: var(--btn); - border-radius: 50%; - top: 50%; - transform: translateY(-50%); - &::after { - font-family: "FontAwesome"; - content: '\00a0\f0d9'; - font-size: 22px; - color: var(--btn); - position: absolute; - width: 87%; - height: 84%; - background: linear-gradient(to top, #424040, #5b5959); - border-radius: 50%; - top: 6.5%; - left: 6%; - line-height: 1.1; - box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.5), 0 3px 15px rgba(0, 0, 0, 0.8); - } - } - - .square-btn { - position: absolute; - bottom: 22%; - right: 25%; - width: 17%; - height: 6%; - background: #3a3a3a; - border-radius: 2px; - box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.3), 0 0 0 2px #262525, 1px 2px 8px rgba(0, 0, 0, 0.5); - &::after { - content: ''; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-50%, -45%); - width: 65%; - height: 65%; - background: #282828; - border-radius: 50%; - box-shadow: inset 0 -1px rgba(255, 255, 255, 0.3), inset 0 1px rgba(0, 0, 0, 0.5); - } - } - - .plus-btn { - position: absolute; - top: 7%; - left: 8%; - width: 17%; - height: 6%; - background: #3a3a3a; - -webkit-clip-path: polygon(0 35%, 35% 35%, 35% 0%, 65% 0%, 65% 35%, 100% 35%, 100% 65%, 65% 65%, 65% 100%, 35% 100%, 35% 65%, 0 65%); - clip-path: polygon(0 35%, 35% 35%, 35% 0%, 65% 0%, 65% 35%, 100% 35%, 100% 65%, 65% 65%, 65% 100%, 35% 100%, 35% 65%, 0 65%); - box-shadow: inset 0px 1px 1px rgba(255, 255, 255, 0.4), 0 0 0 1px #2b2b2b, 1px 2px 10px rgba(0, 0, 0, 0.9); - } - - .dpad-container-right { - position: absolute; - top: 15%; - left: 15%; - width: 70%; - height: 25%; - } - - .dpad-x { - position: absolute; - width: 30%; - height: 30%; - background: var(--btn); - border-radius: 50%; - left: 50%; - transform: translateX(-50%); - &::after { - font-family: "Arial"; - content: 'X'; - font-size: 17px; - color: rgba(255, 255, 255, 0.8); - position: absolute; - width: 87%; - height: 84%; - background: linear-gradient(to top, #424040, #5b5959); - border-radius: 50%; - top: 6.5%; - left: 6%; - text-align: center; - line-height: 1.5; - box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.5), 0 3px 15px rgba(0, 0, 0, 0.8); - } - } - - .dpad-a { - position: absolute; - width: 30%; - height: 30%; - background: var(--btn); - border-radius: 50%; - top: 50%; - right: 0; - transform: translateY(-50%); - &::after { - font-family: "Arial"; - content: 'A'; - font-size: 17px; - color: rgba(255, 255, 255, 0.8); - position: absolute; - width: 87%; - height: 84%; - background: linear-gradient(to top, #424040, #5b5959); - border-radius: 50%; - top: 6.5%; - left: 6%; - text-align: center; - line-height: 1.5; - box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.5), 0 3px 15px rgba(0, 0, 0, 0.8); - } - } - - .dpad-b { - position: absolute; - width: 30%; - height: 30%; - background: var(--btn); - border-radius: 50%; - left: 50%; - bottom: 0; - transform: translateX(-50%); - &::after { - font-family: "Arial"; - content: 'B'; - font-size: 17px; - color: rgba(255, 255, 255, 0.8); - position: absolute; - width: 87%; - height: 84%; - background: linear-gradient(to top, #424040, #5b5959); - border-radius: 50%; - top: 6.5%; - left: 6%; - text-align: center; - line-height: 1.5; - box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.5), 0 3px 15px rgba(0, 0, 0, 0.8); - } - } - - .dpad-y { - position: absolute; - width: 30%; - height: 30%; - background: var(--btn); - border-radius: 50%; - top: 50%; - left: 0; - transform: translateY(-50%); - &::after { - font-family: "Arial"; - content: 'Y'; - font-size: 17px; - color: rgba(255, 255, 255, 0.8); - position: absolute; - width: 87%; - height: 84%; - background: linear-gradient(to top, #424040, #5b5959); - border-radius: 50%; - top: 6.5%; - left: 6%; - text-align: center; - line-height: 1.5; - box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.5), 0 3px 15px rgba(0, 0, 0, 0.8); - } - } - - .analog-right { - position: absolute; - top: 48%; - left: 26%; - width: 45%; - height: 16%; - background: linear-gradient(to bottom, #5e6367 0%, #141516 100%); - border-radius: 50%; - box-shadow: 0 -0.5px 1px 2px rgba(20, 21, 22, 0.9), 0 -2px 2px 2px var(--joycon-right), 0 1px 1px 1px #141516, 0 8px 35px 1px rgba(0, 0, 0, 0.5); - &::before { - content: ''; - position: absolute; - background: linear-gradient(to top, #525659 40%, #424040 100%); - width: 85%; - height: 85%; - border-radius: 50%; - top: 50%; - left: 50%; - transform: translate(-50%, -51%); - } - &::after { - content: ''; - position: absolute; - background: radial-gradient(circle at top, #788084 0%, #212427 100%); - width: 76%; - height: 76%; - border-radius: 50%; - top: 50%; - left: 50%; - transform: translate(-50%, -51%); - } - } - - .home-btn { - position: absolute; - bottom: 22%; - left: 20%; - width: 21%; - height: 7.5%; - background: gray; - border-radius: 50%; - box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.3), 0 0 0 2px #262525, 1px 2px 8px rgba(0, 0, 0, 0.5); - &::before { - font-family: "FontAwesome"; - content: '\f015'; - display: inline-block; - font-size: 17px; - color: rgba(10, 10, 10, 0.7); - position: absolute; - width: 75%; - height: 73%; - background: #373C3F; - border-radius: 50%; - top: 50%; - left: 50%; - line-height: 1.2; - text-align: center; - transform: translate(-50%, -50%); - } - } - - .logo-left { - position: absolute; - top: 28%; - left: 36%; - box-sizing: border-box; - width: 12%; - height: 40%; - border: 9px solid white; - border-top-left-radius: 30px; - border-bottom-left-radius: 30px; - animation: bounce .4s .6s; - } - - .logo-right { - position: absolute; - top: 28%; - left: 51%; - width: 11%; - height: 40%; - background: white; - border-top-right-radius: 30px; - border-bottom-right-radius: 30px; - animation: slide 0.9s cubic-bezier(1, -0.1, 0.45, 1.05); - } - - .dot-left { - position: absolute; - left: 23%; - top: 15%; - width: 59%; - height: 24%; - background: white; - border-radius: 50%; - } - - .dot-right { - position: absolute; - left: 24%; - top: 44%; - width: 48%; - height: 22%; - background: #E60012; - border-radius: 50%; - } - - @keyframes slide { - from { - top: 8%; - } - - 50% { - top: 6%; - } - - 70% { - top: 32%; - } - } - - - @keyframes bounce { - 35% { - top: 32%; - } - } diff --git a/themes/fugu/assets/css/_syntax.scss b/themes/fugu/assets/css/_syntax.scss deleted file mode 100644 index 3600bbc9..00000000 --- a/themes/fugu/assets/css/_syntax.scss +++ /dev/null @@ -1,86 +0,0 @@ -/* Background */ .bg { color:#f8f8f2;background-color:#282a36; } -/* PreWrapper */ .chroma { color:#f8f8f2;background-color:#282a36; } -/* Other */ .chroma .x { } -/* Error */ .chroma .err { } -/* CodeLine */ .chroma .cl { } -/* LineLink */ .chroma .lnlinks { outline:none;text-decoration:none;color:inherit } -/* LineTableTD */ .chroma .lntd { vertical-align:top;padding:0;margin:0;border:0; } -/* LineTable */ .chroma .lntable { border-spacing:0;padding:0;margin:0;border:0; } -/* LineHighlight */ .chroma .hl { background-color:#3d3f4a } -/* LineNumbersTable */ .chroma .lnt { white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f } -/* LineNumbers */ .chroma .ln { white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f } -/* Line */ .chroma .line { display:flex; } -/* Keyword */ .chroma .k { color:#ff79c6 } -/* KeywordConstant */ .chroma .kc { color:#ff79c6 } -/* KeywordDeclaration */ .chroma .kd { color:#8be9fd;font-style:italic } -/* KeywordNamespace */ .chroma .kn { color:#ff79c6 } -/* KeywordPseudo */ .chroma .kp { color:#ff79c6 } -/* KeywordReserved */ .chroma .kr { color:#ff79c6 } -/* KeywordType */ .chroma .kt { color:#8be9fd } -/* Name */ .chroma .n { } -/* NameAttribute */ .chroma .na { color:#50fa7b } -/* NameBuiltin */ .chroma .nb { color:#8be9fd;font-style:italic } -/* NameBuiltinPseudo */ .chroma .bp { } -/* NameClass */ .chroma .nc { color:#50fa7b } -/* NameConstant */ .chroma .no { } -/* NameDecorator */ .chroma .nd { } -/* NameEntity */ .chroma .ni { } -/* NameException */ .chroma .ne { } -/* NameFunction */ .chroma .nf { color:#50fa7b } -/* NameFunctionMagic */ .chroma .fm { } -/* NameLabel */ .chroma .nl { color:#8be9fd;font-style:italic } -/* NameNamespace */ .chroma .nn { } -/* NameOther */ .chroma .nx { } -/* NameProperty */ .chroma .py { } -/* NameTag */ .chroma .nt { color:#ff79c6 } -/* NameVariable */ .chroma .nv { color:#8be9fd;font-style:italic } -/* NameVariableClass */ .chroma .vc { color:#8be9fd;font-style:italic } -/* NameVariableGlobal */ .chroma .vg { color:#8be9fd;font-style:italic } -/* NameVariableInstance */ .chroma .vi { color:#8be9fd;font-style:italic } -/* NameVariableMagic */ .chroma .vm { } -/* Literal */ .chroma .l { } -/* LiteralDate */ .chroma .ld { } -/* LiteralString */ .chroma .s { color:#f1fa8c } -/* LiteralStringAffix */ .chroma .sa { color:#f1fa8c } -/* LiteralStringBacktick */ .chroma .sb { color:#f1fa8c } -/* LiteralStringChar */ .chroma .sc { color:#f1fa8c } -/* LiteralStringDelimiter */ .chroma .dl { color:#f1fa8c } -/* LiteralStringDoc */ .chroma .sd { color:#f1fa8c } -/* LiteralStringDouble */ .chroma .s2 { color:#f1fa8c } -/* LiteralStringEscape */ .chroma .se { color:#f1fa8c } -/* LiteralStringHeredoc */ .chroma .sh { color:#f1fa8c } -/* LiteralStringInterpol */ .chroma .si { color:#f1fa8c } -/* LiteralStringOther */ .chroma .sx { color:#f1fa8c } -/* LiteralStringRegex */ .chroma .sr { color:#f1fa8c } -/* LiteralStringSingle */ .chroma .s1 { color:#f1fa8c } -/* LiteralStringSymbol */ .chroma .ss { color:#f1fa8c } -/* LiteralNumber */ .chroma .m { color:#bd93f9 } -/* LiteralNumberBin */ .chroma .mb { color:#bd93f9 } -/* LiteralNumberFloat */ .chroma .mf { color:#bd93f9 } -/* LiteralNumberHex */ .chroma .mh { color:#bd93f9 } -/* LiteralNumberInteger */ .chroma .mi { color:#bd93f9 } -/* LiteralNumberIntegerLong */ .chroma .il { color:#bd93f9 } -/* LiteralNumberOct */ .chroma .mo { color:#bd93f9 } -/* Operator */ .chroma .o { color:#ff79c6 } -/* OperatorWord */ .chroma .ow { color:#ff79c6 } -/* Punctuation */ .chroma .p { } -/* Comment */ .chroma .c { color:#6272a4 } -/* CommentHashbang */ .chroma .ch { color:#6272a4 } -/* CommentMultiline */ .chroma .cm { color:#6272a4 } -/* CommentSingle */ .chroma .c1 { color:#6272a4 } -/* CommentSpecial */ .chroma .cs { color:#6272a4 } -/* CommentPreproc */ .chroma .cp { color:#ff79c6 } -/* CommentPreprocFile */ .chroma .cpf { color:#ff79c6 } -/* Generic */ .chroma .g { } -/* GenericDeleted */ .chroma .gd { color:#f55 } -/* GenericEmph */ .chroma .ge { text-decoration:underline } -/* GenericError */ .chroma .gr { } -/* GenericHeading */ .chroma .gh { font-weight:bold } -/* GenericInserted */ .chroma .gi { color:#50fa7b;font-weight:bold } -/* GenericOutput */ .chroma .go { color:#44475a } -/* GenericPrompt */ .chroma .gp { } -/* GenericStrong */ .chroma .gs { } -/* GenericSubheading */ .chroma .gu { font-weight:bold } -/* GenericTraceback */ .chroma .gt { } -/* GenericUnderline */ .chroma .gl { text-decoration:underline } -/* TextWhitespace */ .chroma .w { } diff --git a/themes/fugu/assets/css/_tags.scss b/themes/fugu/assets/css/_tags.scss deleted file mode 100644 index b9d03a21..00000000 --- a/themes/fugu/assets/css/_tags.scss +++ /dev/null @@ -1 +0,0 @@ -$tags-list: ('gitops', #a6ff00, #1f1f1f) ("django", #B28Dff, #1f1f1f) ("rant", #97a2ff, #1f1f1f) ('api', #ffb5e8, #1f1f1f) ('coding', #bffcc6, #1f1f1f) ('dotfiles', #85e3ff, #1f1f1f) ('python', #aff8db, #1f1f1f) ('socket', #E7FFAC, #1f1f1f) ('data', #fff5ba, #1f1f1f) ('rest', #afcbff, #1f1f1f) ('bot', #dbffd6, #1f1f1f) ('devops', #ace7ff, #1f1f1f) ('convention', #d5aaff, #1f1f1f) ('pycon', #fbe4ff, #1f1f1f) ('hacking', #ffb784, #1f1f1f) ('graphql', #a79aff, #1f1f1f) ('docker', #c6ff8d, #1f1f1f) ('hugo', #8dffe1, #1f1f1f) ('blog', #ff8df2, #1f1f1f) ('git', #d9ff8d, #1f1f1f) ("reportlab", #f3ffe3, #1f1f1f) ("pdf", #ff9aa2, #1f1f1f) ("wordpress", #78A2CC, #1f1f1f) ("microservice", #ff6600, #1f1f1f) ("flask", #83f52c, #1f1f1f) diff --git a/themes/fugu/assets/css/_webmention.scss b/themes/fugu/assets/css/_webmention.scss deleted file mode 100644 index e12d5295..00000000 --- a/themes/fugu/assets/css/_webmention.scss +++ /dev/null @@ -1,69 +0,0 @@ -#webmentions { - margin: 0; - position: relative; - z-index: 100; - line-height: 1.2em; - - .comments { - max-height: 20em; - overflow-x: hidden; - overflow-y: scroll; - - li { - white-space: nowrap; - text-overflow: ellipsis; - overflow: hidden; - - .text { - color: var(--color-font); - font-style: italic; - text-decoration: none; - } - - .name { - color: var(--color-font); - } - } - } - - h2 { - margin: 0; - padding: 2px; - background: var(--color-background); - } - - .reacts { - img { - margin: 3px -1ex 1px 0; - } - } - - ul { - list-style-type: none; - margin: 0; - padding: 4px; - } - - li { - text-indent: -1em; - padding-left: 1em; - } - - a.reaction { - position: relative; - text-decoration: none; - margin-right: 0; - letter-spacing: -1ex; - margin-right: 1ex; - - img { - max-height: 3em; - margin-right: -1ex; - border-radius: 25%; - } - - sub { - font-size: 50%; - } - } -} diff --git a/themes/fugu/assets/css/style.scss b/themes/fugu/assets/css/style.scss deleted file mode 100644 index 0237ab23..00000000 --- a/themes/fugu/assets/css/style.scss +++ /dev/null @@ -1,304 +0,0 @@ -@import "_syntax"; -@import "_webmention"; -@import "_fonts"; - - -$f333_red_light: #990000; -$f333_red_dark: #ff4137; -$f333_dark: hsl(0, 0%, 12%); -$f333_light: #c2c2c2; -$f333_dark_transparent: hsla(0, 0%, 12%, 0.8); -$f333_light_transparent: hsla(0, 0%, 76%, 0.8); - - -.theme-light { - --color-font: #{$f333_dark}; - --color-background: #{$f333_light}; - --color-link: #{$f333_red_light}; - --color-link-secondary: #{$f333_red_dark}; - --color-background-transparent: #{$f333_light_transparent}; - --color-border: #{$f333_dark}; -} - -.theme-dark { - --color-font: #{$f333_light}; - --color-background: #{$f333_dark}; - --color-link: #{$f333_red_dark}; - --color-link-secondary: #{$f333_red_light}; - --color-background-transparent: #{$f333_dark_transparent}; - --color-border: #{$f333_light}; -} - -a { - color: var(--color-font); - text-decoration: none; - - &:hover { - color: var(--color-link); - } - - &.quiet-link { - color: var(--color-font); - - &:hover { - color: var(--color-font); - } - } - - &.footnote-ref { - color: var(--color-link); - - &:hover { - color: var(--color-text); - } - } -} - - -body { - font-family: 'Lexend', sans-serif !important; - background-color: var(--color-background); - color: var(--color-font); - text-rendering: optimizeLegibility; - font-feature-settings: "kern" 1; - font-feature-settings: "lnum" 1; - font-kerning: normal; -} - -blockquote { - font-family: 'Lexend', sans-serif !important; - border-left: 2px solid; - border-color: var(--color-link); - margin: 1.5em 25px; - padding: 1px 10px; -} - - -@for $i from 1 through 6 { - h#{$i} { - color: var(--color-link); - font-family: "DovesType-Regular", serif !important; - - svg { - color: var(--color-font); - - } - } -} - -hr { - border-top: 2px solid; - border-color: var(--color-link); - font-size: 1rem; - opacity: 1; -} - - -img { - &.img-fluid { - max-width: 75%; - } -} - -p { - &:empty { - display: none; - } -} - -table { - color: var(--color-font) !important; - background-color: var(--color-background) !important; -} - -sub, -sup { - position: relative; - font-size: 1em; -} - -#map { - position: relative; - border: 1px solid black; - border-radius: 8px; - height: 400px; - /* or as desired */ - width: 100%; - /* This means "100% of the width of its container", the .col-md-8 */ -} - -.a-post { - color: var(--color-link); - text-decoration: underline; - - &:hover { - color: var(--color-font); - } - -} - -.bg { - background: var(--color-background-transparent); -} - -.btn { - background-color: var(--color-background); - font-family: "DovesType-Regular", serif !important; - - color: var(--color-font); - font-size: 1.5rem; - - &:hover { - background-color: var(--color-font); - color: var(--color-background); - } - - &.active { - background-color: var(--color-font); - color: var(--color-background); - } -} - -.card { - background-color: var(--color-background); - color: var(--color-font); - - .card-link { - background-color: var(--color-background); - color: var(--color-font); - border: 2px solid; - border-color: var(--color-font); - margin: 0; - - &:hover { - border: 2px solid; - border-color: var(--color-link); - color: var(--color-link); - } - } -} - -.centered-text-img { - position: absolute; - top: 150%; - left: 25%; - transform: translate(-150%, -25%); -} - -.img-text { - position: relative; - text-align: center; -} - -.container { - max-width: 1024px; -} - - -.dark, -.light { - background-color: var(--color-font); - color: var(--color-background); - - &:hover { - background-color: var(--color-background); - color: var(--color-font); - } -} - -.text-f333 { - color: var(--color-text); - text-decoration: none; -} - -.theme-fundor333 { - --fa-secondary-opacity: 1.0; - --fa-secondary-color: var(--color-link); -} - -.highlight { - border-left: 2px solid; - border-color: var(--color-link); - margin: 1.5em 25px; - padding: 1px 10px; - font-size: 1rem; -} - -.img-post { - margin-left: auto !important; - margin-right: auto !important; - display: block !important; - max-width: 100%; - height: auto; -} - -.mastodon { - text-align: center !important; -} - -.nav-link { - color: var(--color-font); - text-decoration: none; - - &:hover { - color: var(--color-link); - } -} - -.no-border { - border: 0 hidden; -} - -.source { - color: var(--color-link); - - &:hover { - color: var(--color-text); - } -} - -.sticky-top { - margin-right: 1rem; -} - -.twitter-tweet { - margin: auto; -} - -.quiet { - color: var(--color-text); - text-decoration: none; - - &:hover { - color: var(--color-link); - } -} - -#logo { - border-radius: 8px; -} - -#TableOfContents { - - a { - color: var(--color-link); - - &:hover { - color: var(--color-text); - } - } - -} - - -.e-content { - &::first-letter { - //font-size: 5.15em; - //font-family: 'Black-Baron-Gothic', serif; - //padding-right: 3px; - //float: left; - //color: var(--color-link); - //text-indent: 0; - //line-height: .8em; - } -} diff --git a/themes/fugu/assets/img/logo.jpg b/themes/fugu/assets/img/logo.jpg deleted file mode 100644 index 4ff9cb91..00000000 Binary files a/themes/fugu/assets/img/logo.jpg and /dev/null differ diff --git a/themes/fugu/layouts/.well-know/home.links.json b/themes/fugu/layouts/.well-know/home.links.json deleted file mode 100644 index b41755a9..00000000 --- a/themes/fugu/layouts/.well-know/home.links.json +++ /dev/null @@ -1,9 +0,0 @@ -[{{ range $index, $page := .Site.Pages }} -{{- if ne $page.Type "json" -}} -{{- if and $index (gt $index 0) -}},{{- end }} -{ - "uri": "{{ $page.Permalink }}", - "links": {{ $page.Scratch.Get "links" | jsonify }} -} -{{- end -}} -{{- end -}}] diff --git a/themes/fugu/layouts/404.html b/themes/fugu/layouts/404.html deleted file mode 100644 index 7334713e..00000000 --- a/themes/fugu/layouts/404.html +++ /dev/null @@ -1,14 +0,0 @@ -{{ define "main" }} -
-

404 Page not found

-

Sorry this is a Dead Link

-
- Dead Link -
-
-{{ end }} diff --git a/themes/fugu/layouts/_default/_markup/render-codeblock.html b/themes/fugu/layouts/_default/_markup/render-codeblock.html deleted file mode 100644 index f0055713..00000000 --- a/themes/fugu/layouts/_default/_markup/render-codeblock.html +++ /dev/null @@ -1,2 +0,0 @@ -{{ $result := transform.HighlightCodeBlock . }} -{{ $result.Wrapped }} \ No newline at end of file diff --git a/themes/fugu/layouts/_default/_markup/render-heading.html b/themes/fugu/layouts/_default/_markup/render-heading.html deleted file mode 100644 index f4aa2af2..00000000 --- a/themes/fugu/layouts/_default/_markup/render-heading.html +++ /dev/null @@ -1,3 +0,0 @@ - - {{ .Text | safeHTML }} - diff --git a/themes/fugu/layouts/_default/_markup/render-link.html b/themes/fugu/layouts/_default/_markup/render-link.html deleted file mode 100644 index e6c03238..00000000 --- a/themes/fugu/layouts/_default/_markup/render-link.html +++ /dev/null @@ -1 +0,0 @@ -{{ .Text | safeHTML }} diff --git a/themes/fugu/layouts/_default/baseof.html b/themes/fugu/layouts/_default/baseof.html deleted file mode 100644 index 8c379711..00000000 --- a/themes/fugu/layouts/_default/baseof.html +++ /dev/null @@ -1,26 +0,0 @@ - - - -{{- partial "head.html" . -}} -{{- block "more_head" . }}{{- end }} - -{{ partial "analytics.html" . }} - - - -
- - {{- partial "header.html" . -}} - {{- partial "social.html" . -}} - -
- {{- block "main" . }}{{- end }} -
-
- {{- partial "footer.html" . -}} -
-
- {{- partial "script.html" . -}} - - - diff --git a/themes/fugu/layouts/_default/list.html b/themes/fugu/layouts/_default/list.html deleted file mode 100644 index e69de29b..00000000 diff --git a/themes/fugu/layouts/_default/rss.xml b/themes/fugu/layouts/_default/rss.xml deleted file mode 100644 index ffd24cfc..00000000 --- a/themes/fugu/layouts/_default/rss.xml +++ /dev/null @@ -1,41 +0,0 @@ -{{- $pctx := . -}} -{{- if .IsHome -}}{{ $pctx = .Site }}{{- end -}} -{{- $pages := slice -}} -{{- if or $.IsHome $.IsSection -}} -{{- $pages = $pctx.RegularPages -}} -{{- else -}} -{{- $pages = $pctx.Pages -}} -{{- end -}} -{{- $limit := .Site.Config.Services.RSS.Limit -}} -{{- if ge $limit 1 -}} -{{- $pages = $pages | first $limit -}} -{{- end -}} -{{- printf "" | safeHTML }} - - - {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }} - {{ .Permalink }} - Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }} - Hugo -- gohugo.io{{ with .Site.LanguageCode }} - {{.}}{{end}}{{ with .Site.Author.email }} - {{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}}{{ with .Site.Author.email }} - {{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}}{{ with .Site.Copyright }} - {{.}}{{end}}{{ if not .Date.IsZero }} - {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}{{ end }} - {{- with .OutputFormats.Get "RSS" -}} - {{ printf "" .Permalink .MediaType | safeHTML }} - {{- end -}} - {{ range $pages }} - - {{ .Title }} - {{ .Permalink }} - {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} - {{ with .Site.Author.email }}{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}} - {{ .Permalink }} - {{ .Content | html }} - - {{ end }} - - - - diff --git a/themes/fugu/layouts/_default/single.html b/themes/fugu/layouts/_default/single.html deleted file mode 100644 index 446436d1..00000000 --- a/themes/fugu/layouts/_default/single.html +++ /dev/null @@ -1,10 +0,0 @@ -{{ define "main"}} -

{{.Title}}

-
-{{ .Content }} - -
- {{- partial "webmention.html" . -}} -
- -{{ end }} diff --git a/themes/fugu/layouts/_default/taxonomy.html b/themes/fugu/layouts/_default/taxonomy.html deleted file mode 100644 index 68adb8fe..00000000 --- a/themes/fugu/layouts/_default/taxonomy.html +++ /dev/null @@ -1,42 +0,0 @@ -{{ define "main" }} - - - -

- - {{.Title}} - -

- - -
- {{ .Content }} -
- -{{ $paginator := .Paginate .Pages }} -{{ range $paginator.Pages }} - -{{ .Render "summary" }} - -{{ end }} -
-{{ partial "paginator.html" . }} - -{{ end }} diff --git a/themes/fugu/layouts/about/single.html b/themes/fugu/layouts/about/single.html deleted file mode 100644 index fd4bda50..00000000 --- a/themes/fugu/layouts/about/single.html +++ /dev/null @@ -1,27 +0,0 @@ - - -{{- partial "head.html" . -}} -{{- block "more_head" . }}{{- end }} -{{- partial "macia-indiweb/authentication.html" . -}} -{{- partial "dark-light-mode.html" . -}} - - -
-
- {{ .Site.Title }} - -
-
{{.Title}}
-

{{.Content}}

-
-
- {{ range $.Site.Data.about }} - {{ .label | safeHTML }} {{ .name }} - {{ end }} - -
-
- {{- partial "script.html" . -}} - - - diff --git a/themes/fugu/layouts/books/single.html b/themes/fugu/layouts/books/single.html deleted file mode 100644 index 576de0b3..00000000 --- a/themes/fugu/layouts/books/single.html +++ /dev/null @@ -1,24 +0,0 @@ -{{ define "main" }} - -
- -{{ range $.Site.Data.books }} - -
- {{ with .resources.GetRemote (print "https://covers.openlibrary.org/b/isbn/" .ISBN "-M.jpg" ) }} - - {{ end }} - -
-
{{.Title}}
-

{{.Author}}

- {{$id := index . "Book Id" }} - -

-
-
- -{{end}} -
- -{{end}} diff --git a/themes/fugu/layouts/cv/single.html b/themes/fugu/layouts/cv/single.html deleted file mode 100644 index ebe15c3e..00000000 --- a/themes/fugu/layouts/cv/single.html +++ /dev/null @@ -1,75 +0,0 @@ -{{ define "main" }} - - - -

- - {{.Title}} - -

- -
-
-
- {{ $image := .Resources.GetMatch ( print .Params.cover ) }} - {{ $resource := $image}} - - {{ $.Title }} -
-
-

- - -

-
-
- {{.Content}} -
-
-
- -{{ range $.Site.Data.jobs }} -
-
-
-
-
-

{{ .ditta }}

- {{ .inizio }} - {{ .fine }} -
-
-
-
- {{ range .roles }} -
-
-

{{.role}}

-
-
{{.description}}
-
-
- {{ end }} -
-
- -{{ end }} - -{{ end }} diff --git a/themes/fugu/layouts/event/list.html b/themes/fugu/layouts/event/list.html deleted file mode 100644 index 812d4ee9..00000000 --- a/themes/fugu/layouts/event/list.html +++ /dev/null @@ -1,34 +0,0 @@ -{{ define "main" }} - -

- - {{ .Title}} - -

- -
- - - - - - - - - - - - {{ range (sort .Pages ".Params.start").Reverse }} - - - - - - - {{ end }} - -
#DateEventTags
{{ .Params.start | time.Format "2006-01-02" }} {{.Title}}{{ with .Params.tags }} {{ range sort . }} - #{{ .}} - {{ end }} {{ end }}
-
-{{ end }} diff --git a/themes/fugu/layouts/event/single.html b/themes/fugu/layouts/event/single.html deleted file mode 100644 index c8c620ee..00000000 --- a/themes/fugu/layouts/event/single.html +++ /dev/null @@ -1,74 +0,0 @@ -{{ define "more_head"}} - -{{ $image := .Resources.GetMatch "{cover.jpg,cover.png,cover.jpeg}"}} - - - - -{{ end }} - - -{{ define "main"}} -
-
-

- {{ .Title }} -

-
- -
-
- {{ range .Params.categories }} - #{{ .}} - {{ end }} - {{ with .Params.tags }} {{ range sort . }} - #{{ .}} - {{ end }} {{ end }} -
- - -
- Start {{ .Params.start | time.Format "2006-01-02 15:04:05" }} -
- {{ if isset .Params "end" }} -
End {{ .Params.end | time.Format "2006-01-02 15:04:05" }}
- {{end}} -
- - {{ if isset .Params "location" }} -
- {{ partial "partials/micropub/single/location.html" . }} -
- {{end}} - -
- -
- -
- - {{- partial "summary_tags.html" . -}} -
- {{- partial "summary_tags.html" . -}} - {{ .Content | safeHTML }} - - {{- partial "syndication.html" . -}} - -

If you liked this article,

-

please share it on -

-

- or webmention it -

- {{- partial "syndication.html" . -}} -
-
- -
-{{ end }} diff --git a/themes/fugu/layouts/hoarding/single.html b/themes/fugu/layouts/hoarding/single.html deleted file mode 100644 index 4ec60d51..00000000 --- a/themes/fugu/layouts/hoarding/single.html +++ /dev/null @@ -1,41 +0,0 @@ -{{ define "main"}} - -

- - hoarding - -

- - - -
-
- {{ .Content }} -
-
- -{{ range $.Site.Data.feed }} - -{{- partial "data/hoarding_item.html" . -}} - -{{ end }} - - -{{ end }} diff --git a/themes/fugu/layouts/index.html b/themes/fugu/layouts/index.html deleted file mode 100644 index a01a15b9..00000000 --- a/themes/fugu/layouts/index.html +++ /dev/null @@ -1,20 +0,0 @@ -{{ define "main" }} -
-
- -
- {{ .Content }} -
-
-
-{{ range first 4 (where .Site.RegularPages "Section" "post") }} - -{{ .Render "summary" }} - -{{ end }} -
-
-

Talks about us

- {{- partial "webmention.html" . -}} -
-{{ end }} diff --git a/themes/fugu/layouts/index.json b/themes/fugu/layouts/index.json deleted file mode 100644 index a0d73e5f..00000000 --- a/themes/fugu/layouts/index.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "version": "https://jsonfeed.org/version/1", - "title": {{ .Site.Title | jsonify }}, - "home_page_url": {{ .Permalink | jsonify }}, - {{ with .OutputFormats.Get "json" -}} - "feed_url": {{ .Permalink | jsonify }}, - {{- end }} - {{ if .Site.Params.author -}} - "author": { - "name": {{ .Site.Params.author | jsonify }} - }, - {{- end }} - {{ if .Data.Pages }} - "items": [ - {{ range $index, $element := (where .Site.RegularPages "Params.specialpost" "!=" true)}} - {{ if $index }},{{end}} { - "title": {{ $element.Title | jsonify }}, - "id": {{ $element.Permalink | jsonify }}, - "url": {{ $element.Permalink | jsonify }}, - {{- $pagePermalink := .Permalink -}} - {{- with .Params.images -}} - {{- $img := index . 0 -}} - "image": "{{ printf "%s%s" $pagePermalink $img }}", - {{ else -}} - {{- $images := .Resources.ByType "image" -}} - {{- $featured := $images.GetMatch "*feature*" -}} - {{- if not $featured }}{{ $featured = $images.GetMatch "{*cover*,*thumbnail*}" }}{{ end -}} - {{- with $featured -}} - "image": "{{ $featured.Permalink }}", - "banner_image": "{{ $featured.Permalink }}", - {{- else -}} - {{- with .Site.Params.images -}} - "image": "{{ index . 0 | absURL }}", - {{- end -}} - {{- end -}} - {{- end }} - "summary": {{ $element.Summary | jsonify }}, - {{ if eq $element.Type "link"}} - "external_url": {{ $element.Params.link | jsonify }}, - {{ end }} - "content_html": {{ $element.Content | jsonify }}, - "content_text": {{ $element.Plain | jsonify }}, - {{- if .Params.tags -}} - "tags": [{{ range $i, $e := .Params.tags }}{{ if $i }}, {{ end }}"{{ $e }}"{{ end }}], - {{ end }} - "date_published": "{{ .Date }}" - } - {{ end }} - ] - {{ end }} - } diff --git a/themes/fugu/layouts/index.xml b/themes/fugu/layouts/index.xml deleted file mode 100644 index 31720c0b..00000000 --- a/themes/fugu/layouts/index.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }} - {{ .Permalink }} - Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }} - Hugo -- gohugo.io{{ with .Site.LanguageCode }} - {{.}}{{end}}{{ with .Site.Author.email }} - {{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}}{{ with .Site.Author.email }} - {{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}}{{ with .Site.Copyright }} - {{.}}{{end}}{{ if not .Date.IsZero }} - {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}{{ end }} - {{ with .OutputFormats.Get "RSS" }} - {{ printf "" .Permalink .MediaType | safeHTML }} - {{ end }} - {{ range (where .Site.RegularPages "Params.specialpost" "!=" true) }} - -{{ .Title }} -{{ .Permalink }}?utm_medium=rss&utm_source=rss -{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} - {{ with .Site.Author.email }}{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}} - {{ .Permalink }} - {{ .Summary | transform.XMLEscape | safeHTML }} - - - {{ end }} - - diff --git a/themes/fugu/layouts/now/single.html b/themes/fugu/layouts/now/single.html deleted file mode 100644 index 69a3c60f..00000000 --- a/themes/fugu/layouts/now/single.html +++ /dev/null @@ -1,44 +0,0 @@ -{{ define "main"}} - - - -
-

- - {{ .Title }} - -

-
-
- - home - ~ - {{ .Title }} -
- -
- -
-
- {{ .Content | safeHTML }} -
- -
-{{ end }} diff --git a/themes/fugu/layouts/page/single.html b/themes/fugu/layouts/page/single.html deleted file mode 100644 index 73f19c8e..00000000 --- a/themes/fugu/layouts/page/single.html +++ /dev/null @@ -1,44 +0,0 @@ -{{ define "main"}} - - - -
-

- - {{ .Title }} - -

-
-
- - home - ~ - {{ .Title }} -
- -
- -
-
- {{ .Content | safeHTML }} -
- -
-{{ end }} diff --git a/themes/fugu/layouts/partials/analytics.html b/themes/fugu/layouts/partials/analytics.html deleted file mode 100644 index 7f4eac62..00000000 --- a/themes/fugu/layouts/partials/analytics.html +++ /dev/null @@ -1,12 +0,0 @@ - - - - - diff --git a/themes/fugu/layouts/partials/dark-light-mode.html b/themes/fugu/layouts/partials/dark-light-mode.html deleted file mode 100644 index 6cce6558..00000000 --- a/themes/fugu/layouts/partials/dark-light-mode.html +++ /dev/null @@ -1,49 +0,0 @@ - diff --git a/themes/fugu/layouts/partials/data/hoarding_item.html b/themes/fugu/layouts/partials/data/hoarding_item.html deleted file mode 100644 index f0545563..00000000 --- a/themes/fugu/layouts/partials/data/hoarding_item.html +++ /dev/null @@ -1,12 +0,0 @@ -
-

{{.type}}

- - diff --git a/themes/fugu/layouts/partials/footer.html b/themes/fugu/layouts/partials/footer.html deleted file mode 100644 index 6c1b43c7..00000000 --- a/themes/fugu/layouts/partials/footer.html +++ /dev/null @@ -1,13 +0,0 @@ - - diff --git a/themes/fugu/layouts/partials/head.html b/themes/fugu/layouts/partials/head.html deleted file mode 100644 index f00d03ea..00000000 --- a/themes/fugu/layouts/partials/head.html +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - -{{ partial "seo/seo_head.html" . }} - - - -{{ $sass_template := resources.Get "css/style.scss" }} -{{ $style := $sass_template | toCSS }} -{{- $style = $style | postCSS | resources.Minify -}} - - - -{{ if or (eq .Kind "home") (eq .Kind "page")}} {{ if isset .Params "canonical" }} - -{{ else }} - -{{ end }} {{ end }} - - -{{ with .OutputFormats.Get "rss" -}} - {{ printf `` .Rel .MediaType.Type .Permalink site.Title | safeHTML }} -{{ end }} - -{{ if .Site.Params.gtm_id}}{{- partial "gtm.html" . }}{{ end }} - -{{- $pagePermalink := .Permalink -}} -{{- $images := .Resources.ByType "image" -}} -{{- $featured := $images.GetMatch "*feature*" -}} -{{- if not $featured }}{{ $featured = $images.GetMatch "{*thumbnail*,*cover*}" }}{{ end -}} -{{- with $featured -}} - -{{- end -}} - -{{ partial "macia-indiweb/indiweb.html" . }} - - - - diff --git a/themes/fugu/layouts/partials/header.html b/themes/fugu/layouts/partials/header.html deleted file mode 100644 index 5e72740e..00000000 --- a/themes/fugu/layouts/partials/header.html +++ /dev/null @@ -1,84 +0,0 @@ -
-
- - -{{- partial "macia-indiweb/authentication.html" . -}} diff --git a/themes/fugu/layouts/partials/micropub/single/book.html b/themes/fugu/layouts/partials/micropub/single/book.html deleted file mode 100644 index e69de29b..00000000 diff --git a/themes/fugu/layouts/partials/micropub/single/bookmark.html b/themes/fugu/layouts/partials/micropub/single/bookmark.html deleted file mode 100644 index c0497d72..00000000 --- a/themes/fugu/layouts/partials/micropub/single/bookmark.html +++ /dev/null @@ -1,37 +0,0 @@ - -
-
- - -
-
- {{ with .Params.tags }} {{ range sort . }} - - {{ .}} - - {{ end }} {{ end }} - - {{ with .Params.meta }} {{ range sort . }} -

- {{ .}} -

- {{ end }} {{ end }} - -
-
diff --git a/themes/fugu/layouts/partials/micropub/single/drink.html b/themes/fugu/layouts/partials/micropub/single/drink.html deleted file mode 100644 index e69de29b..00000000 diff --git a/themes/fugu/layouts/partials/micropub/single/food.html b/themes/fugu/layouts/partials/micropub/single/food.html deleted file mode 100644 index e69de29b..00000000 diff --git a/themes/fugu/layouts/partials/micropub/single/like-of.html b/themes/fugu/layouts/partials/micropub/single/like-of.html deleted file mode 100644 index 482fc1e2..00000000 --- a/themes/fugu/layouts/partials/micropub/single/like-of.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-

- Like {{ range .Param "mf-like-of"}} {{ . }}{{end}} -

- -
- {{ .Content | safeHTML }} - - {{- partial "syndication.html" . -}} - -
-
- -
-
diff --git a/themes/fugu/layouts/partials/micropub/single/location.html b/themes/fugu/layouts/partials/micropub/single/location.html deleted file mode 100644 index 441d3cfc..00000000 --- a/themes/fugu/layouts/partials/micropub/single/location.html +++ /dev/null @@ -1,41 +0,0 @@ -

- {{ if isset .Params "location_name" }}{{.Params.location_name}}{{end}} - {{ if isset .Params "street_address" }}{{.Params.street_address}}{{end}} - {{ if isset .Params "locality" }}{{.Params.locality}}{{end}} - {{ if isset .Params "region" }}{{.Params.region}}{{end}} - {{ if isset .Params "country_name" }}{{.Params.country_name}}{{end}} - {{ if isset .Params "latitude" }}

- {{.Params.latitude}} - {{.Params.longitude}} -

-
-
- - -

- {{end}} -

diff --git a/themes/fugu/layouts/partials/micropub/single/note.html b/themes/fugu/layouts/partials/micropub/single/note.html deleted file mode 100644 index aba31423..00000000 --- a/themes/fugu/layouts/partials/micropub/single/note.html +++ /dev/null @@ -1,36 +0,0 @@ -
-
-
- -
-
-
- -
-
{{ .Content }} {{ range .Params.categories }}#{{ .}} {{ end }}{{ with .Params.tags }}{{ range sort . }}#{{ .}} {{ end }}{{ end }}
-
- {{- partial "syndication.html" . -}} - -

If you liked this article,

-

please share it on -

-

- or webmention it -

- {{- partial "syndication.html" . -}} -
- -
-
-
- {{- partial "webmention.html" . -}} -
-
- diff --git a/themes/fugu/layouts/partials/micropub/single/reply.html b/themes/fugu/layouts/partials/micropub/single/reply.html deleted file mode 100644 index 7c762f40..00000000 --- a/themes/fugu/layouts/partials/micropub/single/reply.html +++ /dev/null @@ -1,30 +0,0 @@ -
-
-
- -
-
- -
- {{- partial "webmention.html" . -}} -
-
-
-
diff --git a/themes/fugu/layouts/partials/micropub/single/repost.html b/themes/fugu/layouts/partials/micropub/single/repost.html deleted file mode 100644 index 72021f4c..00000000 --- a/themes/fugu/layouts/partials/micropub/single/repost.html +++ /dev/null @@ -1,21 +0,0 @@ - -
-
-
-

- Repost {{ range .Param "mf-repost-of"}} {{ . }}{{ end }} -

- -
- {{ .Content | safeHTML }} - - {{- partial "syndication.html" . -}} - -
-
- -
-
- {{- partial "webmention.html" . -}} -
-
diff --git a/themes/fugu/layouts/partials/micropub/summary/book.html b/themes/fugu/layouts/partials/micropub/summary/book.html deleted file mode 100644 index e69de29b..00000000 diff --git a/themes/fugu/layouts/partials/micropub/summary/bookmark.html b/themes/fugu/layouts/partials/micropub/summary/bookmark.html deleted file mode 100644 index 1b498913..00000000 --- a/themes/fugu/layouts/partials/micropub/summary/bookmark.html +++ /dev/null @@ -1,34 +0,0 @@ - -
-
- - -
-
- {{ with .Params.tags }} {{ range sort . }} - - {{ .}} - - {{ end }} {{ end }} - - {{ with .Params.meta }} {{ range sort . }} -

- {{ .}} -

- {{ end }} {{ end }} - -
-
diff --git a/themes/fugu/layouts/partials/micropub/summary/drink.html b/themes/fugu/layouts/partials/micropub/summary/drink.html deleted file mode 100644 index e69de29b..00000000 diff --git a/themes/fugu/layouts/partials/micropub/summary/food.html b/themes/fugu/layouts/partials/micropub/summary/food.html deleted file mode 100644 index e69de29b..00000000 diff --git a/themes/fugu/layouts/partials/micropub/summary/like-of.html b/themes/fugu/layouts/partials/micropub/summary/like-of.html deleted file mode 100644 index 1205fe32..00000000 --- a/themes/fugu/layouts/partials/micropub/summary/like-of.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-

- Like "{{ range .Param "mf-like-of"}} {{ . }}{{end}}"" -

- -
- {{ .Content | safeHTML }} - - {{- partial "syndication.html" . -}} - -
-
- -
-
diff --git a/themes/fugu/layouts/partials/micropub/summary/location.html b/themes/fugu/layouts/partials/micropub/summary/location.html deleted file mode 100644 index 441d3cfc..00000000 --- a/themes/fugu/layouts/partials/micropub/summary/location.html +++ /dev/null @@ -1,41 +0,0 @@ -

- {{ if isset .Params "location_name" }}{{.Params.location_name}}{{end}} - {{ if isset .Params "street_address" }}{{.Params.street_address}}{{end}} - {{ if isset .Params "locality" }}{{.Params.locality}}{{end}} - {{ if isset .Params "region" }}{{.Params.region}}{{end}} - {{ if isset .Params "country_name" }}{{.Params.country_name}}{{end}} - {{ if isset .Params "latitude" }}

- {{.Params.latitude}} - {{.Params.longitude}} -

-
-
- - -

- {{end}} -

diff --git a/themes/fugu/layouts/partials/micropub/summary/note.html b/themes/fugu/layouts/partials/micropub/summary/note.html deleted file mode 100644 index 2f4a0a2c..00000000 --- a/themes/fugu/layouts/partials/micropub/summary/note.html +++ /dev/null @@ -1,22 +0,0 @@ -
-
-
- -
-
-
- -
-

{{ .Content }} {{ range .Params.categories }}#{{ .}} {{ end }}{{ with .Params.tags }}{{ range sort . }}#{{ .}} {{ end }}{{ end }}

-
-
-
-
- -
-
diff --git a/themes/fugu/layouts/partials/micropub/summary/reply.html b/themes/fugu/layouts/partials/micropub/summary/reply.html deleted file mode 100644 index 37d36523..00000000 --- a/themes/fugu/layouts/partials/micropub/summary/reply.html +++ /dev/null @@ -1,23 +0,0 @@ -
-
-
- - -
-
-
diff --git a/themes/fugu/layouts/partials/micropub/summary/repost.html b/themes/fugu/layouts/partials/micropub/summary/repost.html deleted file mode 100644 index ef90abb6..00000000 --- a/themes/fugu/layouts/partials/micropub/summary/repost.html +++ /dev/null @@ -1,10 +0,0 @@ - -
-
-
-

- Repost {{ range .Param "mf-repost-of"}} {{ . }}{{ end }} -

-
-
-
diff --git a/themes/fugu/layouts/partials/paginator.html b/themes/fugu/layouts/partials/paginator.html deleted file mode 100644 index 8ab238ac..00000000 --- a/themes/fugu/layouts/partials/paginator.html +++ /dev/null @@ -1,119 +0,0 @@ - diff --git a/themes/fugu/layouts/partials/script.html b/themes/fugu/layouts/partials/script.html deleted file mode 100644 index dbfc9ecb..00000000 --- a/themes/fugu/layouts/partials/script.html +++ /dev/null @@ -1,18 +0,0 @@ - - - - diff --git a/themes/fugu/layouts/partials/search-form.html b/themes/fugu/layouts/partials/search-form.html deleted file mode 100644 index d21eeebb..00000000 --- a/themes/fugu/layouts/partials/search-form.html +++ /dev/null @@ -1,12 +0,0 @@ -
- -
-
- diff --git a/themes/fugu/layouts/partials/search-index.html b/themes/fugu/layouts/partials/search-index.html deleted file mode 100644 index 033d8b97..00000000 --- a/themes/fugu/layouts/partials/search-index.html +++ /dev/null @@ -1,22 +0,0 @@ - - - - - diff --git a/themes/fugu/layouts/partials/seo/seo_head.html b/themes/fugu/layouts/partials/seo/seo_head.html deleted file mode 100644 index 33df5845..00000000 --- a/themes/fugu/layouts/partials/seo/seo_head.html +++ /dev/null @@ -1,39 +0,0 @@ - - {{- if .IsHome -}} - Home | {{ .Site.Title }} - {{- else if .Params.hide_site_title -}} - {{ .Page.Title }} - {{- else if .Page.Title -}} - {{ .Page.Title }} | {{ .Site.Title }} - {{- else -}} - {{ .Site.Title }} - {{- end -}} - - - -{{- if .IsHome -}} - -{{- else -}} - -{{- end }} - - - - - -{{- if isset .Params "canonical" -}} - -{{- else -}} - -{{- end }} - - - - - - -{{ template "_internal/opengraph.html" . }} -{{ template "_internal/schema.html" . }} -{{ template "_internal/twitter_cards.html" . }} - -{{ partial "seo/site_schema.html" . }} diff --git a/themes/fugu/layouts/partials/seo/site_schema.html b/themes/fugu/layouts/partials/seo/site_schema.html deleted file mode 100644 index ec6d7764..00000000 --- a/themes/fugu/layouts/partials/seo/site_schema.html +++ /dev/null @@ -1,66 +0,0 @@ -{{ if .IsHome -}} - -{{ else if .IsPage }} -{{ $author := or (.Params.author) (.Site.Author.name) }} -{{ $org_name := .Site.Title }} - -{{ end }} diff --git a/themes/fugu/layouts/partials/social.html b/themes/fugu/layouts/partials/social.html deleted file mode 100644 index 700f9370..00000000 --- a/themes/fugu/layouts/partials/social.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
- {{ $currentPage := . }} - {{ range .Site.Data.social }} - - - - {{ end }} - {{.Site.Params.Title}} - - - - - - - -
-
diff --git a/themes/fugu/layouts/partials/summary_tags.html b/themes/fugu/layouts/partials/summary_tags.html deleted file mode 100644 index 4f9b96b9..00000000 --- a/themes/fugu/layouts/partials/summary_tags.html +++ /dev/null @@ -1 +0,0 @@ -
{{ .Description }} {{ range .Params.categories }}#{{ .}} {{ end }}{{ with .Params.tags }}{{ range sort . }}#{{ .}} {{ end }}{{ end }}{{ with .Params.meta }} {{ range sort . }}#{{ .}} {{ end }}{{ end }}
diff --git a/themes/fugu/layouts/partials/syndication.html b/themes/fugu/layouts/partials/syndication.html deleted file mode 100644 index 82e1be2d..00000000 --- a/themes/fugu/layouts/partials/syndication.html +++ /dev/null @@ -1,6 +0,0 @@ -{{ if .Param "mp-syndicate-to" }} - {{ range .Param "mp-syndicate-to" }} - -{{ end }} - {{ end }} - diff --git a/themes/fugu/layouts/partials/tags.html b/themes/fugu/layouts/partials/tags.html deleted file mode 100644 index bf14af00..00000000 --- a/themes/fugu/layouts/partials/tags.html +++ /dev/null @@ -1,8 +0,0 @@ -
- {{range sort ($.Site.GetPage "taxonomyTerm" "tags").Pages "Title" }} - - {{ .Title}} - - {{ end }} -
-
diff --git a/themes/fugu/layouts/partials/webmention.html b/themes/fugu/layouts/partials/webmention.html deleted file mode 100644 index 7a8472fd..00000000 --- a/themes/fugu/layouts/partials/webmention.html +++ /dev/null @@ -1,64 +0,0 @@ - -
-
-

Mentions

-

Respond to this post on your own site. If you do, - send me a webmention here. Find out - more about webmentions on the IndieWeb.

-
- - -
- -
- {{ $sitename := .Site.Params.HostName}} - {{ $url := (print "https://webmention.io/api/mentions.jf2?target[]=" $sitename .RelPermalink )}} - - {{ range .Aliases }} - {{ $url = print $url "&target[]=" $sitename . }} - {{ end }} - - {{ $dataJ := getJSON $url }} -
- {{ range $dataJ.children }} - {{if eq (index . "wm-property") "in-reply-to"}} - {{ partial "webmention/in-reply-to.html" . }} - {{end}} -{{end}} -
-
- {{ range $dataJ.children }} - {{if eq (index . "wm-property") "like-of"}} - {{ partial "webmention/like-of.html" . }} - {{end}} - {{if eq (index . "wm-property") "repost-of"}} - {{ partial "webmention/repost-of.html" . }} - {{end}} - {{if eq (index . "wm-property") "bookmark-of"}} - {{ partial "webmention/bookmark-of.html" . }} - {{end}} -{{end}} -
-
- {{ range $dataJ.children }} - {{if eq (index . "wm-property") "mention-of"}} - {{ partial "webmention/mention-of.html" . }} - {{end}} - {{end}} -
- {{ range $dataJ.children }} -
-
-

- {{if eq (index . "wm-property") "rsvp"}} - {{ partial "webmention/rsvp.html" . }} - {{end}} -

-
-
- {{end}} - - -
- -
diff --git a/themes/fugu/layouts/partials/webmention/bookmark-of.html b/themes/fugu/layouts/partials/webmention/bookmark-of.html deleted file mode 100644 index 54ad7d6f..00000000 --- a/themes/fugu/layouts/partials/webmention/bookmark-of.html +++ /dev/null @@ -1,8 +0,0 @@ - - diff --git a/themes/fugu/layouts/partials/webmention/in-reply-to.html b/themes/fugu/layouts/partials/webmention/in-reply-to.html deleted file mode 100644 index 42497414..00000000 --- a/themes/fugu/layouts/partials/webmention/in-reply-to.html +++ /dev/null @@ -1,13 +0,0 @@ - diff --git a/themes/fugu/layouts/partials/webmention/like-of.html b/themes/fugu/layouts/partials/webmention/like-of.html deleted file mode 100644 index 14aab67f..00000000 --- a/themes/fugu/layouts/partials/webmention/like-of.html +++ /dev/null @@ -1,6 +0,0 @@ - diff --git a/themes/fugu/layouts/partials/webmention/mention-of.html b/themes/fugu/layouts/partials/webmention/mention-of.html deleted file mode 100644 index 8207de4e..00000000 --- a/themes/fugu/layouts/partials/webmention/mention-of.html +++ /dev/null @@ -1,13 +0,0 @@ - diff --git a/themes/fugu/layouts/partials/webmention/repost-of.html b/themes/fugu/layouts/partials/webmention/repost-of.html deleted file mode 100644 index 4109d755..00000000 --- a/themes/fugu/layouts/partials/webmention/repost-of.html +++ /dev/null @@ -1,8 +0,0 @@ -
- - {{.author.name}} - -
🔁
-
- diff --git a/themes/fugu/layouts/partials/webmention/rsvp.html b/themes/fugu/layouts/partials/webmention/rsvp.html deleted file mode 100644 index 242cc361..00000000 --- a/themes/fugu/layouts/partials/webmention/rsvp.html +++ /dev/null @@ -1,3 +0,0 @@ -{{index . "wm-property" }} -

{{.author}}

-

{{ . }}

diff --git a/themes/fugu/layouts/photos/list.html b/themes/fugu/layouts/photos/list.html deleted file mode 100644 index 3c816045..00000000 --- a/themes/fugu/layouts/photos/list.html +++ /dev/null @@ -1,40 +0,0 @@ - -{{ define "main" }} - -
-

{{ .Title }}

- {{.Content}} -
-
-
- {{ range .Pages.GroupByDate "Jan 2006" }} -

{{ .Key }}

- {{ range .Pages }} -
- {{ $banner := index (.Resources.ByType "image") 0 }} - - {{ $tiny := ($banner.Fill "webp 400x300 q90") }} - {{ $small := ($banner.Fill "webp 600x450 q90") }} - {{ $medium := ($banner.Fill "webp 800x600 q90") }} - {{ $large := ($banner.Fill "webp 1200x700 q90") }} - - {{ .Description }} - -
- {{ end }} - {{ end }} -
-
-
-{{- end }} - -{{ define "header" }} -{{- partial "header" . -}} -{{ end }} diff --git a/themes/fugu/layouts/photos/single.html b/themes/fugu/layouts/photos/single.html deleted file mode 100644 index a34b6fc1..00000000 --- a/themes/fugu/layouts/photos/single.html +++ /dev/null @@ -1,183 +0,0 @@ -{{ define "main" }} - - -
-
-
-

- {{ .Title }} -

-
-
- -
- -
- {{ $dataFormat := .Site.Params.dateFormat | default "2006-01-02" }} - - {{ if (and .Site.Params.showUpdated (ne .Lastmod .Date)) }} - (Updated: ) - {{ end }} - - {{ with (.GetTerms "tags") }} -
- {{ range . }} - - {{ .LinkTitle}} - - {{ end }} -
-
- {{ end }} -
- - {{ with .Resources.ByType "image" }} - {{ range . }} - {{ $image := .Fit "1024x1024" }} -
- -
- {{ $.Description }} -
{{ $.Description }}
-
- -
- -
- - {{ if isset .Params "license" }} - {{ partial "cc-license.html" (dict "license" .Params.license "title" $image.Title "workURL" $.Page.Permalink "author" $.Site.Params.Author "authorURL" $.Site.BaseURL) }} - {{ else }} - {{ with $.Site.Params.photolicense }} - {{ partial "cc-license.html" (dict "license" $.Site.Params.photolicense "title" $image.Title "workURL" $.Page.Permalink "author" $.Site.Params.Author "authorURL" $.Site.BaseURL) }} - {{ end }} - {{ end }} - - {{ with .Exif }} -

Metadata

- - {{ with $image.Title }} - - - - - {{ end }} - {{ with .Date }} - - - - - {{ end }} - {{ if isset .Tags "Model" }} - - - - - {{ end }} - {{ if isset .Tags "LensModel" }} - - - - - {{ end }} - {{ if isset .Tags "ExposureTime" }} - - - - - {{ end }} - {{ if isset .Tags "FNumber" }} - - - - - {{ end }} - {{ if isset .Tags "ISOSpeedRatings" }} - - - - - {{ end }} - {{ if isset .Tags "FocalLength" }} - - - - - {{ end }} - {{ if isset .Tags "ExposureMode" }} - - - - - {{ end }} - {{ if isset .Tags "ExposureProgram" }} - - - - - {{ end }} - {{ with .Tags.ExposureBiasValue }} - - - - - {{ end }} - {{ if isset .Tags "WhiteBalance" }} - - - - - {{ end }} - {{ if isset .Tags "MeteringMode" }} - - - - - {{ end }} -
Title{{ . }}
Date{{ . }}
Camera{{ .Tags.Model }}
Lens{{ .Tags.LensModel }}
Exposure Time{{ .Tags.ExposureTime }}
F Number{{ .Tags.FNumber }}
ISO{{ .Tags.ISOSpeedRatings }}
Focal Length{{ .Tags.FocalLength }}
Exposure Mode - {{ with (eq .Tags.ExposureMode 1) }}Manual{{ end }} - {{ with (eq .Tags.ExposureMode 0) }}Auto{{ end }} -
Exposure Program - {{ with (eq .Tags.WhiteBalance 1) }}Manual{{ end }} - {{ with (eq .Tags.WhiteBalance 0) }}Auto{{ end }} -
Exposure Compensation{{ . }}
White Balance - {{ with (eq .Tags.WhiteBalance 1) }}Manual{{ end }} - {{ with (eq .Tags.WhiteBalance 0) }}Auto{{ end }} -
Metering Mode - {{ with (eq .Tags.MeteringMode 0) }}Unknown{{ end }} - {{ with (eq .Tags.MeteringMode 1) }}Average{{ end }} - {{ with (eq .Tags.MeteringMode 2) }}Center Weighted Average{{ end }} - {{ with (eq .Tags.MeteringMode 3) }}Spot{{ end }} - {{ with (eq .Tags.MeteringMode 4) }}MultiSpot{{ end }} - {{ with (eq .Tags.MeteringMode 5) }}Pattern{{ end }} - {{ with (eq .Tags.MeteringMode 6) }}Partial{{ end }} - {{ with (eq .Tags.MeteringMode 255) }}other{{ end }} -
- {{ end }} - - {{ end }} - {{ end }} - - {{ block "content" . }} {{- .Content }} {{- end }} -
- -
- {{- partial "webmention.html" . -}} -
- - {{ $related := .Site.RegularPages.Related . | first 4 }} - {{ with $related }} -
-

See Also

- {{ range . }} - {{ .Render "summary" }} - {{ end }} - {{ end }} - -
-
-{{- end }} - -{{ define "header" }} -{{- partial "header" . -}} -{{ end }} diff --git a/themes/fugu/layouts/photos/summary.html b/themes/fugu/layouts/photos/summary.html deleted file mode 100644 index 9f409174..00000000 --- a/themes/fugu/layouts/photos/summary.html +++ /dev/null @@ -1,35 +0,0 @@ - - diff --git a/themes/fugu/layouts/post/index.xml b/themes/fugu/layouts/post/index.xml deleted file mode 100644 index 7a398f9f..00000000 --- a/themes/fugu/layouts/post/index.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }} - {{ .Permalink }} - Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }} - Hugo -- gohugo.io{{ with .Site.LanguageCode }} - {{.}}{{end}}{{ with .Site.Author.email }} - {{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}}{{ with .Site.Author.email }} - {{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}}{{ with .Site.Copyright }} - {{.}}{{end}}{{ if not .Date.IsZero }} - {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}{{ end }} - {{ with .OutputFormats.Get "RSS" }} - {{ printf "" .Permalink .MediaType | safeHTML }} - {{ end }} - {{ range (where .Site.RegularPages "Params.specialpost" "!=" true) }} - -{{ .Title }} -{{ .Permalink }} -{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} - {{ with .Site.Author.email }}{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}} - {{ .Permalink }} -{{- .Params.description | html -}} - - {{ end }} - - diff --git a/themes/fugu/layouts/post/list.html b/themes/fugu/layouts/post/list.html deleted file mode 100644 index d2ef7828..00000000 --- a/themes/fugu/layouts/post/list.html +++ /dev/null @@ -1,25 +0,0 @@ -{{ define "main" }} - -

- - {{.Title}} - -

- - -
- {{ .Content }} -
- -{{ $paginator := .Paginate (where .Data.Pages "Section" .Section) }} -{{ range $paginator.Pages }} - -{{ .Render "summary" }} - -
- -{{ end }} -
-{{ partial "paginator.html" . }} - -{{ end }} diff --git a/themes/fugu/layouts/post/single.html b/themes/fugu/layouts/post/single.html deleted file mode 100644 index 9cfe5a18..00000000 --- a/themes/fugu/layouts/post/single.html +++ /dev/null @@ -1,111 +0,0 @@ -{{ define "more_head"}} - -{{ $image := .Resources.GetMatch "{cover.jpg,cover.png,cover.jpeg}"}} - -{{ end }} - -{{ define "main"}} - -{{ $date := .Date.Format "2006-01-02" }} -{{ $lastmod := .Lastmod.Format "2006-01-02" }} - -{{ $date_h := .Date.Format "2006-01-02 15:04:05" }} -{{ $lastmod_h := .Lastmod.Format "2006-01-02 15:04:05" }} -
-
-

{{ .Title }} {{ .Description }} - {{ range .Params.categories }}#{{ .}} {{ end }}{{ with .Params.tags }}{{ range sort . }}#{{ .}} {{ end }}{{ end }}

- -
-
- {{ $image := .Resources.GetMatch "{cover.webp,cover.jpg,cover.png,cover.jpeg}" }} - {{ $resource := imageConfig (add "/content/" $image.RelPermalink) }} - -
- Card image cap -
- -
- {{if .Params.feature_link}} - - {{end}} -
-
-
-

- {{ .Title }} -

-
- -
-
- - {{ $date }} | - {{if ne $lastmod $date}} - - - {{ $lastmod }} | - {{ end }} - - - {{ range .Params.categories }} - #{{ .}}, - {{ end }} - {{ with .Params.tags }} {{ range sort . }} - #{{ .}}, - {{ end }} {{ end }} -
-
{{ if gt .ReadingTime 4 }}{{ if gt - .ReadingTime - 7 }}{{ if gt .ReadingTime 10 }}{{ end }}{{ end }}{{ - end }} - Reading time {{.ReadingTime}} minutes | Word count {{.WordCount}} -
-
- -
- {{ .TableOfContents }} -
- -
- - -
- - {{- partial "summary_tags.html" . -}} -
- {{- partial "summary_tags.html" . -}} - {{ .Content | safeHTML }} - - {{- partial "syndication.html" . -}} - - {{- partial "syndication.html" . -}} -
-
-
- -
- {{- partial "webmention.html" . -}} -
- - {{ $related := .Site.RegularPages.Related . | first 4 }} - {{ with $related }} -
-

See Also

- {{ range . }} - {{ .Render "summary" }} - {{ end }} - {{ end }} - -
-
-{{ end }} diff --git a/themes/fugu/layouts/post/summary.html b/themes/fugu/layouts/post/summary.html deleted file mode 100644 index cef035ad..00000000 --- a/themes/fugu/layouts/post/summary.html +++ /dev/null @@ -1,68 +0,0 @@ -{{ $date := .Date.Format "2006-01-02" }} -{{ $lastmod := .Lastmod.Format "2006-01-02" }} - -{{ $date_h := .Date.Format "2006-01-02 15:04:05" }} -{{ $lastmod_h := .Lastmod.Format "2006-01-02 15:04:05" }} - -
-
- - {{ $image := .Resources.GetMatch "{cover.webp,cover.jpg,cover.png,cover.jpeg}" }} - {{if $image }} - {{ $resource := imageConfig (add "/content/" $image.RelPermalink) }} -
- - {{- $banner := .Resources.GetMatch "{cover.webp,cover.jpg,cover.png,cover.jpeg}" }} - {{ $tiny := ($banner.Fill "webp 400x300 q90") }} - {{ $small := ($banner.Fill "webp 600x450 q90") }} - {{ $medium := ($banner.Fill "webp 800x600 q90") }} - {{ $large := ($banner.Fill "webp 1200x700 q90") }} - - banner-image - -
- {{ end }} -
- - -

{{ .Title }}

-
- -

{{ .Description }}

- -
-
- - {{ $date }} | - {{if ne $lastmod $date}} - - - {{ $lastmod }} | - {{ end }} - - - {{ range .Params.categories }} - #{{ .}}, - {{ end }} - {{ with .Params.tags }} {{ range sort . }} - #{{ .}}, - {{ end }} {{ end }} -
-
{{ if gt .ReadingTime 4 }}{{ if gt - .ReadingTime - 7 }}{{ if gt .ReadingTime 10 }}{{ end }}{{ end }}{{ - end }} - Reading time {{.ReadingTime}} minutes | Word count {{.WordCount}} -
-
-
diff --git a/themes/fugu/layouts/project/single.html b/themes/fugu/layouts/project/single.html deleted file mode 100644 index 55e7bf1c..00000000 --- a/themes/fugu/layouts/project/single.html +++ /dev/null @@ -1,43 +0,0 @@ -{{ define "main"}} - -

project

- - -{{ range $.Site.Data.project }} - -{{ range .types }} -
-
-
-

{{.type}}

-
-
- {{ range .elements }} - -

{{.name}} - {{.description}}

- - {{end}} -
- -
- -{{end}} -{{ end }} -{{ end }} diff --git a/themes/fugu/layouts/robots.txt b/themes/fugu/layouts/robots.txt deleted file mode 100644 index 637c6dfd..00000000 --- a/themes/fugu/layouts/robots.txt +++ /dev/null @@ -1,27 +0,0 @@ -User-agent: CCBot -Disallow: / - -User-agent: ChatGPT-User -Disallow: / - -User-agent: GPTBot -Disallow: / - -User-agent: Google-Extended -Disallow: / - -User-agent: anthropic-ai -Disallow: / - -User-agent: Omgilibot -Disallow: / - -User-agent: Omgili -Disallow: / - -User-agent: FacebookBot -Disallow: / - -{{ with .Sitemap }} -Sitemap: {{ .Filename | default "sitemap.xml" | absURL }} -{{ end }} \ No newline at end of file diff --git a/themes/fugu/layouts/search/list.html b/themes/fugu/layouts/search/list.html deleted file mode 100644 index 036f04e6..00000000 --- a/themes/fugu/layouts/search/list.html +++ /dev/null @@ -1,19 +0,0 @@ -{{ define "main" }} - -

search

- -{{ partial "search-form.html" . }} -
-
- -
    -
  • - Enter a keyword above to search this site. -
  • -
- -
- -{{ partial "search-index.html" . }} - -{{ end }} diff --git a/themes/fugu/layouts/shortcodes/buzzword.html b/themes/fugu/layouts/shortcodes/buzzword.html deleted file mode 100644 index f3539f78..00000000 --- a/themes/fugu/layouts/shortcodes/buzzword.html +++ /dev/null @@ -1 +0,0 @@ -buzzword diff --git a/themes/fugu/layouts/shortcodes/heart.html b/themes/fugu/layouts/shortcodes/heart.html deleted file mode 100644 index 37d3c177..00000000 --- a/themes/fugu/layouts/shortcodes/heart.html +++ /dev/null @@ -1 +0,0 @@ - diff --git a/themes/fugu/layouts/shortcodes/mastodon.html b/themes/fugu/layouts/shortcodes/mastodon.html deleted file mode 100644 index be82fcb1..00000000 --- a/themes/fugu/layouts/shortcodes/mastodon.html +++ /dev/null @@ -1,13 +0,0 @@ -
- {{- with .Get 0 }} - - - {{- else }} - {{- errorf "The %q shortcode requires a positional parameter: the url of the post. See %s" .Name .Position }} - {{- end }} -
diff --git a/themes/fugu/layouts/shortcodes/toc.html b/themes/fugu/layouts/shortcodes/toc.html deleted file mode 100644 index aa246b98..00000000 --- a/themes/fugu/layouts/shortcodes/toc.html +++ /dev/null @@ -1,3 +0,0 @@ -
- {{ .Page.TableOfContents | replaceRE "
    [[:space:]]*
  • [[:space:]]*
      " "
        " | replaceRE "
      [[:space:]]*[[:space:]]*
    " "
" | safeHTML }} -
diff --git a/themes/fugu/layouts/social/list.html b/themes/fugu/layouts/social/list.html deleted file mode 100644 index b8807718..00000000 --- a/themes/fugu/layouts/social/list.html +++ /dev/null @@ -1,35 +0,0 @@ -{{ define "main" }} -

{{.Title}}

-
-
- {{ .Content }} -
-
- -{{ $a :=where .Site.RegularPages ".Params.micropub" "!=" "repost" }} -{{ $b :=where .Site.RegularPages ".Params.micropub" "!=" "like" }} -{{ $a := intersect $a $b }} -{{ $b :=where .Site.RegularPages ".Params.micropub" "!=" "h-event" }} -{{ $pages := intersect $a $b }} - -{{ $paginator := .Paginate (where $pages ".Params.specialpost" "!=" true) }} - -{{ range $paginator.Pages }} -
-
- -
-
- {{ .Render "summary" }} -
-
- - -
- -{{ end }} - -{{ partial "paginator.html" . }} - - -{{ end }} diff --git a/themes/fugu/layouts/social/single.html b/themes/fugu/layouts/social/single.html deleted file mode 100644 index a1338e61..00000000 --- a/themes/fugu/layouts/social/single.html +++ /dev/null @@ -1,45 +0,0 @@ -{{ define "more_head"}} -{{ $image := .Resources.GetMatch "{cover.jpg,cover.png,cover.jpeg}"}} -{{ end }} - -{{ define "main"}} - - - -{{ if (eq (.Param "micropub" ) "book") }} -{{ partial "micropub/single/book.html" . }} -{{end }} - -{{ if (eq (.Param "micropub" ) "bookmark") }} -{{ partial "micropub/single/bookmark.html" . }} -{{end }} - -{{ if (eq (.Param "micropub" ) "drink") }} -{{ partial "micropub/single/drink.html" . }} -{{end }} - -{{ if (eq (.Param "micropub" ) "food") }} -{{ partial "micropub/single/food.html" . }} -{{end }} - -{{ if (eq (.Param "micropub" ) "like") }} -{{ partial "micropub/single/like-of.html" . }} -{{end }} - -{{ if (eq (.Param "micropub" ) "location") }} -{{ partial "micropub/single/location.html" . }} -{{end }} - -{{ if (eq (.Param "micropub" ) "note") }} -{{ partial "micropub/single/note.html" . }} -{{end }} - -{{ if (eq (.Param "micropub" ) "reply") }} -{{ partial "micropub/single/reply.html" . }} -{{end }} - -{{ if (eq (.Param "micropub" ) "repost") }} -{{ partial "micropub/single/repost.html" . }} -{{end }} - -{{end }} diff --git a/themes/fugu/layouts/social/summary.html b/themes/fugu/layouts/social/summary.html deleted file mode 100644 index 5024875d..00000000 --- a/themes/fugu/layouts/social/summary.html +++ /dev/null @@ -1,35 +0,0 @@ -{{ if (eq (.Param "micropub" ) "book") }} -{{ partial "micropub/summary/book.html" . }} -{{end }} - -{{ if (eq (.Param "micropub" ) "bookmark") }} -{{ partial "micropub/summary/bookmark.html" . }} -{{end }} - -{{ if (eq (.Param "micropub" ) "drink") }} -{{ partial "micropub/summary/drink.html" . }} -{{end }} - -{{ if (eq (.Param "micropub" ) "food") }} -{{ partial "micropub/summary/food.html" . }} -{{end }} - -{{ if (eq (.Param "micropub" ) "like") }} -{{ partial "micropub/summary/like-of.html" . }} -{{end }} - -{{ if (eq (.Param "micropub" ) "location") }} -{{ partial "micropub/summary/location.html" . }} -{{end }} - -{{ if (eq (.Param "micropub" ) "note") }} -{{ partial "micropub/summary/note.html" . }} -{{end }} - -{{ if (eq (.Param "micropub" ) "reply") }} -{{ partial "micropub/summary/reply.html" . }} -{{end }} - -{{ if (eq (.Param "micropub" ) "repost") }} -{{ partial "micropub/summary/repost.html" . }} -{{end }} diff --git a/themes/fugu/static/fonts/Black-Baron Gothic.otf b/themes/fugu/static/fonts/Black-Baron Gothic.otf deleted file mode 100644 index 276b8d99..00000000 Binary files a/themes/fugu/static/fonts/Black-Baron Gothic.otf and /dev/null differ diff --git a/themes/fugu/static/fonts/Catalogue 2.0.ttf b/themes/fugu/static/fonts/Catalogue 2.0.ttf deleted file mode 100644 index f9a26e3d..00000000 Binary files a/themes/fugu/static/fonts/Catalogue 2.0.ttf and /dev/null differ diff --git a/themes/fugu/static/fonts/DovesType-Regular.eot b/themes/fugu/static/fonts/DovesType-Regular.eot deleted file mode 100644 index 88711135..00000000 Binary files a/themes/fugu/static/fonts/DovesType-Regular.eot and /dev/null differ diff --git a/themes/fugu/static/fonts/DovesType-Regular.woff b/themes/fugu/static/fonts/DovesType-Regular.woff deleted file mode 100644 index d5f32351..00000000 Binary files a/themes/fugu/static/fonts/DovesType-Regular.woff and /dev/null differ diff --git a/themes/fugu/static/fonts/DovesType-Regular.woff2 b/themes/fugu/static/fonts/DovesType-Regular.woff2 deleted file mode 100644 index 8f4aeee9..00000000 Binary files a/themes/fugu/static/fonts/DovesType-Regular.woff2 and /dev/null differ diff --git a/themes/fugu/static/fonts/catalogue.jpg b/themes/fugu/static/fonts/catalogue.jpg deleted file mode 100644 index 35abcc1e..00000000 Binary files a/themes/fugu/static/fonts/catalogue.jpg and /dev/null differ diff --git a/themes/fugu/static/fonts/lexend-v16-latin-regular.eot b/themes/fugu/static/fonts/lexend-v16-latin-regular.eot deleted file mode 100644 index b4c69443..00000000 Binary files a/themes/fugu/static/fonts/lexend-v16-latin-regular.eot and /dev/null differ diff --git a/themes/fugu/static/fonts/lexend-v16-latin-regular.svg b/themes/fugu/static/fonts/lexend-v16-latin-regular.svg deleted file mode 100644 index 0d2c3307..00000000 --- a/themes/fugu/static/fonts/lexend-v16-latin-regular.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/themes/fugu/static/fonts/lexend-v16-latin-regular.ttf b/themes/fugu/static/fonts/lexend-v16-latin-regular.ttf deleted file mode 100644 index 8a823c2b..00000000 Binary files a/themes/fugu/static/fonts/lexend-v16-latin-regular.ttf and /dev/null differ diff --git a/themes/fugu/static/fonts/lexend-v16-latin-regular.woff b/themes/fugu/static/fonts/lexend-v16-latin-regular.woff deleted file mode 100644 index dae76fd5..00000000 Binary files a/themes/fugu/static/fonts/lexend-v16-latin-regular.woff and /dev/null differ diff --git a/themes/fugu/static/fonts/lexend-v16-latin-regular.woff2 b/themes/fugu/static/fonts/lexend-v16-latin-regular.woff2 deleted file mode 100644 index abcf6bea..00000000 Binary files a/themes/fugu/static/fonts/lexend-v16-latin-regular.woff2 and /dev/null differ diff --git a/themes/fugu/static/fonts/syne-mono-v15-latin-regular.eot b/themes/fugu/static/fonts/syne-mono-v15-latin-regular.eot deleted file mode 100644 index 7bb31c0b..00000000 Binary files a/themes/fugu/static/fonts/syne-mono-v15-latin-regular.eot and /dev/null differ diff --git a/themes/fugu/static/fonts/syne-mono-v15-latin-regular.svg b/themes/fugu/static/fonts/syne-mono-v15-latin-regular.svg deleted file mode 100644 index 72220d41..00000000 --- a/themes/fugu/static/fonts/syne-mono-v15-latin-regular.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/themes/fugu/static/fonts/syne-mono-v15-latin-regular.ttf b/themes/fugu/static/fonts/syne-mono-v15-latin-regular.ttf deleted file mode 100644 index 1b76ef99..00000000 Binary files a/themes/fugu/static/fonts/syne-mono-v15-latin-regular.ttf and /dev/null differ diff --git a/themes/fugu/static/fonts/syne-mono-v15-latin-regular.woff b/themes/fugu/static/fonts/syne-mono-v15-latin-regular.woff deleted file mode 100644 index 330d667e..00000000 Binary files a/themes/fugu/static/fonts/syne-mono-v15-latin-regular.woff and /dev/null differ diff --git a/themes/fugu/static/fonts/syne-mono-v15-latin-regular.woff2 b/themes/fugu/static/fonts/syne-mono-v15-latin-regular.woff2 deleted file mode 100644 index 7fb90cf0..00000000 Binary files a/themes/fugu/static/fonts/syne-mono-v15-latin-regular.woff2 and /dev/null differ diff --git a/themes/fugu/static/fonts/vujahday-script-v3-latin-regular.eot b/themes/fugu/static/fonts/vujahday-script-v3-latin-regular.eot deleted file mode 100644 index 88cc12c9..00000000 Binary files a/themes/fugu/static/fonts/vujahday-script-v3-latin-regular.eot and /dev/null differ diff --git a/themes/fugu/static/fonts/vujahday-script-v3-latin-regular.svg b/themes/fugu/static/fonts/vujahday-script-v3-latin-regular.svg deleted file mode 100644 index 22651d02..00000000 --- a/themes/fugu/static/fonts/vujahday-script-v3-latin-regular.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/themes/fugu/static/fonts/vujahday-script-v3-latin-regular.ttf b/themes/fugu/static/fonts/vujahday-script-v3-latin-regular.ttf deleted file mode 100644 index 56905676..00000000 Binary files a/themes/fugu/static/fonts/vujahday-script-v3-latin-regular.ttf and /dev/null differ diff --git a/themes/fugu/static/fonts/vujahday-script-v3-latin-regular.woff b/themes/fugu/static/fonts/vujahday-script-v3-latin-regular.woff deleted file mode 100644 index bb9d435c..00000000 Binary files a/themes/fugu/static/fonts/vujahday-script-v3-latin-regular.woff and /dev/null differ diff --git a/themes/fugu/static/fonts/vujahday-script-v3-latin-regular.woff2 b/themes/fugu/static/fonts/vujahday-script-v3-latin-regular.woff2 deleted file mode 100644 index 6445a729..00000000 Binary files a/themes/fugu/static/fonts/vujahday-script-v3-latin-regular.woff2 and /dev/null differ diff --git a/themes/fugu/static/img/alternative.jpg b/themes/fugu/static/img/alternative.jpg deleted file mode 100644 index 742f3841..00000000 Binary files a/themes/fugu/static/img/alternative.jpg and /dev/null differ diff --git a/themes/fugu/static/js/search.js b/themes/fugu/static/js/search.js deleted file mode 100644 index b6668eee..00000000 --- a/themes/fugu/static/js/search.js +++ /dev/null @@ -1,62 +0,0 @@ -function displayResults(results, store) { - const searchResults = document.getElementById('results') - if (results.length) { - let resultList = '' - // Iterate and build result list elements - for (const n in results) { - const item = store[results[n].ref] - resultList += '
' - resultList += '

' + item.title + '

' - resultList += item.content.substring(0, 150) + '...' - resultList += '
' - item.categories.forEach(t => { - resultList += ' ' + t + '' - }) - resultList += '
' - item.tags.forEach(t => { - resultList += ' ' + t + '' - }) - resultList += '
' - resultList += '
' - resultList += '
' - } - searchResults.innerHTML = resultList - } else { - searchResults.innerHTML = 'No results found.' - } -} - -// Get the query parameter(s) -const params = new URLSearchParams(window.location.search) -const query = params.get('query') - -// Perform a search if there is a query -if (query) { - // Retain the search input in the form when displaying results - document.getElementById('search-input').setAttribute('value', query) - - const idx = lunr(function () { - this.ref('id') - this.field('title', { - boost: 15 - }) - this.field('tags') - this.field('content', { - boost: 10 - }) - - for (const key in window.store) { - this.add({ - id: key, - title: window.store[key].title, - tags: window.store[key].category, - content: window.store[key].content - }) - } - }) - - // Perform the search - const results = idx.search(query) - // Update the list with results - displayResults(results, window.store) -} diff --git a/themes/fugu/theme.yaml b/themes/fugu/theme.yaml deleted file mode 100644 index b868b9ae..00000000 --- a/themes/fugu/theme.yaml +++ /dev/null @@ -1,11 +0,0 @@ -name: Fugu -license: MIT -licenselink: "https://github.com/fundor333/fugu/blob/master/LICENSE" -description: "" -homepage: "http://fundor333.com/" -tags: [] -features: [] -min_version: 0.120.4 -author: - name: Fundor333 - homepage: "http://fundor333.com/"