Update more of the site layout

This commit is contained in:
Gabriel Arazas 2021-01-20 15:01:56 +08:00
parent d93a666ddb
commit 9c44ad660a
7 changed files with 44 additions and 9 deletions

View File

@ -7,5 +7,10 @@ build-openring:
./bin/openring-create --input assets/templates/openring-input.html --output layouts/partials/openring.html
.PHONY = serve
serve: build-openring
ls assets/templates/openring-input.html | entr make build-openring& hugo serve --buildFuture
serve:
ls assets/templates/openring-input.html | entr make build-openring& hugo serve --buildFuture --verboseLog
.PHONY = update
update:
curl --silent --location https://api.github.com/repos/foo-dogsquared/hugo-theme-more-contentful/commits | jq '.[0].sha' --raw-output | xargs --replace='{}' hugo mod get -u "github.com/foo-dogsquared/hugo-theme-more-contentful@{}" && hugo mod tidy
curl --silent --location https://api.github.com/repos/foo-dogsquared/hugo-web-feeds/commits | jq '.[0].sha' --raw-output | xargs --replace='{}' hugo mod get -u "github.com/foo-dogsquared/hugo-web-feeds@{}" && hugo mod tidy

View File

@ -1,9 +1,23 @@
:root {
--accented-border-style: var(--base0C) solid .1vw;
--code-size: 50vh;
--body-family: "Source Serif Pro", "IBM Plex Serif", "Noto Serif", serif;
--header-family: "Source Sans Pro", "IBM Plex Sans", "Noto Sans", sans-serif;
--mono-family: "Source Code Pro", "IBM Plex Mono", "Noto Mono", monospace;
color: var(--base05);
}
article {
h1 {
margin: 1rem auto;
}
h1, h2, h3 {
margin-bottom: 1rem;
}
}
hr {
border-color: var(--base0C);
}
@ -20,6 +34,12 @@ footer[aria-label="Site footer"] {
}
// Layouts
.site__title {
--size: 2rem;
margin-bottom: unset;
font-size: var(--size);
}
.site__socials {
margin-top: 1em;
}
@ -172,6 +192,10 @@ sup.footnote {
display: flex;
justify-content: center;
}
> .title {
text-align: center;
}
}
@media all and (max-width: 860px) {

View File

@ -24,6 +24,7 @@ canonifyURLs = true
[markup.asciidocExt.attributes]
toc = true
sectanchors = true
"figure-caption!" = true
[author]

View File

@ -8,9 +8,9 @@
"https://fasterthanli.me/index.xml",
"https://guix.gnu.org/feeds/blog.atom",
"https://kde.org/announcements/index.xml",
"https://kuon.ch/post/index.xml",
"https://ma.ttias.be/cronweekly/index.xml",
"https://protesilaos.com/codelog.xml",
"https://sachachua.com/blog/feed/",
"https://www.malloc47.com/rss.xml"
"http://malloc47.com/rss.xml",
"https://www.copetti.org/index.xml"
]

View File

@ -20,6 +20,11 @@ id = "gitlab"
url = "https://gitlab.com/foo-dogsquared/"
name = "GitLab"
[[links]]
id = "keybase"
url = "https://keybase.io/foo_dogsquared"
name = "Keybase"
[[links]]
id = "rss"
url = "index.atom"

2
go.mod
View File

@ -3,6 +3,6 @@ module github.com/foo-dogsquared/blog
go 1.15
require (
github.com/foo-dogsquared/hugo-theme-more-contentful v0.1.3 // indirect
github.com/foo-dogsquared/hugo-theme-more-contentful v0.1.4-0.20210115024857-46de6a9b626b // indirect
github.com/foo-dogsquared/hugo-web-feeds v0.0.2 // indirect
)

8
go.sum
View File

@ -1,8 +1,8 @@
github.com/foo-dogsquared/hugo-mod-simple-icons v0.0.0-20201106121650-08c012c284f2/go.mod h1:yIWROkb+Zcex0JBLlZOnejI83GWOmz/aYtKSNXexLSk=
github.com/foo-dogsquared/hugo-mod-simple-icons v0.0.0-20210112174729-cd5a37e6a772/go.mod h1:Zj/H5B3seQ4WGPwEOE/LtRoMsVy7ooEB0xhUN3k9PnY=
github.com/foo-dogsquared/hugo-theme-contentful v1.2.1-0.20201106111203-fd6a6c7a3839/go.mod h1:BL7L5CENEhUx+miRRaOZ9SVC92j9MAMztirBWtTpiPc=
github.com/foo-dogsquared/hugo-theme-more-contentful v0.1.3 h1:Wfxh9bbb5ks88v8BHrB17z0oeGi3lu0EK1LV7M+k840=
github.com/foo-dogsquared/hugo-theme-more-contentful v0.1.3/go.mod h1:q2QVvX0SJhtybk/2LDTejRg4RWXnDY6hcE7qYARnBNI=
github.com/foo-dogsquared/hugo-theme-more-contentful v0.1.4-0.20210115024857-46de6a9b626b h1:VNxwPjFCagsvz3w7WGqh8wYz4SX4Wst+m9JaWq+WV08=
github.com/foo-dogsquared/hugo-theme-more-contentful v0.1.4-0.20210115024857-46de6a9b626b/go.mod h1:zDZAiZgXJA3VWK++nLjajTaCW7Gk8DD8yUHJfNvHWxc=
github.com/foo-dogsquared/hugo-web-feeds v0.0.2 h1:688h38JdIvxKSTdvAFfskEM2n9VJNNNacHwlFc4lvkg=
github.com/foo-dogsquared/hugo-web-feeds v0.0.2/go.mod h1:0WxK3+xNIj/Wpk2kkUW0p6Uqmr/OZjPsRtQDCMazNmI=
github.com/refactoringui/heroicons v0.4.2/go.mod h1:82HsLWQga7MkEl5aK8TctxPPIBlXrsyWcVTB57uipuk=
github.com/simple-icons/simple-icons v0.0.0-20201103182019-19568e5c3824/go.mod h1:oOgUUt8yVYOso/wEBi2ojfZP2MU/xxiNccIpaE+jCvE=
github.com/simple-icons/simple-icons v0.0.0-20210112161000-6f83d1dd8566/go.mod h1:oOgUUt8yVYOso/wEBi2ojfZP2MU/xxiNccIpaE+jCvE=