From f2ad45fc4141d4df457be877f0d6efe5de234823 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Tue, 14 Jul 2020 17:32:23 -0500 Subject: [PATCH] Remove dummy content, better link styles, and deploy script --- .gitignore | 3 +++ content/blog/weechat-matrix-encryption-guide.md | 13 +------------ makefile | 4 +++- themes/lyte/static/styles.css | 3 +++ 4 files changed, 10 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index d066971..02373bb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,5 @@ resources/ public/ + +# Local Netlify folder +.netlify \ No newline at end of file diff --git a/content/blog/weechat-matrix-encryption-guide.md b/content/blog/weechat-matrix-encryption-guide.md index 31dbb7f..9cb4521 100644 --- a/content/blog/weechat-matrix-encryption-guide.md +++ b/content/blog/weechat-matrix-encryption-guide.md @@ -48,22 +48,11 @@ is something probably unrelated, so we'll need to install it manually. Let's go ahead and clone down the repository and get ready to do some stuff: -```bash +```sh git clone https://github.com/poljar/matrix-nio.git cd matrix-nio ``` -```go-html-template -
-
-

{{ .Title }}

- {{ range .Pages }} - {{ .Render "summary"}} - {{ end }} -
-
-``` - If you're looking around, documentation seems a bit sparse on how to do this, but it has a mostly normal manual Python package installation workflow. diff --git a/makefile b/makefile index e0afc61..5ac9417 100644 --- a/makefile +++ b/makefile @@ -1,6 +1,8 @@ -.PHONY: all default build dev +.PHONY: all default build dev publish publish-prod build: ; hugo public: build dev: ; hugo serve --buildDrafts all: build clean: ; rm -r public +publish: public ; netlify deploy -d public +publish-prod: public ; netlify deploy -d public --prod diff --git a/themes/lyte/static/styles.css b/themes/lyte/static/styles.css index c41c641..e40378b 100644 --- a/themes/lyte/static/styles.css +++ b/themes/lyte/static/styles.css @@ -104,6 +104,8 @@ main > h2, main > h3, main > h4, main > h5, +body > main > ul > li, +body > main > ol > li, body > main > form, body > main > p { max-width: 80ch; @@ -184,6 +186,7 @@ ul, ol { } a { + text-decoration-skip-ink: auto; color: #a1efe4; }