Make the theme as module
This commit is contained in:
@@ -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.
|
||||
@@ -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"
|
||||
---
|
||||
|
||||
@@ -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
|
||||
@@ -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:
|
||||
---
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
---
|
||||
title: "{{ replace .Name "-" " " | title }}"
|
||||
date: {{ .Date }}
|
||||
images:
|
||||
- img/cover.jpeg
|
||||
outputs:
|
||||
- html
|
||||
---
|
||||
@@ -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 */
|
||||
}
|
||||
@@ -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%;
|
||||
}
|
||||
}
|
||||
@@ -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 { }
|
||||
@@ -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)
|
||||
@@ -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%;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 13 MiB |
@@ -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 -}}]
|
||||
@@ -1,14 +0,0 @@
|
||||
{{ define "main" }}
|
||||
<div class="container-fluid">
|
||||
<h1 class="text-center">404 Page not found</h1>
|
||||
<p class="text-center">Sorry this is a Dead Link</p>
|
||||
<div class="d-flex align-items-center justify-content-center">
|
||||
<img
|
||||
loading="lazy"
|
||||
alt="Dead Link"
|
||||
class="text-center img-fluid"
|
||||
src="/404.png"
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
@@ -1,2 +0,0 @@
|
||||
{{ $result := transform.HighlightCodeBlock . }}
|
||||
{{ $result.Wrapped }}
|
||||
@@ -1,3 +0,0 @@
|
||||
<h{{ .Level }} id="{{ .Anchor }}">
|
||||
{{ .Text | safeHTML }}
|
||||
</h{{ .Level }}>
|
||||
@@ -1 +0,0 @@
|
||||
<a class="a-post" href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }} target="_blank"{{ end }}>{{ .Text | safeHTML }}</a>
|
||||
@@ -1,26 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ $.Site.LanguageCode | default " en " }}" class="theme-dark">
|
||||
<head>
|
||||
{{- partial "head.html" . -}}
|
||||
{{- block "more_head" . }}{{- end }}
|
||||
|
||||
{{ partial "analytics.html" . }}
|
||||
</head>
|
||||
<body>
|
||||
<a id="top"></a>
|
||||
<div class="container-xl">
|
||||
|
||||
{{- partial "header.html" . -}}
|
||||
{{- partial "social.html" . -}}
|
||||
|
||||
<div class="p-5 container">
|
||||
{{- block "main" . }}{{- end }}
|
||||
</div>
|
||||
<div class="container">
|
||||
{{- partial "footer.html" . -}}
|
||||
</div>
|
||||
</div>
|
||||
{{- partial "script.html" . -}}
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -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 "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }}
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}</title>
|
||||
<link>{{ .Permalink }}</link>
|
||||
<description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}</description>
|
||||
<generator>Hugo -- gohugo.io</generator>{{ with .Site.LanguageCode }}
|
||||
<language>{{.}}</language>{{end}}{{ with .Site.Author.email }}
|
||||
<managingEditor>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</managingEditor>{{end}}{{ with .Site.Author.email }}
|
||||
<webMaster>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</webMaster>{{end}}{{ with .Site.Copyright }}
|
||||
<copyright>{{.}}</copyright>{{end}}{{ if not .Date.IsZero }}
|
||||
<lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }}
|
||||
{{- with .OutputFormats.Get "RSS" -}}
|
||||
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
|
||||
{{- end -}}
|
||||
{{ range $pages }}
|
||||
<item>
|
||||
<title>{{ .Title }}</title>
|
||||
<link>{{ .Permalink }}</link>
|
||||
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
|
||||
{{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
|
||||
<guid>{{ .Permalink }}</guid>
|
||||
<description>{{ .Content | html }}</description>
|
||||
</item>
|
||||
{{ end }}
|
||||
</channel>
|
||||
</rss>
|
||||
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
{{ define "main"}}
|
||||
<h2 class="text-center">{{.Title}}</h2>
|
||||
<hr>
|
||||
{{ .Content }}
|
||||
|
||||
<div class="container">
|
||||
{{- partial "webmention.html" . -}}
|
||||
</div>
|
||||
|
||||
{{ end }}
|
||||
@@ -1,42 +0,0 @@
|
||||
{{ define "main" }}
|
||||
|
||||
<script type="application/ld+json">
|
||||
[{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "BreadcrumbList",
|
||||
"itemListElement": [{
|
||||
"@type": "ListItem",
|
||||
"position": 1,
|
||||
"name": "Home",
|
||||
"item": "{{ .Site.BaseURL }}"
|
||||
}, {
|
||||
"@type": "ListItem",
|
||||
"position": 2,
|
||||
"name": "Blog",
|
||||
"item": "{{ .Permalink }}"
|
||||
}]
|
||||
}]
|
||||
|
||||
</script>
|
||||
|
||||
<h1 class="text-center">
|
||||
<a href="/social" class="quiet-link px-3"> <i class="fa-duotone theme-fundor333 fa-dice-d12"></i></a>
|
||||
{{.Title}}
|
||||
<a href="/social" class="quiet-link px-3"> <i class="fa-duotone theme-fundor333 fa-dice-d12"></i></a>
|
||||
</h1>
|
||||
|
||||
|
||||
<div class="e-content">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
|
||||
{{ $paginator := .Paginate .Pages }}
|
||||
{{ range $paginator.Pages }}
|
||||
|
||||
{{ .Render "summary" }}
|
||||
|
||||
{{ end }}
|
||||
<hr>
|
||||
{{ partial "paginator.html" . }}
|
||||
|
||||
{{ end }}
|
||||
@@ -1,27 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ $.Site.LanguageCode | default " en " }}" class="theme-dark">
|
||||
{{- partial "head.html" . -}}
|
||||
{{- block "more_head" . }}{{- end }}
|
||||
{{- partial "macia-indiweb/authentication.html" . -}}
|
||||
{{- partial "dark-light-mode.html" . -}}
|
||||
|
||||
<body class="container-fluid">
|
||||
<br>
|
||||
<div class="col-lg-4 offset-lg-4 card col-10 offset-1">
|
||||
<img loading="lazy" src="{{ .Site.Params.image}}" alt="{{ .Site.Title }}" class="rounded mx-auto d-block card-img-top" >
|
||||
|
||||
<div class="card-body text-center">
|
||||
<h5 class="card-title">{{.Title}}</h5>
|
||||
<p class="card-text">{{.Content}}</p>
|
||||
</div>
|
||||
<div class="d-grid gap-2 text-center">
|
||||
{{ range $.Site.Data.about }}
|
||||
<a href="{{.url}}" target="_blank" rel="me" class="card-link py-3 btn">{{ .label | safeHTML }} {{ .name }}</a>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
<br>
|
||||
{{- partial "script.html" . -}}
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -1,24 +0,0 @@
|
||||
{{ define "main" }}
|
||||
|
||||
<div class="row row-cols-1 row-cols-md-3">
|
||||
|
||||
{{ range $.Site.Data.books }}
|
||||
|
||||
<div class="card">
|
||||
{{ with .resources.GetRemote (print "https://covers.openlibrary.org/b/isbn/" .ISBN "-M.jpg" ) }}
|
||||
<img class="card-img-top book img-fluid" src="{{ .RelPermalink }}" width="{{ .Width }}" height="{{ .Height }}">
|
||||
{{ end }}
|
||||
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">{{.Title}}</h5>
|
||||
<p class="card-text">{{.Author}}</p>
|
||||
{{$id := index . "Book Id" }}
|
||||
|
||||
<p><a target="_blank" href='https://www.goodreads.com/book/show/{{int $id}}' ><i class="fa-duotone fa-book"></i></a></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{end}}
|
||||
</div>
|
||||
|
||||
{{end}}
|
||||
@@ -1,75 +0,0 @@
|
||||
{{ define "main" }}
|
||||
|
||||
<script type="application/ld+json">
|
||||
[{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "BreadcrumbList",
|
||||
"itemListElement": [{
|
||||
"@type": "ListItem",
|
||||
"position": 1,
|
||||
"name": "Home",
|
||||
"item": "{{ .Site.BaseURL }}"
|
||||
}, {
|
||||
"@type": "ListItem",
|
||||
"position": 2,
|
||||
"name": "CV",
|
||||
"item": "{{ .Permalink }}"
|
||||
}]
|
||||
}]
|
||||
|
||||
</script>
|
||||
|
||||
<h1 class="text-center">
|
||||
<a href="/social" class="quiet-link px-3"> <i class="fa-duotone theme-fundor333 fa-dice-d12"></i></a>
|
||||
{{.Title}}
|
||||
<a href="/social" class="quiet-link px-3"> <i class="fa-duotone theme-fundor333 fa-dice-d12"></i></a>
|
||||
</h1>
|
||||
|
||||
<hr>
|
||||
<div class="row">
|
||||
<div class="col col-md-3">
|
||||
{{ $image := .Resources.GetMatch ( print .Params.cover ) }}
|
||||
{{ $resource := $image}}
|
||||
|
||||
<img loading="lazy" data-src="{{ $resource.Permalink }}" src="{{ $image.Permalink }}" alt="{{ $.Title }}"
|
||||
class="img-fluid rounded rounded-circle u-photo">
|
||||
</div>
|
||||
<div class="col col-md">
|
||||
<h2>
|
||||
<a href="https://www.linkedin.com/in/matteo-scarpa-03031992" target="_blank"><i class="fab fa-linkedin"></i></a>
|
||||
<a href="mailto:jobs@fundor333.com"><i class="far fa-envelope"></i></a>
|
||||
</h2>
|
||||
<br>
|
||||
<div class="e-content">
|
||||
{{.Content}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{ range $.Site.Data.jobs }}
|
||||
<hr>
|
||||
<div class="row">
|
||||
<div class="col-md-3 col-sm-4">
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<h4>{{ .ditta }}</h4>
|
||||
<small><i>{{ .inizio }} - {{ .fine }}</i></small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md col-sm">
|
||||
{{ range .roles }}
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<h4><i class="fa-duotone fa-user-helmet-safety theme-fundor333"></i> {{.role}}</h4>
|
||||
</div>
|
||||
<div class="col">{{.description}}</div>
|
||||
</div>
|
||||
<br>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{ end }}
|
||||
|
||||
{{ end }}
|
||||
@@ -1,34 +0,0 @@
|
||||
{{ define "main" }}
|
||||
|
||||
<h2 class="text-center">
|
||||
<a href="/social" class="quiet-link px-3"> <i class="fa-duotone theme-fundor333 fa-dice-d12"></i></a>
|
||||
{{ .Title}}
|
||||
<a href="/social" class="quiet-link px-3"> <i class="fa-duotone theme-fundor333 fa-dice-d12"></i></a>
|
||||
</h2>
|
||||
|
||||
<div class="table-responsive">
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">#</th>
|
||||
<th scope="col">Date</th>
|
||||
<th scope="col">Event</th>
|
||||
<th scope="col">Tags</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
{{ range (sort .Pages ".Params.start").Reverse }}
|
||||
<tr>
|
||||
<td class="col"> <a href="{{ .Permalink }}"><i class="fa-duotone fa-link"></i></a></td>
|
||||
<td class="col"> <a href="{{ .Permalink }}">{{ .Params.start | time.Format "2006-01-02" }}</a></td>
|
||||
<td class="col"> <a href="{{ .Permalink }}">{{.Title}}</a></td>
|
||||
<td class="col">{{ with .Params.tags }} {{ range sort . }}
|
||||
#<a class="p-category tag" href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ .}}</a>
|
||||
{{ end }} {{ end }}</td>
|
||||
</tr>
|
||||
{{ end }}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
{{ end }}
|
||||
@@ -1,74 +0,0 @@
|
||||
{{ define "more_head"}}
|
||||
|
||||
{{ $image := .Resources.GetMatch "{cover.jpg,cover.png,cover.jpeg}"}}
|
||||
|
||||
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.9.2/dist/leaflet.css"
|
||||
integrity="sha256-sA+zWATbFveLLNqWO2gtiw3HL/lh1giY/Inf1BJ0z14="
|
||||
crossorigin="" async/>
|
||||
<script src="https://unpkg.com/leaflet@1.9.2/dist/leaflet.js"
|
||||
integrity="sha256-o9N1jGDZrf5tS+Ft4gbIK7mYMipq9lqpVJ91xHSyKhg="
|
||||
crossorigin="" async> </script>
|
||||
|
||||
{{ end }}
|
||||
|
||||
|
||||
{{ define "main"}}
|
||||
<div class="h-entry">
|
||||
<div class="container">
|
||||
<h1 class="p-name">
|
||||
{{ .Title }}
|
||||
</h1>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<div>
|
||||
<i class="fa-duotone theme-fundor333 fa-tags"></i>{{ range .Params.categories }}
|
||||
#<a class="p-category" href="{{ "/categories/" | relLangURL }}{{ . | urlize }}">{{ .}}</a>
|
||||
{{ end }}
|
||||
{{ with .Params.tags }} {{ range sort . }}
|
||||
#<a class="p-category tag" href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ .}}</a>
|
||||
{{ end }} {{ end }}
|
||||
</div>
|
||||
|
||||
|
||||
<div>
|
||||
<i class="fa-duotone theme-fundor333 fa-calendar"></i> Start {{ .Params.start | time.Format "2006-01-02 15:04:05" }}
|
||||
</div>
|
||||
{{ if isset .Params "end" }}
|
||||
<div><i class="fa-duotone theme-fundor333 fa-calendar"></i> End {{ .Params.end | time.Format "2006-01-02 15:04:05" }}</div>
|
||||
{{end}}
|
||||
</div>
|
||||
|
||||
{{ if isset .Params "location" }}
|
||||
<div class="container">
|
||||
{{ partial "partials/micropub/single/location.html" . }}
|
||||
</div>
|
||||
{{end}}
|
||||
|
||||
<br>
|
||||
|
||||
<div class="container">
|
||||
|
||||
<article class="flex flex-col px-3">
|
||||
|
||||
{{- partial "summary_tags.html" . -}}
|
||||
<div class="e-content">
|
||||
{{- partial "summary_tags.html" . -}}
|
||||
{{ .Content | safeHTML }}
|
||||
|
||||
{{- partial "syndication.html" . -}}
|
||||
|
||||
<p class="text-center">If you liked this article,</p>
|
||||
<p class="text-center"> please <a
|
||||
href="https://twitter.com/intent/tweet?text={{ .Title }}&url={{ .Permalink }}&via=fundor333"
|
||||
class="a-post" title="Share on Twitter">share it on <i class="fa-brands fa-twitter"></i></a>
|
||||
</p>
|
||||
<p class="text-center">
|
||||
or <a href="https://webmention.io/fundor333.com/webmention" class="a-post">webmention it</a>
|
||||
</p>
|
||||
{{- partial "syndication.html" . -}}
|
||||
</div>
|
||||
</article>
|
||||
|
||||
</div>
|
||||
{{ end }}
|
||||
@@ -1,41 +0,0 @@
|
||||
{{ define "main"}}
|
||||
|
||||
<h1 class="text-center">
|
||||
<a href="/social" class="quiet-link px-3"> <i class="fa-duotone theme-fundor333 fa-dice-d12"></i></a>
|
||||
hoarding
|
||||
<a href="/social" class="quiet-link px-3"> <i class="fa-duotone theme-fundor333 fa-dice-d12"></i></a>
|
||||
</h1>
|
||||
|
||||
<script type="application/ld+json">
|
||||
[{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "BreadcrumbList",
|
||||
"itemListElement": [{
|
||||
"@type": "ListItem",
|
||||
"position": 1,
|
||||
"name": "Home",
|
||||
"item": "{{ .Site.BaseURL }}"
|
||||
}, {
|
||||
"@type": "ListItem",
|
||||
"position": 2,
|
||||
"name": "Hoarding",
|
||||
"item": "{{ .Permalink }}"
|
||||
}]
|
||||
}]
|
||||
|
||||
</script>
|
||||
|
||||
<div class="row">
|
||||
<div class="p-note e-content">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{ range $.Site.Data.feed }}
|
||||
|
||||
{{- partial "data/hoarding_item.html" . -}}
|
||||
|
||||
{{ end }}
|
||||
|
||||
|
||||
{{ end }}
|
||||
@@ -1,20 +0,0 @@
|
||||
{{ define "main" }}
|
||||
<div class="text-center container h-card">
|
||||
<div class="row">
|
||||
<img src="{{ .Site.Params.image}}" alt="{{ .Site.Title }}" class="d-none u-logo u-photo d-flex ">
|
||||
<div class="p-note e-content">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ range first 4 (where .Site.RegularPages "Section" "post") }}
|
||||
|
||||
{{ .Render "summary" }}
|
||||
|
||||
{{ end }}
|
||||
<div class="container">
|
||||
<hr>
|
||||
<h2>Talks about us</h2>
|
||||
{{- partial "webmention.html" . -}}
|
||||
</div>
|
||||
{{ end }}
|
||||
@@ -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 }}
|
||||
}
|
||||
@@ -1,29 +0,0 @@
|
||||
<!-- /layouts/_default/rss.xml -->
|
||||
<rss version="2.0"
|
||||
xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}</title>
|
||||
<link>{{ .Permalink }}</link>
|
||||
<description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}</description>
|
||||
<generator>Hugo -- gohugo.io</generator>{{ with .Site.LanguageCode }}
|
||||
<language>{{.}}</language>{{end}}{{ with .Site.Author.email }}
|
||||
<managingEditor>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</managingEditor>{{end}}{{ with .Site.Author.email }}
|
||||
<webMaster>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</webMaster>{{end}}{{ with .Site.Copyright }}
|
||||
<copyright>{{.}}</copyright>{{end}}{{ if not .Date.IsZero }}
|
||||
<lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }}
|
||||
{{ with .OutputFormats.Get "RSS" }}
|
||||
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
|
||||
{{ end }}
|
||||
{{ range (where .Site.RegularPages "Params.specialpost" "!=" true) }}
|
||||
<item>
|
||||
<title>{{ .Title }}</title>
|
||||
<link>{{ .Permalink }}?utm_medium=rss&utm_source=rss</link>
|
||||
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
|
||||
{{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
|
||||
<guid>{{ .Permalink }}</guid>
|
||||
<description>{{ .Summary | transform.XMLEscape | safeHTML }}</description>
|
||||
|
||||
</item>
|
||||
{{ end }}
|
||||
</channel>
|
||||
</rss>
|
||||
@@ -1,44 +0,0 @@
|
||||
{{ define "main"}}
|
||||
|
||||
<script type="application/ld+json">
|
||||
[{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "BreadcrumbList",
|
||||
"itemListElement": [{
|
||||
"@type": "ListItem",
|
||||
"position": 1,
|
||||
"name": "Home",
|
||||
"item": "{{ .Site.BaseURL }}"
|
||||
}, {
|
||||
"@type": "ListItem",
|
||||
"position": 2,
|
||||
"name": "Now",
|
||||
"item": "{{ .Permalink }}"
|
||||
}]
|
||||
}]
|
||||
|
||||
</script>
|
||||
|
||||
<div class="container-fluid">
|
||||
<h1 class="text-center">
|
||||
<a href="/social" class="quiet-link px-3"> <i class="fa-duotone theme-fundor333 fa-dice-d12"></i></a>
|
||||
{{ .Title }}
|
||||
<a href="/social" class="quiet-link px-3"> <i class="fa-duotone theme-fundor333 fa-dice-d12"></i></a>
|
||||
</h1>
|
||||
<hr>
|
||||
<div class="container-fluid text-center">
|
||||
|
||||
<a href="{{ .Site.BaseURL }}">home</a>
|
||||
~
|
||||
<a href='{{ .Permalink }}'>{{ .Title }}</a>
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
|
||||
<br>
|
||||
<article class="flex flex-col px-3 e-content">
|
||||
{{ .Content | safeHTML }}
|
||||
</article>
|
||||
|
||||
</div>
|
||||
{{ end }}
|
||||
@@ -1,44 +0,0 @@
|
||||
{{ define "main"}}
|
||||
|
||||
<script type="application/ld+json">
|
||||
[{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "BreadcrumbList",
|
||||
"itemListElement": [{
|
||||
"@type": "ListItem",
|
||||
"position": 1,
|
||||
"name": "Home",
|
||||
"item": "{{ .Site.BaseURL }}"
|
||||
}, {
|
||||
"@type": "ListItem",
|
||||
"position": 2,
|
||||
"name": "{{.Title}}",
|
||||
"item": "{{ .Permalink }}"
|
||||
}]
|
||||
}]
|
||||
|
||||
</script>
|
||||
|
||||
<div class="container-fluid">
|
||||
<h1 class="text-center">
|
||||
<a href="/social" class="quiet-link px-3"> <i class="fa-duotone theme-fundor333 fa-dice-d12"></i></a>
|
||||
{{ .Title }}
|
||||
<a href="/social" class="quiet-link px-3"> <i class="fa-duotone theme-fundor333 fa-dice-d12"></i></a>
|
||||
</h1>
|
||||
<hr>
|
||||
<div class="container-fluid text-center">
|
||||
|
||||
<a href="{{ .Site.BaseURL }}">home</a>
|
||||
~
|
||||
<a href='{{ .Permalink }}'>{{ .Title }}</a>
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
|
||||
<br>
|
||||
<article class="flex flex-col px-3 e-content">
|
||||
{{ .Content | safeHTML }}
|
||||
</article>
|
||||
|
||||
</div>
|
||||
{{ end }}
|
||||
@@ -1,12 +0,0 @@
|
||||
<!-- Google tag (gtag.js) -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-H22W7LRVGC"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
|
||||
gtag('config', 'G-H22W7LRVGC');
|
||||
</script>
|
||||
|
||||
<script defer src="https://cloud.umami.is/script.js" data-website-id="a8bdb9f4-cbb1-40b7-96ce-75fc122df898" data-host-url="https://fundor333.com"
|
||||
></script>
|
||||
@@ -1,49 +0,0 @@
|
||||
<script>
|
||||
const changeThemeToDark = () => {
|
||||
localStorage.setItem("theme", "dark");
|
||||
document.documentElement.className = "theme-dark";
|
||||
$(".dark").hide();
|
||||
$(".light").show();
|
||||
}
|
||||
|
||||
const changeThemeToLight = () => {
|
||||
localStorage.setItem("theme", "light");
|
||||
document.documentElement.className = "theme-light";
|
||||
$(".dark").show();
|
||||
$(".light").hide();
|
||||
}
|
||||
|
||||
function applyTheme(theme) {
|
||||
if (theme === "light") {
|
||||
changeThemeToLight()
|
||||
} else if (theme === "dark") {
|
||||
changeThemeToDark()
|
||||
} else {
|
||||
changeThemeToDark()
|
||||
}
|
||||
}
|
||||
|
||||
const currentTheme = localStorage.getItem("theme");
|
||||
if (currentTheme == "dark") {
|
||||
changeThemeToDark();
|
||||
} else if (currentTheme == "light") {
|
||||
changeThemeToLight();
|
||||
}
|
||||
|
||||
$(window).on("load", function () {
|
||||
const currentTheme = localStorage.getItem("theme") || "dark";
|
||||
|
||||
applyTheme(currentTheme);
|
||||
|
||||
document.querySelector("#theme").addEventListener("change", function () {
|
||||
localStorage.setItem("theme", this.value);
|
||||
applyTheme(this.value);
|
||||
});
|
||||
|
||||
for (const optionElement of document.querySelectorAll("#theme option")) {
|
||||
optionElement.selected = currentTheme === optionElement.value;
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
</script>
|
||||
@@ -1,12 +0,0 @@
|
||||
<hr>
|
||||
<h2>{{.type}}</h2>
|
||||
<ul class="list-unstyled">
|
||||
{{ range .elements }}
|
||||
<li>
|
||||
<a href="{{.url}}" class="offset-1 u-bookmark-of h-cite">
|
||||
{{.title}}
|
||||
</a>
|
||||
</li>
|
||||
{{end}}
|
||||
</ul>
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
<nav class='p-3'>
|
||||
<div class="container-fluid">
|
||||
<hr>
|
||||
<small class="text-center"><a href="#top">Back to top</a></small>
|
||||
<small class="text-center p-2">
|
||||
<i class="fa-duotone theme-fundor333 fa-copyright"></i> {{ dateFormat "2006" now }} - This work is licensed under a
|
||||
<a target="_blank" href="https://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-Share Alike
|
||||
4.0 International
|
||||
License</a>
|
||||
</small>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
|
||||
<link rel="manifest" href="/site.webmanifest">
|
||||
|
||||
{{ partial "seo/seo_head.html" . }}
|
||||
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
|
||||
|
||||
{{ $sass_template := resources.Get "css/style.scss" }}
|
||||
{{ $style := $sass_template | toCSS }}
|
||||
{{- $style = $style | postCSS | resources.Minify -}}
|
||||
<link rel="stylesheet" href="{{ $style.RelPermalink }}">
|
||||
|
||||
|
||||
{{ if or (eq .Kind "home") (eq .Kind "page")}} {{ if isset .Params "canonical" }}
|
||||
<link rel="canonical" href="{{ .Params.Canonical}}" />
|
||||
{{ else }}
|
||||
<link rel="canonical" href="{{ .Permalink}}" />
|
||||
{{ end }} {{ end }}
|
||||
|
||||
|
||||
{{ with .OutputFormats.Get "rss" -}}
|
||||
{{ printf `<link rel=%q type=%q href=%q title=%q>` .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 -}}
|
||||
<enclosure url="{{ $featured.Permalink }}" type="image/jpg"></enclosure>
|
||||
{{- end -}}
|
||||
|
||||
{{ partial "macia-indiweb/indiweb.html" . }}
|
||||
|
||||
<script src="https://code.jquery.com/jquery-3.6.1.min.js" integrity="sha256-o88AwQnZB+VDvE9tvIXrMQaPlFFSUTR+nldQm1LuPXQ=" crossorigin="anonymous"></script>
|
||||
<script src="https://kit.fontawesome.com/2f3b6e2e4c.js" crossorigin="anonymous" async></script>
|
||||
|
||||
@@ -1,84 +0,0 @@
|
||||
<nav class='p-3'>
|
||||
<div class="d-flex flex-column">
|
||||
<a class="u-url navbar-brand text-center" rel=" me" href="{{ .Site.BaseURL }}">
|
||||
|
||||
{{/* Just modified a bit to work with render_image hook and output webp images */}}
|
||||
{{/* get file that matches the filename as specified as src="" */}}
|
||||
{{ $src := resources.Get .Site.Params.logo }}
|
||||
|
||||
{{ if $src }}
|
||||
|
||||
{{ $tinyw := default "500x webp" }}
|
||||
{{ $smallw := default "800x webp" }}
|
||||
{{ $mediumw := default "1200x webp" }}
|
||||
{{ $largew := default "1500x webp" }}
|
||||
|
||||
{{ $data := newScratch }}
|
||||
{{ $data.Set "tiny" ($src.Resize $tinyw) }}
|
||||
{{ $data.Set "small" ($src.Resize $smallw) }}
|
||||
{{ $data.Set "medium" ($src.Resize $mediumw) }}
|
||||
{{ $data.Set "large" ($src.Resize $largew) }}
|
||||
|
||||
|
||||
{{ $tiny := $data.Get "tiny" }}
|
||||
{{ $small := $data.Get "small" }}
|
||||
{{ $medium := $data.Get "medium" }}
|
||||
{{ $large := $data.Get "large" }}
|
||||
|
||||
|
||||
|
||||
<picture alt="{{ .Site.Title }}" class=" h-card rounded img-fluid u-logo lazy shadow-lg bg-body-tertiary col-1" loading="lazy">
|
||||
|
||||
<source media="(max-width: 376px)"
|
||||
srcset="{{with $tiny.RelPermalink }}{{.}}{{ end }}">
|
||||
|
||||
<source media="(max-width: 992px)"
|
||||
srcset="{{with $small.RelPermalink }}{{.}}{{ end }}">
|
||||
|
||||
<source media="(max-width: 1400px)"
|
||||
srcset="{{with $medium.RelPermalink }}{{.}}{{ end }}">
|
||||
|
||||
<source media="(min-width: 1600px)"
|
||||
srcset="{{with $large.RelPermalink }}{{.}}{{ end }}">
|
||||
|
||||
<img alt="{{ .Site.Title }}" title="{{ .Site.Title }}" src="{{ $src }}"
|
||||
height="{{ $src.Height}}" width="{{ $src.Width }}" class=" h-card rounded img-fluid u-logo lazy shadow-lg bg-body-tertiary col-1">
|
||||
|
||||
</picture>
|
||||
|
||||
{{/* Since I do image-response class, the only thing that really
|
||||
matters is the height and width matches the image aspect ratio */}}
|
||||
|
||||
{{ end }}
|
||||
|
||||
|
||||
|
||||
</a>
|
||||
</div>
|
||||
<div class='d-flex flex-column '>
|
||||
<div class="d-flex text-center">
|
||||
<div class="col-10 offset-1">
|
||||
<a class="u-url col" rel="me" href="{{ .Site.BaseURL }}">
|
||||
<h1 class="p-name">
|
||||
<nobr>{{ .Site.Title }}</nobr> <i class="fas fa-badge-check fa-2xs theme-fundor333"></i>
|
||||
</h1>
|
||||
</a>
|
||||
<h5 class="text-f333">{{ .Site.Params.subtitle }}</h5>
|
||||
|
||||
{{ range .Site.Menus.main }}
|
||||
<a class="btn col-4 col-sm-2 u-url" href="{{ .URL }}" title="{{ .Name }}">
|
||||
<nobr>{{ .Name }}</nobr>
|
||||
</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
<a class="btn col-4 col-sm-2 u-url" href="/search/" title="search">
|
||||
<i class="fa-solid fa-magnifying-glass"></i>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
{{- partial "macia-indiweb/authentication.html" . -}}
|
||||
@@ -1,37 +0,0 @@
|
||||
|
||||
<div class="container-fluid">
|
||||
<div>
|
||||
<article class="text-center col-10 offset-1 row text-center h-entry">
|
||||
<h2 class="pb-4">
|
||||
<i class="fad fa-bookmark"></i> Bookmark {{ range .Param "mf-bookmark-of"}} of "<a class="u-bookmark-of text-decoration-underline" href="{{ . }}">{{ end }} {{ .Params.title }}</a>"
|
||||
</h2>
|
||||
|
||||
<div class="col-3">
|
||||
<a href="/" rel="author" class="u-author h-card">
|
||||
<img loading="lazy" src="{{ .Site.Params.image}}" alt="logo" class="img-fluid u-logo u-photo mx-auto d-block" width="60">
|
||||
<p class="p-author text-center">{{ .Site.Author.name }}</p>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col e-content">
|
||||
{{ .Content | safeHTML }}
|
||||
|
||||
{{- partial "syndication.html" . -}} </div>
|
||||
|
||||
</article>
|
||||
|
||||
</div>
|
||||
<div class="container text-center">
|
||||
{{ with .Params.tags }} {{ range sort . }}
|
||||
<a class="btn m-2 p-category tag" href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">
|
||||
<i class="fa-duotone theme-fundor333 fa-tags"></i> {{ .}}
|
||||
</a>
|
||||
{{ end }} {{ end }}
|
||||
|
||||
{{ with .Params.meta }} {{ range sort . }}
|
||||
<p class="p-category d-none">
|
||||
{{ .}}
|
||||
</p>
|
||||
{{ end }} {{ end }}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,17 +0,0 @@
|
||||
<div class="container-fluid">
|
||||
<div>
|
||||
<article class="text-center col-10 offset-1 text-center h-entry">
|
||||
<p>
|
||||
<i class="fad fa-heart-circle"></i> Like {{ range .Param "mf-like-of"}}<a class="u-like-of" href="{{ . }}"> {{ . }}</a>{{end}}
|
||||
</p>
|
||||
|
||||
<div class="e-content">
|
||||
{{ .Content | safeHTML }}
|
||||
|
||||
{{- partial "syndication.html" . -}}
|
||||
|
||||
</div>
|
||||
</article>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,41 +0,0 @@
|
||||
<p class="h-adr adr"><i class="fa-duotone theme-fundor333 fa-map-pin"></i>
|
||||
{{ if isset .Params "location_name" }}<span>{{.Params.location_name}}</span>{{end}}
|
||||
{{ if isset .Params "street_address" }}<span class="p-street-address street-address">{{.Params.street_address}}</span>{{end}}
|
||||
{{ if isset .Params "locality" }}<span class="p-locality locality">{{.Params.locality}}</span>{{end}}
|
||||
{{ if isset .Params "region" }}<span class="p-region region">{{.Params.region}}</span>{{end}}
|
||||
{{ if isset .Params "country_name" }}<span class="p-country-name country-name">{{.Params.country_name}}</span>{{end}}
|
||||
{{ if isset .Params "latitude" }}<p class="h-geo geo">
|
||||
<span class="p-latitude latitude d-none">{{.Params.latitude}}</span>
|
||||
<span class="p-longitude longitude d-none">{{.Params.longitude}}</span>
|
||||
<div class="row">
|
||||
<div class="col-12"><div id="map"></div></div>
|
||||
</div>
|
||||
<script>
|
||||
|
||||
var coords = [{{.Params.latitude}}, {{.Params.longitude}}]; // the geographic center of our map
|
||||
var zoomLevel = 14; // the map scale. See: http://wiki.openstreetmap.org/wiki/Zoom_levels
|
||||
|
||||
var map = L.map('map').setView(coords, zoomLevel);
|
||||
|
||||
L.tileLayer('https://tiles.stadiamaps.com/tiles/alidade_smooth/{z}/{x}/{y}{r}.png', {
|
||||
attribution: '© <a href="https://stadiamaps.com/">Stadia Maps</a>, © <a href="https://openmaptiles.org/">OpenMapTiles</a> © <a href="http://openstreetmap.org">OpenStreetMap</a> contributors',
|
||||
maxZoom: 14, minZoom: 2,
|
||||
}).addTo(map);
|
||||
|
||||
var redIcon = new L.Icon({
|
||||
iconUrl: 'https://raw.githubusercontent.com/pointhi/leaflet-color-markers/master/img/marker-icon-2x-red.png',
|
||||
shadowUrl: 'https://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.7/images/marker-shadow.png',
|
||||
iconSize: [25, 41],
|
||||
iconAnchor: [12, 41],
|
||||
popupAnchor: [1, -34],
|
||||
shadowSize: [41, 41]
|
||||
});
|
||||
var marker = L.marker(coords,{icon: redIcon}).addTo(map);
|
||||
|
||||
{{ if isset .Params "location_name" }}marker.bindPopup("{{.Params.location_name}}").openPopup();{{end}}
|
||||
|
||||
</script>
|
||||
|
||||
</p>
|
||||
{{end}}
|
||||
</p>
|
||||
@@ -1,36 +0,0 @@
|
||||
<div>
|
||||
<div class="container-fluid text-justify">
|
||||
<br>
|
||||
|
||||
<div class="container-fluid">
|
||||
<div>
|
||||
<article class="col-10 offset-1 row ">
|
||||
<div class="col-3">
|
||||
<a href="/" rel="author" class="u-author h-card">
|
||||
<img loading="lazy" src="{{ .Site.Params.image}}" alt="logo" class="img-fluid u-logo u-photo mx-auto d-block" width="60">
|
||||
<p class="p-author text-center">{{ .Site.Author.name }}</p>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col h-entry">
|
||||
<div class="p-bridgy-twitter-content p-bridgy-mastodon-content">{{ .Content }} {{ range .Params.categories }}#{{ .}} {{ end }}{{ with .Params.tags }}{{ range sort . }}#{{ .}} {{ end }}{{ end }}</div>
|
||||
</div>
|
||||
{{- partial "syndication.html" . -}}
|
||||
|
||||
<p class="text-center">If you liked this article,</p>
|
||||
<p class="text-center"> please <a
|
||||
href="https://twitter.com/intent/tweet?text={{ .Title }}&url={{ .Permalink }}&via=fundor333"
|
||||
class="a-post u-bridgy-omit-link" title="Share on Twitter">share it on <i class="fa-brands fa-twitter"></i></a>
|
||||
</p>
|
||||
<p class="text-center">
|
||||
or <a href="https://webmention.io/fundor333.com/webmention" class="a-post">webmention it</a>
|
||||
</p>
|
||||
{{- partial "syndication.html" . -}}
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
{{- partial "webmention.html" . -}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,30 +0,0 @@
|
||||
<div class="h-entry">
|
||||
<div class="container-fluid text-justify">
|
||||
<br>
|
||||
|
||||
<div class="container-fluid">
|
||||
<div>
|
||||
<article class="col-10 offset-1 row h-entry">
|
||||
<h2 class="pb-4">
|
||||
In risponse of {{ range .Param "mf-in-reply-to"}}<a class="u-in-reply-to" href="{{ . }}">{{ end }} {{.Params.title}}</a>
|
||||
</h2>
|
||||
|
||||
<div class="col-3">
|
||||
<a href="/" rel="author" class="u-author h-card">
|
||||
<img loading="lazy" src="{{ .Site.Params.image}}" alt="logo" class="img-fluid u-logo u-photo mx-auto d-block" width="60">
|
||||
<p class="p-author text-center">{{ .Site.Author.name }}</p>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="col e-content">
|
||||
{{ .Content | safeHTML }}
|
||||
</div>
|
||||
{{- partial "syndication.html" . -}}
|
||||
|
||||
</article>
|
||||
<div class="container">
|
||||
{{- partial "webmention.html" . -}}
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
</div>
|
||||
@@ -1,21 +0,0 @@
|
||||
|
||||
<div class="container-fluid">
|
||||
<div>
|
||||
<article class="text-center col-10 offset-1 text-center h-entry">
|
||||
<p>
|
||||
<i class="fad fa-retweet"></i> Repost {{ range .Param "mf-repost-of"}}<a class="u-repost-of" href="{{ . }}"> {{ . }}</a>{{ end }}
|
||||
</p>
|
||||
|
||||
<div class="e-content">
|
||||
{{ .Content | safeHTML }}
|
||||
|
||||
{{- partial "syndication.html" . -}}
|
||||
|
||||
</div>
|
||||
</article>
|
||||
|
||||
</div>
|
||||
<div class="container">
|
||||
{{- partial "webmention.html" . -}}
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,34 +0,0 @@
|
||||
|
||||
<div class="container-fluid">
|
||||
<div>
|
||||
<article class="text-center col-10 offset-1 row text-center h-entry">
|
||||
<p class="pb-4">
|
||||
<i class="fad fa-bookmark"></i> Bookmark "{{ range .Param "mf-bookmark-of"}} <a class="u-bookmark-of" href="{{ . }}">{{ end }} {{ .Params.title }}</a>"
|
||||
</p>
|
||||
|
||||
<div class="col-3">
|
||||
<a href="/" rel="author" class="u-author h-card">
|
||||
<img loading="lazy" src="{{ .Site.Params.image}}" alt="logo" class="img-fluid u-logo u-photo mx-auto d-block" width="60">
|
||||
<p class="p-author text-center">{{ .Site.Author.name }}</p>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col">
|
||||
{{ .Content | safeHTML }}
|
||||
</article>
|
||||
|
||||
</div>
|
||||
<div class="container text-center">
|
||||
{{ with .Params.tags }} {{ range sort . }}
|
||||
<a class="btn m-2 p-category tag" href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">
|
||||
<i class="fa-duotone theme-fundor333 fa-tags"></i> {{ .}}
|
||||
</a>
|
||||
{{ end }} {{ end }}
|
||||
|
||||
{{ with .Params.meta }} {{ range sort . }}
|
||||
<p class="p-category d-none">
|
||||
{{ .}}
|
||||
</p>
|
||||
{{ end }} {{ end }}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,17 +0,0 @@
|
||||
<div class="container-fluid">
|
||||
<div>
|
||||
<article class="text-center col-10 offset-1 text-center h-entry">
|
||||
<p>
|
||||
<i class="fad fa-heart-circle"></i> Like "{{ range .Param "mf-like-of"}}<a class="u-like-of" href="{{ . }}"> {{ . }}</a>{{end}}""
|
||||
</p>
|
||||
|
||||
<div class="e-content">
|
||||
{{ .Content | safeHTML }}
|
||||
|
||||
{{- partial "syndication.html" . -}}
|
||||
|
||||
</div>
|
||||
</article>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,41 +0,0 @@
|
||||
<p class="h-adr adr"><i class="fa-duotone theme-fundor333 fa-map-pin"></i>
|
||||
{{ if isset .Params "location_name" }}<span>{{.Params.location_name}}</span>{{end}}
|
||||
{{ if isset .Params "street_address" }}<span class="p-street-address street-address">{{.Params.street_address}}</span>{{end}}
|
||||
{{ if isset .Params "locality" }}<span class="p-locality locality">{{.Params.locality}}</span>{{end}}
|
||||
{{ if isset .Params "region" }}<span class="p-region region">{{.Params.region}}</span>{{end}}
|
||||
{{ if isset .Params "country_name" }}<span class="p-country-name country-name">{{.Params.country_name}}</span>{{end}}
|
||||
{{ if isset .Params "latitude" }}<p class="h-geo geo">
|
||||
<span class="p-latitude latitude d-none">{{.Params.latitude}}</span>
|
||||
<span class="p-longitude longitude d-none">{{.Params.longitude}}</span>
|
||||
<div class="row">
|
||||
<div class="col-12"><div id="map"></div></div>
|
||||
</div>
|
||||
<script>
|
||||
|
||||
var coords = [{{.Params.latitude}}, {{.Params.longitude}}]; // the geographic center of our map
|
||||
var zoomLevel = 14; // the map scale. See: http://wiki.openstreetmap.org/wiki/Zoom_levels
|
||||
|
||||
var map = L.map('map').setView(coords, zoomLevel);
|
||||
|
||||
L.tileLayer('https://tiles.stadiamaps.com/tiles/alidade_smooth/{z}/{x}/{y}{r}.png', {
|
||||
attribution: '© <a href="https://stadiamaps.com/">Stadia Maps</a>, © <a href="https://openmaptiles.org/">OpenMapTiles</a> © <a href="http://openstreetmap.org">OpenStreetMap</a> contributors',
|
||||
maxZoom: 14, minZoom: 2,
|
||||
}).addTo(map);
|
||||
|
||||
var redIcon = new L.Icon({
|
||||
iconUrl: 'https://raw.githubusercontent.com/pointhi/leaflet-color-markers/master/img/marker-icon-2x-red.png',
|
||||
shadowUrl: 'https://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.7/images/marker-shadow.png',
|
||||
iconSize: [25, 41],
|
||||
iconAnchor: [12, 41],
|
||||
popupAnchor: [1, -34],
|
||||
shadowSize: [41, 41]
|
||||
});
|
||||
var marker = L.marker(coords,{icon: redIcon}).addTo(map);
|
||||
|
||||
{{ if isset .Params "location_name" }}marker.bindPopup("{{.Params.location_name}}").openPopup();{{end}}
|
||||
|
||||
</script>
|
||||
|
||||
</p>
|
||||
{{end}}
|
||||
</p>
|
||||
@@ -1,22 +0,0 @@
|
||||
<div class="h-entry">
|
||||
<div class="container-fluid text-justify">
|
||||
<br>
|
||||
|
||||
<div class="container-fluid">
|
||||
<div>
|
||||
<article class="col-10 offset-1 row h-entry align-middle">
|
||||
<div class="col-3 align-self-center">
|
||||
<a href="/" rel="author" class="u-author h-card">
|
||||
<img loading="lazy" src="{{ .Site.Params.image}}" alt="logo" class="img-fluid u-logo u-photo mx-auto d-block" width="60">
|
||||
<p class="p-author text-center">{{ .Site.Author.name }}</p>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col align-self-center">
|
||||
<p class="p-bridgy-twitter-content p-bridgy-mastodon-content">{{ .Content }} {{ range .Params.categories }}#{{ .}} {{ end }}{{ with .Params.tags }}{{ range sort . }}#{{ .}} {{ end }}{{ end }}</p>
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,23 +0,0 @@
|
||||
<div class="h-entry">
|
||||
<div class="container-fluid text-justify">
|
||||
<div class="container-fluid">
|
||||
<article class="col-10 offset-1 row h-entry">
|
||||
<p class="pb-4">
|
||||
In risponse of "{{ range .Param "mf-in-reply-to"}}<a class="u-in-reply-to" href="{{ . }}">{{ end }} {{.Params.title}}"</a>
|
||||
</p>
|
||||
|
||||
<div class="col-3">
|
||||
<a href="/" rel="author" class="u-author h-card">
|
||||
<img loading="lazy" src="{{ .Site.Params.image}}" alt="logo" class="img-fluid u-logo u-photo mx-auto d-block" width="60">
|
||||
<p class="p-author text-center">{{ .Site.Author.name }}</p>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="col">
|
||||
{{ .Content | safeHTML }}
|
||||
</div>
|
||||
</article>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,10 +0,0 @@
|
||||
|
||||
<div class="container-fluid">
|
||||
<div>
|
||||
<article class="text-center col-10 offset-1 text-center h-entry">
|
||||
<p>
|
||||
<i class="fad fa-retweet"></i> Repost {{ range .Param "mf-repost-of"}}<a class="u-repost-of" href="{{ . }}"> {{ . }}</a>{{ end }}
|
||||
</p>
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,119 +0,0 @@
|
||||
<nav class="d-flex align-items-center justify-content-center">
|
||||
{{ $paginator := .Paginator }}
|
||||
|
||||
<!-- Number of links either side of the current page. -->
|
||||
{{ $adjacent_links := 2 }}
|
||||
|
||||
<!-- $max_links = ($adjacent_links * 2) + 1 -->
|
||||
{{ $max_links := (add (mul $adjacent_links 2) 1) }}
|
||||
|
||||
<!-- $lower_limit = $adjacent_links + 1 -->
|
||||
{{ $lower_limit := (add $adjacent_links 1) }}
|
||||
|
||||
<!-- $upper_limit = $paginator.TotalPages - $adjacent_links -->
|
||||
{{ $upper_limit := (sub $paginator.TotalPages $adjacent_links) }}
|
||||
|
||||
<!-- If there's more than one page. -->
|
||||
{{ if gt $paginator.TotalPages 1 }}
|
||||
|
||||
<ul class="pagination">
|
||||
|
||||
<!-- First page. -->
|
||||
{{ if ne $paginator.PageNumber 1 }}
|
||||
<a class="pagination__link pagination__link--first btn tags" href="{{ $paginator.First.URL }}">
|
||||
<li class="pagination__item pagination__item--first">
|
||||
««
|
||||
</li>
|
||||
</a>
|
||||
{{ end }}
|
||||
|
||||
<!-- Previous page. -->
|
||||
{{ if $paginator.HasPrev }}
|
||||
<a href="{{ $paginator.Prev.URL }}" class="pagination__link pagination__link--previous tags btn">
|
||||
<li class="pagination__item pagination__item--previous">
|
||||
«
|
||||
</li>
|
||||
</a>
|
||||
{{ end }}
|
||||
|
||||
<!-- Page numbers. -->
|
||||
{{ range $paginator.Pagers }}
|
||||
|
||||
{{ $.Scratch.Set "page_number_flag" false }}
|
||||
|
||||
|
||||
<!-- Advanced page numbers. -->
|
||||
{{ if gt $paginator.TotalPages $max_links }}
|
||||
|
||||
|
||||
<!-- Lower limit pages. -->
|
||||
<!-- If the user is on a page which is in the lower limit. -->
|
||||
{{ if le $paginator.PageNumber $lower_limit }}
|
||||
|
||||
<!-- If the current loop page is less than max_links. -->
|
||||
{{ if le .PageNumber $max_links }}
|
||||
{{ $.Scratch.Set "page_number_flag" true }}
|
||||
{{ end }}
|
||||
|
||||
|
||||
<!-- Upper limit pages. -->
|
||||
<!-- If the user is on a page which is in the upper limit. -->
|
||||
{{ else if ge $paginator.PageNumber $upper_limit }}
|
||||
|
||||
<!-- If the current loop page is greater than total pages minus $max_links -->
|
||||
{{ if gt .PageNumber (sub $paginator.TotalPages $max_links) }}
|
||||
{{ $.Scratch.Set "page_number_flag" true }}
|
||||
{{ end }}
|
||||
|
||||
|
||||
<!-- Middle pages. -->
|
||||
{{ else }}
|
||||
|
||||
{{ if and ( ge .PageNumber (sub $paginator.PageNumber $adjacent_links) ) ( le .PageNumber (add $paginator.PageNumber $adjacent_links) ) }}
|
||||
{{ $.Scratch.Set "page_number_flag" true }}
|
||||
{{ end }}
|
||||
|
||||
{{ end }}
|
||||
|
||||
|
||||
<!-- Simple page numbers. -->
|
||||
{{ else }}
|
||||
|
||||
{{ $.Scratch.Set "page_number_flag" true }}
|
||||
|
||||
{{ end }}
|
||||
|
||||
<!-- Output page numbers. -->
|
||||
{{ if eq ($.Scratch.Get "page_number_flag") true }}
|
||||
<a href="{{ .URL }}"
|
||||
class="pagination__link tags btn {{- if eq $.Paginator.PageNumber .PageNumber }} active {{ end }}">
|
||||
<li class="pagination__item{{ if eq . $paginator }} pagination__item--current{{ end }}">
|
||||
{{ .PageNumber }}
|
||||
</li>
|
||||
</a>
|
||||
{{ end }}
|
||||
|
||||
{{ end }}
|
||||
|
||||
<!-- Next page. -->
|
||||
{{ if $paginator.HasNext }}
|
||||
<a href="{{ $paginator.Next.URL }}" class="pagination__link pagination__link--next btn tags">
|
||||
<li class="pagination__item pagination__item--next">
|
||||
»
|
||||
</li>
|
||||
</a>
|
||||
{{ end }}
|
||||
|
||||
<!-- Last page. -->
|
||||
{{ if ne $paginator.PageNumber $paginator.TotalPages }}
|
||||
<a class="pagination__link pagination__link--last tags btn" href="{{ $paginator.Last.URL }}">
|
||||
<li class="pagination__item pagination__item--last">
|
||||
»»
|
||||
</li>
|
||||
</a>
|
||||
{{ end }}
|
||||
|
||||
</ul><!-- .pagination -->
|
||||
{{ end }}
|
||||
|
||||
</nav>
|
||||
@@ -1,18 +0,0 @@
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
|
||||
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
|
||||
<script>
|
||||
$(function () {
|
||||
count = 0;
|
||||
wordsArray = ["Big data", "Blockchain", "Cloud", "Deep learning", "DevOps",
|
||||
"Machine Learning", "Microservices", "Real-time", "Scalability", "Think outside the box", "Web 2.0", "Wev 3.0", "Buzzword",
|
||||
];
|
||||
setInterval(function () {
|
||||
count++;
|
||||
$(".buzzword").fadeOut(400, function () {
|
||||
$(this).text(wordsArray[count % wordsArray.length]).fadeIn(800);
|
||||
});
|
||||
}, 4000);
|
||||
});
|
||||
|
||||
</script>
|
||||
@@ -1,12 +0,0 @@
|
||||
<div class="text-center">
|
||||
<form id="search" class="pb-4"
|
||||
action='{{ with .GetPage "/search" }}{{.Permalink}}{{end}}' method="get">
|
||||
<label class="form-control" hidden for="search-input">Search site</label>
|
||||
<input class="form-control" type="text" id="search-input" name="query"
|
||||
placeholder="Type here to search">
|
||||
<br>
|
||||
<button type="submit" class="btn btn-primary">Search</button>
|
||||
</form>
|
||||
</div>
|
||||
<br>
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
<script>
|
||||
window.store = {
|
||||
// You can specify your blog section only:
|
||||
{{ range $index, $element := (where .Site.RegularPages "Params.specialpost" "!=" true)}}
|
||||
// For all pages in your site, use "range .Site.Pages"
|
||||
// You can use any unique identifier here
|
||||
"{{ .Permalink }}": {
|
||||
// You can customize your searchable fields using any .Page parameters
|
||||
"title": "{{ .Title }}",
|
||||
"tags": [{{ range .Params.Tags }}"{{ . }}",{{ end }}],
|
||||
"categories": [{{ range .Params.categories }}"{{ . }}",{{ end }}],
|
||||
"content": {{ .Content | plainify }}, // Strip out HTML tags
|
||||
"url": "{{ .Permalink }}"
|
||||
},
|
||||
{{ end }}
|
||||
}
|
||||
</script>
|
||||
|
||||
<!-- Include Lunr and code for your search function,
|
||||
which you'll write in the next section -->
|
||||
<script src="https://unpkg.com/lunr/lunr.js"></script>
|
||||
<script src="/js/search.js"></script>
|
||||
@@ -1,39 +0,0 @@
|
||||
<title>
|
||||
{{- 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 -}}
|
||||
</title>
|
||||
|
||||
<!-- SEO Description -->
|
||||
{{- if .IsHome -}}
|
||||
<meta name="description" content="{{ site.Params.Description }}" />
|
||||
{{- else -}}
|
||||
<meta name="description" content="{{ .Params.Description }}" />
|
||||
{{- end }}
|
||||
|
||||
<!-- SEO Meta Author -->
|
||||
<meta name="author" content="Fundor333" />
|
||||
|
||||
<!-- SEO META Links-->
|
||||
{{- if isset .Params "canonical" -}}
|
||||
<link rel="canonical" href="{{ .Params.canonical }}" />
|
||||
{{- else -}}
|
||||
<link rel="canonical" href="{{ .Permalink }}" />
|
||||
{{- end }}
|
||||
|
||||
|
||||
<!-- Anti AI -->
|
||||
<meta name="robots" content="noai, noimageai">
|
||||
|
||||
<!-- layouts/partials/head.html -->
|
||||
{{ template "_internal/opengraph.html" . }}
|
||||
{{ template "_internal/schema.html" . }}
|
||||
{{ template "_internal/twitter_cards.html" . }}
|
||||
|
||||
{{ partial "seo/site_schema.html" . }}
|
||||
@@ -1,66 +0,0 @@
|
||||
{{ if .IsHome -}}
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "http://schema.org",
|
||||
"@type": "WebSite",
|
||||
"name": "{{ .Site.Title }}",
|
||||
"url": "{{ .Site.BaseURL }}",
|
||||
"description": "{{ .Site.Params.description }}",
|
||||
"thumbnailUrl": "{{ .Site.Params.Logo | absURL }}",
|
||||
"license": "{{ .Site.Params.Copyright }}"
|
||||
}
|
||||
</script>
|
||||
{{ else if .IsPage }}
|
||||
{{ $author := or (.Params.author) (.Site.Author.name) }}
|
||||
{{ $org_name := .Site.Title }}
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "http://schema.org",
|
||||
"@type": "BlogPosting",
|
||||
"articleSection": "{{ .Section }}",
|
||||
"name": "{{ .Title | safeJS }}",
|
||||
"headline": "{{ .Title | safeJS }}",
|
||||
"alternativeHeadline": "{{ .Params.lead }}",
|
||||
"description": "{{ if .Description }}{{ .Description | safeJS }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ end }}{{ end }}",
|
||||
"inLanguage": {{ .Site.LanguageCode | default "en-us" }},
|
||||
"isFamilyFriendly": "true",
|
||||
"mainEntityOfPage": {
|
||||
"@type": "WebPage",
|
||||
"@id": "{{ .Permalink }}"
|
||||
},
|
||||
"author" : {
|
||||
"@type": "Person",
|
||||
"name": "{{ $author }}"
|
||||
},
|
||||
"creator" : {
|
||||
"@type": "Person",
|
||||
"name": "{{ $author }}"
|
||||
},
|
||||
"accountablePerson" : {
|
||||
"@type": "Person",
|
||||
"name": "{{ $author }}"
|
||||
},
|
||||
"copyrightHolder" : "{{ $org_name }}",
|
||||
"copyrightYear" : "{{ .Date.Format "2006" }}",
|
||||
"dateCreated": "{{ .Date.Format "2006-01-02T15:04:05.00Z" | safeHTML }}",
|
||||
"datePublished": "{{ .PublishDate.Format "2006-01-02T15:04:05.00Z" | safeHTML }}",
|
||||
"dateModified": "{{ .Lastmod.Format "2006-01-02T15:04:05.00Z" | safeHTML }}",
|
||||
"publisher":{
|
||||
"@type":"Organization",
|
||||
"name": {{ $org_name }},
|
||||
"url": {{ .Site.BaseURL }},
|
||||
"logo": {
|
||||
"@type": "ImageObject",
|
||||
"url": "{{ .Site.Params.logo | absURL }}",
|
||||
"width":"32",
|
||||
"height":"32"
|
||||
}
|
||||
},
|
||||
"image": {{ if .Params.images }}[{{ range $i, $e := .Params.images }}{{ if $i }}, {{ end }}{{ $e | absURL }}{{ end }}]{{ else}}{{.Site.Params.logo | absURL }}{{ end }},
|
||||
"url" : "{{ .Permalink }}",
|
||||
"wordCount" : "{{ .WordCount }}",
|
||||
"genre" : [ {{ range $index, $tag := .Params.tags }}{{ if $index }}, {{ end }}"{{ $tag }}" {{ end }}],
|
||||
"keywords" : [ {{ range $index, $keyword := .Params.keywords }}{{ if $index }}, {{ end }}"{{ $keyword }}" {{ end }}]
|
||||
}
|
||||
</script>
|
||||
{{ end }}
|
||||
@@ -1,19 +0,0 @@
|
||||
<div class='container'>
|
||||
<div class="row text-center">
|
||||
{{ $currentPage := . }}
|
||||
{{ range .Site.Data.social }}
|
||||
<a rel="me" href="{{ .url }}" class="btn col-3 col-sm u-url">
|
||||
<i class="fa-brands fa-{{ .identifier }}" aria-hidden="true">
|
||||
</i>
|
||||
</a>
|
||||
{{ end }}
|
||||
<a href="{{.Site.Params.baseURL}}" class="u-url u-uid d-none">{{.Site.Params.Title}}</a>
|
||||
|
||||
<a href='https://webring.recurse.com' target='_blank' class="btn col-3 col-sm ">
|
||||
<img loading="lazy" src='https://webring.recurse.com/icon.png' width="30" height="30" />
|
||||
</a>
|
||||
<a href='https://webring.xxiivv.com/#random' target='_blank' class="btn col-3 col-sm">
|
||||
<img loading="lazy" width=" 30" height="30" src='https://webring.xxiivv.com/icon.white.svg' />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1 +0,0 @@
|
||||
<div class="p-summary d-none">{{ .Description }} {{ range .Params.categories }}#{{ .}} {{ end }}{{ with .Params.tags }}{{ range sort . }}#{{ .}} {{ end }}{{ end }}{{ with .Params.meta }} {{ range sort . }}#{{ .}} {{ end }}{{ end }}</div>
|
||||
@@ -1,6 +0,0 @@
|
||||
{{ if .Param "mp-syndicate-to" }}
|
||||
{{ range .Param "mp-syndicate-to" }}
|
||||
<a href="{{ . }}"></a>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
<a class="u-bridgy-fed" href="https://fed.brid.gy/"></a>
|
||||
@@ -1,8 +0,0 @@
|
||||
<div class="text-center">
|
||||
{{range sort ($.Site.GetPage "taxonomyTerm" "tags").Pages "Title" }}
|
||||
<a class="btn tag m-2" href='{{ .Permalink }}'>
|
||||
<i class="fa-duotone theme-fundor333 fa-tags"></i> {{ .Title}}
|
||||
</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
<hr>
|
||||
@@ -1,64 +0,0 @@
|
||||
|
||||
<footer style="border-bottom: none; margin-bottom: 1em; padding-top: 3em;">
|
||||
<header style="background-color: var(--item-bg); border-bottom: none; margin: -1em; padding: 12px 24px; border-radius: 1em; margin-bottom: 1em;">
|
||||
<h2 style="margin: 0;">Mentions</h2>
|
||||
<p>Respond to this post on your own site. If you do,
|
||||
<a href="https://webmention.io/fundor333.com/webmention">send me a webmention</a> here. Find out
|
||||
more about webmentions on the <a href="https://indieweb.org/Webmention">IndieWeb</a>.</p>
|
||||
</header>
|
||||
|
||||
|
||||
</footer>
|
||||
|
||||
<div id="webmentions" class="row">
|
||||
{{ $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 }}
|
||||
<div class="container-fluid">
|
||||
{{ range $dataJ.children }}
|
||||
{{if eq (index . "wm-property") "in-reply-to"}}
|
||||
{{ partial "webmention/in-reply-to.html" . }}
|
||||
{{end}}
|
||||
{{end}}
|
||||
</div>
|
||||
<div class="row p-2">
|
||||
{{ 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}}
|
||||
</div>
|
||||
<div class="row">
|
||||
{{ range $dataJ.children }}
|
||||
{{if eq (index . "wm-property") "mention-of"}}
|
||||
{{ partial "webmention/mention-of.html" . }}
|
||||
{{end}}
|
||||
{{end}}
|
||||
</div>
|
||||
{{ range $dataJ.children }}
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<p>
|
||||
{{if eq (index . "wm-property") "rsvp"}}
|
||||
{{ partial "webmention/rsvp.html" . }}
|
||||
{{end}}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
{{end}}
|
||||
|
||||
|
||||
<div class="row text-center" id="social-share"></div>
|
||||
|
||||
<hr>
|
||||
@@ -1,8 +0,0 @@
|
||||
<div class="col-2">
|
||||
<a class="reaction img-text" rel="ugc" title="{{.author.name}} replied" href="{{.url}}">
|
||||
<img class="mention-img shadow-lg bg-body-tertiary" src="{{.author.photo}}" loading="lazy" decoding="async" alt="{{.author.name}}" onerror="this.src='/img/alternative.jpg'"
|
||||
>
|
||||
<div class="centered-text-img">🔖</div>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
<div class="row p-2">
|
||||
<div class="col-2">
|
||||
<a class="reaction img-text" rel="ugc" title="{{.author.name}} replied" href="{{.url}}">
|
||||
<img class="mention-img shadow-lg bg-body-tertiary" src="{{.author.photo}}" loading="lazy" decoding="async" alt="{{.author.name}}" onerror="this.src='/img/alternative.jpg'" >
|
||||
<div class="centered-text-img">💬</div>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-10 text-start">
|
||||
<a class="source" rel="ugc" href="{{.url}}">💬 {{.author.name}} - {{index . "wm-received" | time.Format "2006-01-02 15:04:05" }}
|
||||
</a>
|
||||
<p class="text">{{.content.html |safeHTML}}</p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,6 +0,0 @@
|
||||
<div class="col-2 text-center ">
|
||||
<a class="reaction img-text" rel="ugc" title="{{.author.name}} replied" href="{{.url}}">
|
||||
<img class="mention-img shadow-lg bg-body-tertiary" src="{{.author.photo}}" loading="lazy" decoding="async" alt="{{.author.name}}" onerror="this.src='/img/alternative.jpg'">
|
||||
<div class="centered-text-img">❤️</div>
|
||||
</a>
|
||||
</div>
|
||||
@@ -1,13 +0,0 @@
|
||||
<div class="row p-2">
|
||||
<div class="col-2">
|
||||
<a class="reaction img-text" rel="ugc" title="{{.author.name}} replied" href="{{.url}}">
|
||||
<img class="mention-img shadow-lg bg-body-tertiary" src="{{.author.photo}}" loading="lazy" decoding="async" onerror="this.src='/img/alternative.jpg'" alt="{{.author.name}}">
|
||||
<div class="centered-text-img">✨</div>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col text-start">
|
||||
<a class="source" rel="ugc" href="{{.url}}">✨ {{.author.name}} - {{index . "wm-received" | time.Format "2006-01-02 15:04:05" }}
|
||||
</a>
|
||||
<p class="text">{{.content.text |safeHTML | truncate 500}}</p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,8 +0,0 @@
|
||||
<div class="col-1">
|
||||
<a class="reaction img-text" rel="ugc" title="{{.author.name}} replied" href="{{.url}}">
|
||||
<img class="mention-img shadow-lg bg-body-tertiary" src="{{.author.photo}}" loading="lazy" decoding="async" alt="{{.author.name}}" onerror="this.src='/img/gatto.jpg'"
|
||||
onerror="this.src='/img/alternative.jpg'">
|
||||
</a>
|
||||
<div class='centered-text-img'>🔁</div>
|
||||
</div>
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
{{index . "wm-property" }}
|
||||
<p>{{.author}}</p>
|
||||
<p>{{ . }}</p>
|
||||
@@ -1,40 +0,0 @@
|
||||
|
||||
{{ define "main" }}
|
||||
<!--Implementation from https://billglover.me/2023/11/07/creating-a-photography-gallery-with-hugo/ -->
|
||||
<header>
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{.Content}}
|
||||
</header>
|
||||
<section class="container">
|
||||
<div class="row">
|
||||
{{ range .Pages.GroupByDate "Jan 2006" }}
|
||||
<h4>{{ .Key }}</h4>
|
||||
{{ range .Pages }}
|
||||
<div class="col-6 col-lg-4">
|
||||
{{ $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") }}
|
||||
<a href="{{ .RelPermalink }}" title="{{ .Title }}">
|
||||
<img
|
||||
srcset="
|
||||
{{- with $tiny.RelPermalink -}}{{.}} 480w{{- end -}}
|
||||
{{- with $small.RelPermalink -}}, {{.}} 768w{{- end -}}
|
||||
{{- with $medium.RelPermalink -}}, {{.}} 1024w{{- end -}}
|
||||
{{- with $large.RelPermalink -}}, {{.}} 1366w{{- end -}}"
|
||||
src="{{ $banner.RelPermalink }}"
|
||||
alt="{{ .Description }}" class="img-fluid lazy" loading="lazy">
|
||||
</a>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
</section>
|
||||
<footer></footer>
|
||||
{{- end }}
|
||||
|
||||
{{ define "header" }}
|
||||
{{- partial "header" . -}}
|
||||
{{ end }}
|
||||
@@ -1,183 +0,0 @@
|
||||
{{ define "main" }}
|
||||
<!--Implementation from https://billglover.me/2023/11/07/creating-a-photography-gallery-with-hugo/ -->
|
||||
|
||||
<article itemscope itemType="https://schema.org/BlogPosting">
|
||||
<header>
|
||||
<div class="container">
|
||||
<h1 class="p-name text-center">
|
||||
{{ .Title }}
|
||||
</h1>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main itemprop="articleBody" class="md">
|
||||
|
||||
<section class="meta p-name text-center">
|
||||
{{ $dataFormat := .Site.Params.dateFormat | default "2006-01-02" }}
|
||||
<span><time datetime="{{ .Date }}" itemprop="datePublished">{{ .Date.Format $dataFormat }}</time></span>
|
||||
{{ if (and .Site.Params.showUpdated (ne .Lastmod .Date)) }}
|
||||
<span>(Updated: <time datetime="{{ .Lastmod }}" itemprop="dateModified">{{ .Lastmod.Format $dataFormat }}</time>)</span>
|
||||
{{ end }}
|
||||
|
||||
{{ with (.GetTerms "tags") }}
|
||||
<div class="text-center">
|
||||
{{ range . }}
|
||||
<a class="btn tag m-2" href='{{ "/tags/" | relLangURL }}{{ .LinkTitle | urlize }}'>
|
||||
<i class="fa-duotone theme-fundor333 fa-tags"></i> {{ .LinkTitle}}
|
||||
</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
<hr>
|
||||
{{ end }}
|
||||
</section>
|
||||
|
||||
{{ with .Resources.ByType "image" }}
|
||||
{{ range . }}
|
||||
{{ $image := .Fit "1024x1024" }}
|
||||
<div class="text-center">
|
||||
|
||||
<figure class="figure">
|
||||
<img loading="lazy" class="u-photo img-fluid lazy" src="{{ $image.RelPermalink }}" width="{{ $image.Width }}" height="{{ $image.Height }}" alt="{{ $.Description }}">
|
||||
<figcaption class="figure-caption">{{ $.Description }}</figcaption>
|
||||
</figure>
|
||||
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
|
||||
{{ 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 }}
|
||||
<h2>Metadata</h2>
|
||||
<table class="table table-bordered">
|
||||
{{ with $image.Title }}
|
||||
<tr>
|
||||
<th scope="col">Title</th>
|
||||
<td>{{ . }}</td>
|
||||
</tr>
|
||||
{{ end }}
|
||||
{{ with .Date }}
|
||||
<tr>
|
||||
<th scope="col">Date</th>
|
||||
<td>{{ . }}</td>
|
||||
</tr>
|
||||
{{ end }}
|
||||
{{ if isset .Tags "Model" }}
|
||||
<tr>
|
||||
<th>Camera</th>
|
||||
<td>{{ .Tags.Model }}</td>
|
||||
</tr>
|
||||
{{ end }}
|
||||
{{ if isset .Tags "LensModel" }}
|
||||
<tr>
|
||||
<th>Lens</th>
|
||||
<td>{{ .Tags.LensModel }}</td>
|
||||
</tr>
|
||||
{{ end }}
|
||||
{{ if isset .Tags "ExposureTime" }}
|
||||
<tr>
|
||||
<th>Exposure Time</th>
|
||||
<td>{{ .Tags.ExposureTime }}</td>
|
||||
</tr>
|
||||
{{ end }}
|
||||
{{ if isset .Tags "FNumber" }}
|
||||
<tr>
|
||||
<th>F Number</th>
|
||||
<td>{{ .Tags.FNumber }}</td>
|
||||
</tr>
|
||||
{{ end }}
|
||||
{{ if isset .Tags "ISOSpeedRatings" }}
|
||||
<tr>
|
||||
<th>ISO</th>
|
||||
<td>{{ .Tags.ISOSpeedRatings }}</td>
|
||||
</tr>
|
||||
{{ end }}
|
||||
{{ if isset .Tags "FocalLength" }}
|
||||
<tr>
|
||||
<th>Focal Length</th>
|
||||
<td>{{ .Tags.FocalLength }}</td>
|
||||
</tr>
|
||||
{{ end }}
|
||||
{{ if isset .Tags "ExposureMode" }}
|
||||
<tr>
|
||||
<th>Exposure Mode</th>
|
||||
<td>
|
||||
{{ with (eq .Tags.ExposureMode 1) }}Manual{{ end }}
|
||||
{{ with (eq .Tags.ExposureMode 0) }}Auto{{ end }}
|
||||
</td>
|
||||
</tr>
|
||||
{{ end }}
|
||||
{{ if isset .Tags "ExposureProgram" }}
|
||||
<tr>
|
||||
<th>Exposure Program</th>
|
||||
<td>
|
||||
{{ with (eq .Tags.WhiteBalance 1) }}Manual{{ end }}
|
||||
{{ with (eq .Tags.WhiteBalance 0) }}Auto{{ end }}
|
||||
</td>
|
||||
</tr>
|
||||
{{ end }}
|
||||
{{ with .Tags.ExposureBiasValue }}
|
||||
<tr>
|
||||
<th>Exposure Compensation</th>
|
||||
<td>{{ . }}</td>
|
||||
</tr>
|
||||
{{ end }}
|
||||
{{ if isset .Tags "WhiteBalance" }}
|
||||
<tr>
|
||||
<th>White Balance</th>
|
||||
<td>
|
||||
{{ with (eq .Tags.WhiteBalance 1) }}Manual{{ end }}
|
||||
{{ with (eq .Tags.WhiteBalance 0) }}Auto{{ end }}
|
||||
</td>
|
||||
</tr>
|
||||
{{ end }}
|
||||
{{ if isset .Tags "MeteringMode" }}
|
||||
<tr>
|
||||
<th>Metering Mode</th>
|
||||
<td>
|
||||
{{ 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 }}
|
||||
</td>
|
||||
</tr>
|
||||
{{ end }}
|
||||
</table>
|
||||
{{ end }}
|
||||
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{ block "content" . }} {{- .Content }} {{- end }}
|
||||
</main>
|
||||
|
||||
<div class="container">
|
||||
{{- partial "webmention.html" . -}}
|
||||
</div>
|
||||
|
||||
{{ $related := .Site.RegularPages.Related . | first 4 }}
|
||||
{{ with $related }}
|
||||
<div class="flex flex-col">
|
||||
<h3 class="text-center">See Also</h3>
|
||||
{{ range . }}
|
||||
{{ .Render "summary" }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
</div>
|
||||
</article>
|
||||
{{- end }}
|
||||
|
||||
{{ define "header" }}
|
||||
{{- partial "header" . -}}
|
||||
{{ end }}
|
||||
@@ -1,35 +0,0 @@
|
||||
<!--Implementation from https://billglover.me/2023/11/07/creating-a-photography-gallery-with-hugo/ -->
|
||||
<div class="col-start-2 col-10 offset-1 mb-5">
|
||||
<article class="flex flex-col items-center text-center h-entry">
|
||||
<a href="{{ .Permalink }}">
|
||||
{{ $banner := index (.Resources.ByType "image") 0 }}
|
||||
<div class="col-10 offset-1 text-center">
|
||||
|
||||
{{ $tiny := ($banner.Fill "webp 400x300 q90") }}
|
||||
{{ $small := ($banner.Fill "webp 600x450 q90") }}
|
||||
{{ $medium := ($banner.Fill "webp 800x600 q90") }}
|
||||
{{ $large := ($banner.Fill "webp 1200x700 q90") }}
|
||||
|
||||
<img
|
||||
srcset="
|
||||
{{- with $tiny.RelPermalink -}}{{.}} 480w{{- end -}}
|
||||
{{- with $small.RelPermalink -}}, {{.}} 768w{{- end -}}
|
||||
{{- with $medium.RelPermalink -}}, {{.}} 1024w{{- end -}}
|
||||
{{- with $large.RelPermalink -}}, {{.}} 1366w{{- end -}}"
|
||||
src="{{ $banner.RelPermalink }}"
|
||||
alt="{{ .Description }}" class="img-fluid lazy" loading="lazy">
|
||||
|
||||
</div>
|
||||
|
||||
</a>
|
||||
|
||||
<a href="{{ .Permalink }}">
|
||||
<h1 class="text-center p-name">{{ .Title }}</h1>
|
||||
</a>
|
||||
|
||||
<a href="{{ .Permalink }}"
|
||||
class="p-summary d-flex align-items-center justify-content-center pt-3"><p>{{ .Description }}</p></a>
|
||||
|
||||
|
||||
</article>
|
||||
</div>
|
||||
@@ -1,28 +0,0 @@
|
||||
<!-- /layouts/_default/rss.xml -->
|
||||
<rss version="2.0"
|
||||
xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}</title>
|
||||
<link>{{ .Permalink }}</link>
|
||||
<description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}</description>
|
||||
<generator>Hugo -- gohugo.io</generator>{{ with .Site.LanguageCode }}
|
||||
<language>{{.}}</language>{{end}}{{ with .Site.Author.email }}
|
||||
<managingEditor>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</managingEditor>{{end}}{{ with .Site.Author.email }}
|
||||
<webMaster>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</webMaster>{{end}}{{ with .Site.Copyright }}
|
||||
<copyright>{{.}}</copyright>{{end}}{{ if not .Date.IsZero }}
|
||||
<lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }}
|
||||
{{ with .OutputFormats.Get "RSS" }}
|
||||
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
|
||||
{{ end }}
|
||||
{{ range (where .Site.RegularPages "Params.specialpost" "!=" true) }}
|
||||
<item>
|
||||
<title>{{ .Title }}</title>
|
||||
<link>{{ .Permalink }}</link>
|
||||
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
|
||||
{{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
|
||||
<guid>{{ .Permalink }}</guid>
|
||||
<description>{{- .Params.description | html -}}</description>
|
||||
</item>
|
||||
{{ end }}
|
||||
</channel>
|
||||
</rss>
|
||||
@@ -1,25 +0,0 @@
|
||||
{{ define "main" }}
|
||||
|
||||
<h1 class="text-center">
|
||||
<a href="/social" class="quiet-link px-3"> <i class="fa-duotone fa-dice-d12 theme-fundor333"></i></a>
|
||||
{{.Title}}
|
||||
<a href="/social" class="quiet-link px-3"> <i class="fa-duotone theme-fundor333 fa-dice-d12"></i></a>
|
||||
</h1>
|
||||
|
||||
|
||||
<div class="e-content">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
|
||||
{{ $paginator := .Paginate (where .Data.Pages "Section" .Section) }}
|
||||
{{ range $paginator.Pages }}
|
||||
|
||||
{{ .Render "summary" }}
|
||||
|
||||
<br>
|
||||
|
||||
{{ end }}
|
||||
<hr>
|
||||
{{ partial "paginator.html" . }}
|
||||
|
||||
{{ end }}
|
||||
@@ -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" }}
|
||||
<hr>
|
||||
<div class="h-entry">
|
||||
<p class="d-none p-bridgy-twitter-content p-bridgy-mastodon-content">{{ .Title }} {{ .Description }} - {{ range .Params.categories }}#{{ .}} {{ end }}{{ with .Params.tags }}{{ range sort . }}#{{ .}} {{ end }}{{ end }}</p>
|
||||
|
||||
<div class="container-fluid text-justify">
|
||||
<br>
|
||||
{{ $image := .Resources.GetMatch "{cover.webp,cover.jpg,cover.png,cover.jpeg}" }}
|
||||
{{ $resource := imageConfig (add "/content/" $image.RelPermalink) }}
|
||||
|
||||
<div class="text-center">
|
||||
<img loading="lazy" class="u-photo img-fluid lazy" src="{{ $image.Permalink }}" width="{{ $resource.Width }}"
|
||||
height="{{ $resource.Height }}" alt="Card image cap">
|
||||
</div>
|
||||
|
||||
<br>
|
||||
{{if .Params.feature_link}}
|
||||
<div class="col-10 offset-1 text-center">
|
||||
<a href="{{ .Params.feature_link}}">{{.Params.feature_text}}</a>
|
||||
</div>
|
||||
{{end}}
|
||||
</div>
|
||||
<br>
|
||||
<div class="container">
|
||||
<h1 class="p-name text-center">
|
||||
{{ .Title }}
|
||||
</h1>
|
||||
</div>
|
||||
|
||||
<div class="container offset-1 p-2">
|
||||
<div>
|
||||
<time class="dt-published" datetime='{{$date_h }}'></time>
|
||||
<i class="fa-duotone theme-fundor333 fa-calendar-plus"></i> {{ $date }} |
|
||||
{{if ne $lastmod $date}}
|
||||
|
||||
<time class="dt-updated" datetime='{{ $lastmod_h }}'></time>
|
||||
<i class="fa-duotone theme-fundor333 fa-calendar-pen"></i> {{ $lastmod }} |
|
||||
{{ end }}
|
||||
<i class="fa-duotone theme-fundor333 fa-tags"></i>
|
||||
|
||||
{{ range .Params.categories }}
|
||||
#<a class="p-category" href="{{ "/categories/" | relLangURL }}{{ . | urlize }}">{{ .}}</a>,
|
||||
{{ end }}
|
||||
{{ with .Params.tags }} {{ range sort . }}
|
||||
#<a class="p-category tag" href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ .}}</a>,
|
||||
{{ end }} {{ end }}
|
||||
</div>
|
||||
<div><i class="fa-duotone theme-fundor333 fa-mug-tea"></i>{{ if gt .ReadingTime 4 }}<i
|
||||
class="fa-duotone theme-fundor333 fa-mug-tea"></i>{{ if gt
|
||||
.ReadingTime
|
||||
7 }}<i class="fa-duotone theme-fundor333 fa-mug-tea"></i>{{ if gt .ReadingTime 10 }}<i
|
||||
class="fa-duotone theme-fundor333 fa-mug-tea"></i>{{ end }}{{ end }}{{
|
||||
end }}
|
||||
Reading time {{.ReadingTime}} minutes | <i class="fa-duotone theme-fundor333 fa-pen-nib"></i> Word count {{.WordCount}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container offset-1 p-3">
|
||||
{{ .TableOfContents }}
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
|
||||
<div class="d-none">
|
||||
<a href="/" rel="author" class="u-author h-card">
|
||||
<img loading="lazy" src="{{ .Site.Params.image}}" alt="logo" class="img-fluid u-logo u-photo" width="60">
|
||||
<p class="p-author">by {{ .Site.Author.name }}</p>
|
||||
</a>
|
||||
</div>
|
||||
<article class="flex flex-col">
|
||||
|
||||
{{- partial "summary_tags.html" . -}}
|
||||
<div class="e-content">
|
||||
{{- partial "summary_tags.html" . -}}
|
||||
{{ .Content | safeHTML }}
|
||||
|
||||
{{- partial "syndication.html" . -}}
|
||||
|
||||
{{- partial "syndication.html" . -}}
|
||||
</div>
|
||||
<hr>
|
||||
</article>
|
||||
|
||||
<div class="container">
|
||||
{{- partial "webmention.html" . -}}
|
||||
</div>
|
||||
|
||||
{{ $related := .Site.RegularPages.Related . | first 4 }}
|
||||
{{ with $related }}
|
||||
<div class="flex flex-col">
|
||||
<h3 class="text-center">See Also</h3>
|
||||
{{ range . }}
|
||||
{{ .Render "summary" }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
@@ -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" }}
|
||||
|
||||
<div class="col-start-2 col-10 offset-1 mb-5">
|
||||
<article class="flex flex-col items-center text-center h-entry">
|
||||
<a href="{{ .Permalink }}">
|
||||
{{ $image := .Resources.GetMatch "{cover.webp,cover.jpg,cover.png,cover.jpeg}" }}
|
||||
{{if $image }}
|
||||
{{ $resource := imageConfig (add "/content/" $image.RelPermalink) }}
|
||||
<div class="col-10 offset-1 text-center">
|
||||
|
||||
{{- $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") }}
|
||||
|
||||
<img
|
||||
srcset="
|
||||
{{- with $tiny.RelPermalink -}}{{.}} 480w{{- end -}}
|
||||
{{- with $small.RelPermalink -}}, {{.}} 768w{{- end -}}
|
||||
{{- with $medium.RelPermalink -}}, {{.}} 1024w{{- end -}}
|
||||
{{- with $large.RelPermalink -}}, {{.}} 1366w{{- end -}}"
|
||||
src="{{ $banner.RelPermalink }}"
|
||||
alt="banner-image" class="img-fluid lazy" loading="lazy">
|
||||
|
||||
</div>
|
||||
{{ end }}
|
||||
</a>
|
||||
|
||||
<a href="{{ .Permalink }}">
|
||||
<h1 class="text-center p-name">{{ .Title }}</h1>
|
||||
</a>
|
||||
|
||||
<a href="{{ .Permalink }}"
|
||||
class="p-summary d-flex align-items-center justify-content-center pt-3"><p>{{ .Description }}</p></a>
|
||||
|
||||
<div class="container">
|
||||
<div>
|
||||
<time class="dt-published" datetime='{{$date_h }}'></time>
|
||||
<i class="fa-duotone theme-fundor333 fa-calendar-plus"></i> {{ $date }} |
|
||||
{{if ne $lastmod $date}}
|
||||
|
||||
<time class="dt-updated" datetime='{{ $lastmod_h }}'></time>
|
||||
<i class="fa-duotone theme-fundor333 fa-calendar-pen"></i> {{ $lastmod }} |
|
||||
{{ end }}
|
||||
<i class="fa-duotone theme-fundor333 fa-tags"></i>
|
||||
|
||||
{{ range .Params.categories }}
|
||||
#<a class="p-category" href="{{ "/categories/" | relLangURL }}{{ . | urlize }}">{{ .}}</a>,
|
||||
{{ end }}
|
||||
{{ with .Params.tags }} {{ range sort . }}
|
||||
#<a class="p-category tag" href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ .}}</a>,
|
||||
{{ end }} {{ end }}
|
||||
</div>
|
||||
<div><i class="fa-duotone theme-fundor333 fa-mug-tea"></i>{{ if gt .ReadingTime 4 }}<i
|
||||
class="fa-duotone theme-fundor333 fa-mug-tea"></i>{{ if gt
|
||||
.ReadingTime
|
||||
7 }}<i class="fa-duotone theme-fundor333 fa-mug-tea"></i>{{ if gt .ReadingTime 10 }}<i
|
||||
class="fa-duotone theme-fundor333 fa-mug-tea"></i>{{ end }}{{ end }}{{
|
||||
end }}
|
||||
Reading time {{.ReadingTime}} minutes | <i class="fa-duotone theme-fundor333 fa-pen-nib"></i> Word count {{.WordCount}}
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
@@ -1,43 +0,0 @@
|
||||
{{ define "main"}}
|
||||
|
||||
<h1 class="text-center">project</h1>
|
||||
|
||||
<script type="application/ld+json">
|
||||
[{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "BreadcrumbList",
|
||||
"itemListElement": [{
|
||||
"@type": "ListItem",
|
||||
"position": 1,
|
||||
"name": "Home",
|
||||
"item": "{{ .Site.BaseURL }}"
|
||||
}, {
|
||||
"@type": "ListItem",
|
||||
"position": 2,
|
||||
"name": "Project",
|
||||
"item": "{{ .Permalink }}"
|
||||
}]
|
||||
}]
|
||||
|
||||
</script>
|
||||
{{ range $.Site.Data.project }}
|
||||
|
||||
{{ range .types }}
|
||||
<hr>
|
||||
<div class="row">
|
||||
<div class="col-sm-2">
|
||||
<h2>{{.type}}</h2>
|
||||
</div>
|
||||
<div class="col-sm-9 offset-sm-1">
|
||||
{{ range .elements }}
|
||||
|
||||
<p><a href="{{.url}}"><b>{{.name}}</b></a> - {{.description}}</p>
|
||||
|
||||
{{end}}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
{{end}}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
@@ -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 }}
|
||||
@@ -1,19 +0,0 @@
|
||||
{{ define "main" }}
|
||||
|
||||
<h1 class="text-center">search</h1>
|
||||
|
||||
{{ partial "search-form.html" . }}
|
||||
<br>
|
||||
<hr>
|
||||
|
||||
<ul id="results">
|
||||
<li>
|
||||
Enter a keyword above to search this site.
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<br>
|
||||
|
||||
{{ partial "search-index.html" . }}
|
||||
|
||||
{{ end }}
|
||||
@@ -1 +0,0 @@
|
||||
<span class="buzzword"><i>buzzword</i></span>
|
||||
@@ -1 +0,0 @@
|
||||
<i class="fa-duotone fa-heart fa-beat theme-fundor333"></i>
|
||||
@@ -1,13 +0,0 @@
|
||||
<div class="mastodon">
|
||||
{{- with .Get 0 }}
|
||||
<iframe
|
||||
src="{{ . }}/embed"
|
||||
class="mastodon-embed" style="max-width: 100%; border: 0"
|
||||
width="400"
|
||||
allowfullscreen="allowfullscreen">
|
||||
</iframe>
|
||||
<script src="https://fosstodon.org/embed.js" async="async"></script>
|
||||
{{- else }}
|
||||
{{- errorf "The %q shortcode requires a positional parameter: the url of the post. See %s" .Name .Position }}
|
||||
{{- end }}
|
||||
</div>
|
||||
@@ -1,3 +0,0 @@
|
||||
<div>
|
||||
{{ .Page.TableOfContents | replaceRE "<ul>[[:space:]]*<li>[[:space:]]*<ul>" "<ul>" | replaceRE "</ul>[[:space:]]*</li>[[:space:]]*</ul>" "</ul>" | safeHTML }}
|
||||
</div>
|
||||
@@ -1,35 +0,0 @@
|
||||
{{ define "main" }}
|
||||
<h2 class="text-center"><i class="fa-duotone theme-fundor333 fa-alien-8bit"></i> {{.Title}} <i class="fa-duotone theme-fundor333 fa-alien-8bit"></i></h2>
|
||||
<hr>
|
||||
<div class="e-content">
|
||||
{{ .Content }}
|
||||
<hr>
|
||||
</div>
|
||||
|
||||
{{ $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 }}
|
||||
<div class="row">
|
||||
<div class="col-1 align-self-center">
|
||||
<a href="{{.Permalink}}"><i class="fa-duotone fa-link"></i></a>
|
||||
</div>
|
||||
<div class="col align-self-center">
|
||||
{{ .Render "summary" }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<hr>
|
||||
|
||||
{{ end }}
|
||||
|
||||
{{ partial "paginator.html" . }}
|
||||
|
||||
|
||||
{{ end }}
|
||||
@@ -1,45 +0,0 @@
|
||||
{{ define "more_head"}}
|
||||
{{ $image := .Resources.GetMatch "{cover.jpg,cover.png,cover.jpeg}"}}
|
||||
{{ end }}
|
||||
|
||||
{{ define "main"}}
|
||||
|
||||
<a class="u-bridgy-omit-link d-none" href="{{.Permalink}}"></a>
|
||||
|
||||
{{ 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 }}
|
||||
@@ -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 }}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 43 KiB |
Binary file not shown.
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 55 KiB |
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user