Remove dummy content, better link styles, and deploy script
This commit is contained in:
parent
23383f9c41
commit
f2ad45fc41
4 changed files with 10 additions and 13 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -1,2 +1,5 @@
|
||||||
resources/
|
resources/
|
||||||
public/
|
public/
|
||||||
|
|
||||||
|
# Local Netlify folder
|
||||||
|
.netlify
|
|
@ -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:
|
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
|
git clone https://github.com/poljar/matrix-nio.git
|
||||||
cd matrix-nio
|
cd matrix-nio
|
||||||
```
|
```
|
||||||
|
|
||||||
```go-html-template
|
|
||||||
<section id="main">
|
|
||||||
<div>
|
|
||||||
<h1 id="title">{{ .Title }}</h1>
|
|
||||||
{{ range .Pages }}
|
|
||||||
{{ .Render "summary"}}
|
|
||||||
{{ end }}
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
```
|
|
||||||
|
|
||||||
If you're looking around, documentation seems a bit sparse on how to do this,
|
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.
|
but it has a mostly normal manual Python package installation workflow.
|
||||||
|
|
||||||
|
|
4
makefile
4
makefile
|
@ -1,6 +1,8 @@
|
||||||
.PHONY: all default build dev
|
.PHONY: all default build dev publish publish-prod
|
||||||
build: ; hugo
|
build: ; hugo
|
||||||
public: build
|
public: build
|
||||||
dev: ; hugo serve --buildDrafts
|
dev: ; hugo serve --buildDrafts
|
||||||
all: build
|
all: build
|
||||||
clean: ; rm -r public
|
clean: ; rm -r public
|
||||||
|
publish: public ; netlify deploy -d public
|
||||||
|
publish-prod: public ; netlify deploy -d public --prod
|
||||||
|
|
|
@ -104,6 +104,8 @@ main > h2,
|
||||||
main > h3,
|
main > h3,
|
||||||
main > h4,
|
main > h4,
|
||||||
main > h5,
|
main > h5,
|
||||||
|
body > main > ul > li,
|
||||||
|
body > main > ol > li,
|
||||||
body > main > form,
|
body > main > form,
|
||||||
body > main > p {
|
body > main > p {
|
||||||
max-width: 80ch;
|
max-width: 80ch;
|
||||||
|
@ -184,6 +186,7 @@ ul, ol {
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
|
text-decoration-skip-ink: auto;
|
||||||
color: #a1efe4;
|
color: #a1efe4;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue