Update dump
Also testing removal of the CNAME file!
😁
This commit is contained in:
parent
87f8348d6d
commit
7123b8a409
10
.github/workflows/gh-pages.yml
vendored
10
.github/workflows/gh-pages.yml
vendored
@ -8,17 +8,17 @@ jobs:
|
|||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
# - uses: actions/checkout@v2
|
||||||
with:
|
# with:
|
||||||
submodules: true
|
# submodules: true
|
||||||
fetch-depth: 0
|
# fetch-depth: 0
|
||||||
- name: Setup Hugo
|
- name: Setup Hugo
|
||||||
uses: peaceiris/actions-hugo@v2
|
uses: peaceiris/actions-hugo@v2
|
||||||
with:
|
with:
|
||||||
hugo-version: 'latest'
|
hugo-version: 'latest'
|
||||||
# extended: true
|
# extended: true
|
||||||
- name: Build
|
- name: Build
|
||||||
run: hugo --minify
|
run: hugo -e prod --minify
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
uses: peaceiris/actions-gh-pages@v3
|
uses: peaceiris/actions-gh-pages@v3
|
||||||
if: github.ref == 'refs/heads/master'
|
if: github.ref == 'refs/heads/master'
|
||||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
.hugo_build.lock
|
.hugo_build.lock
|
||||||
|
resources/
|
||||||
public/
|
public/
|
28
Makefile
28
Makefile
@ -1,12 +1,28 @@
|
|||||||
HUGO := hugo
|
.PHONY: help build create debug clean
|
||||||
|
|
||||||
.PHONY: build create clean
|
help:
|
||||||
|
@echo '= Make targets:'
|
||||||
|
@echo 'build: creates a public/ folder with the built static files'
|
||||||
|
@echo 'create: runs the development server serving the built static files'
|
||||||
|
@echo 'check: like create but production environment'
|
||||||
|
@echo 'debug: like create without drafts and with --debug'
|
||||||
|
@echo 'clean: deletes the public/ folder'
|
||||||
|
|
||||||
build: clean
|
HUGO := hugo --printI18nWarnings --printPathWarnings --printUnusedTemplates --templateMetricsHints # --templateMetrics --cleanDestinationDir --gc
|
||||||
$(HUGO) --gc
|
SERV := server --bind 0.0.0.0 --liveReloadPort 80 --appendPort=false --disableFastRender --printMemoryUsage --noHTTPCache --renderToDisk --navigateToChanged
|
||||||
|
DEV := $(HUGO) -e dev $(SERV)
|
||||||
|
|
||||||
|
build: # clean
|
||||||
|
$(HUGO) -e prod
|
||||||
|
|
||||||
|
check:
|
||||||
|
$(HUGO) -e prod $(SERV)
|
||||||
|
|
||||||
create:
|
create:
|
||||||
$(HUGO) server -D --bind 0.0.0.0 --disableFastRender
|
$(DEV) -D
|
||||||
|
|
||||||
|
debug:
|
||||||
|
$(DEV) --debug
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -fr public/
|
rm -fr public/ resources/
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
---
|
---
|
||||||
deprecated: false
|
|
||||||
publishdate: {{ .Date }}
|
publishdate: {{ .Date }}
|
||||||
date: {{ .Date }}
|
date: {{ .Date }}
|
||||||
draft: true
|
draft: true
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
---
|
---
|
||||||
deprecated: false
|
|
||||||
publishdate: {{ .Date }}
|
publishdate: {{ .Date }}
|
||||||
date: {{ .Date }}
|
date: {{ .Date }}
|
||||||
draft: true
|
draft: true
|
||||||
|
BIN
assets/favicon.ico
Normal file
BIN
assets/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 30 KiB |
66
assets/main.scss
Normal file
66
assets/main.scss
Normal file
@ -0,0 +1,66 @@
|
|||||||
|
h1,h2,h3,h4,h5,h6 {
|
||||||
|
@extend %headings !optional;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
background-color: rgb(18, 20, 21);
|
||||||
|
color: lime;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content {
|
||||||
|
main {
|
||||||
|
background-color: rgb(24, 26, 27);
|
||||||
|
margin: 3% 10%;
|
||||||
|
padding: 3%;
|
||||||
|
}
|
||||||
|
a:hover %headings {
|
||||||
|
text-decoration: underline;
|
||||||
|
color: blue;
|
||||||
|
}
|
||||||
|
a {
|
||||||
|
text-decoration: none;
|
||||||
|
color: lime;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#navbar {
|
||||||
|
background-color: #222;
|
||||||
|
li a:hover {
|
||||||
|
background-color: #333;
|
||||||
|
}
|
||||||
|
.link-group li {
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
li {
|
||||||
|
display: inline;
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
ul {
|
||||||
|
list-style-type: none;
|
||||||
|
overflow: hidden;
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
a {
|
||||||
|
text-decoration: none;
|
||||||
|
text-align: center;
|
||||||
|
padding: 14px 16px;
|
||||||
|
display: block;
|
||||||
|
color: lime;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#lang-menu {
|
||||||
|
ul {
|
||||||
|
background-color: #222;
|
||||||
|
position: absolute;
|
||||||
|
display: none;
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
|
a {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#lang-menu:hover ul {
|
||||||
|
display: block;
|
||||||
|
}
|
@ -1,5 +1,4 @@
|
|||||||
---
|
---
|
||||||
deprecated: false
|
|
||||||
publishdate: 2022-03-27T18:08:24Z
|
publishdate: 2022-03-27T18:08:24Z
|
||||||
date: 2022-03-27T18:08:24Z
|
date: 2022-03-27T18:08:24Z
|
||||||
draft: false
|
draft: false
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
---
|
---
|
||||||
deprecated: false
|
|
||||||
publishdate: 2022-03-27T18:08:24Z
|
publishdate: 2022-03-27T18:08:24Z
|
||||||
date: 2022-03-27T18:08:24Z
|
date: 2022-03-27T18:08:24Z
|
||||||
draft: false
|
draft: false
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
---
|
---
|
||||||
deprecated: false
|
|
||||||
publishdate: 2022-03-27T18:08:24Z
|
publishdate: 2022-03-27T18:08:24Z
|
||||||
date: 2022-03-27T18:08:24Z
|
date: 2022-03-27T18:08:24Z
|
||||||
draft: false
|
draft: false
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
---
|
---
|
||||||
deprecated: false
|
|
||||||
publishdate: 2022-03-27T18:08:24Z
|
publishdate: 2022-03-27T18:08:24Z
|
||||||
date: 2022-03-27T18:08:24Z
|
date: 2022-03-27T18:08:24Z
|
||||||
draft: false
|
draft: false
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
---
|
---
|
||||||
deprecated: false
|
|
||||||
publishdate: 2022-03-29T21:10:24Z
|
publishdate: 2022-03-29T21:10:24Z
|
||||||
date: 2022-03-29T21:10:24Z
|
date: 2022-03-29T21:10:24Z
|
||||||
draft: false
|
draft: false
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
---
|
---
|
||||||
deprecated: false
|
|
||||||
publishdate: 2022-03-27T18:08:24Z
|
publishdate: 2022-03-27T18:08:24Z
|
||||||
date: 2022-03-27T18:08:24Z
|
date: 2022-03-27T18:08:24Z
|
||||||
draft: false
|
draft: false
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
---
|
---
|
||||||
deprecated: false
|
|
||||||
publishdate: 2022-03-30T12:04:24Z
|
publishdate: 2022-03-30T12:04:24Z
|
||||||
date: 2022-03-30T12:04:24Z
|
date: 2022-03-30T12:04:24Z
|
||||||
draft: true
|
draft: true
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
---
|
---
|
||||||
deprecated: false
|
|
||||||
publishdate: 2022-03-29T21:00:24Z
|
publishdate: 2022-03-29T21:00:24Z
|
||||||
date: 2022-03-29T21:00:24Z
|
date: 2022-03-29T21:00:24Z
|
||||||
draft: false
|
draft: false
|
||||||
|
13
content/blog/apprentice/_index.en.md
Normal file
13
content/blog/apprentice/_index.en.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
---
|
||||||
|
publishdate: 2022-04-05T18:33:08Z
|
||||||
|
date: 2022-04-05T18:33:08Z
|
||||||
|
draft: true
|
||||||
|
aliases: []
|
||||||
|
categories: ["apprentice"]
|
||||||
|
series: []
|
||||||
|
tags: ["apprentice"]
|
||||||
|
toc: false
|
||||||
|
title: Apprentice
|
||||||
|
description: This part of my blog is a collection of things I've learned as an apprentice working in IT.
|
||||||
|
---
|
||||||
|
|
@ -3,6 +3,9 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name=”robots” content="index,follow">
|
<meta name=”robots” content="index,follow">
|
||||||
|
{{ with resources.Get "favicon.ico" | resources.Fingerprint }}
|
||||||
|
<link rel="icon" href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" />
|
||||||
|
{{ end }}
|
||||||
{{ block "meta" . }}
|
{{ block "meta" . }}
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||||
{{ end }}
|
{{ end }}
|
||||||
@ -19,15 +22,19 @@
|
|||||||
<title>{{ site.Title }} - {{ .Title }}</title>
|
<title>{{ site.Title }} - {{ .Title }}</title>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<title>{{ site.Title }}</title>
|
<title>{{ site.Title }}</title>
|
||||||
{{ end }}{{ if .Description }}
|
{{ end }}
|
||||||
|
{{ if .Description }}
|
||||||
<meta name='description' content='{{ .Description }}'>
|
<meta name='description' content='{{ .Description }}'>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ block "head" . }}
|
{{ block "head" . }}{{ end }}
|
||||||
{{ end }}
|
|
||||||
{{ if .Param "chroma" }}
|
{{ if .Param "chroma" }}
|
||||||
<link href='/chroma.css' rel='stylesheet'>
|
{{ with resources.Get "chroma.css" | resources.Minify | resources.Fingerprint }}
|
||||||
|
<link href='{{ .Rel }}' integrity="{{ .Data.Integrity }}" rel='stylesheet'>
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
{{ with resources.Get "main.scss" | resources.ToCSS (dict "outputStyle" "expanded" "enableSourceMap" false) | resources.Fingerprint }}
|
||||||
|
<link href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" rel="stylesheet">
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<link href='/main.css' rel='stylesheet'>
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header>
|
<header>
|
||||||
|
@ -6,9 +6,10 @@
|
|||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
<ul class="contents">
|
<ul class="contents">
|
||||||
{{ range .Pages }}
|
{{ range .Pages }}
|
||||||
<li>
|
<br />
|
||||||
{{ partial "summary.html" . }}
|
<a href='{{ .RelPermalink }}'>
|
||||||
</li>
|
<li>{{ partial "summary.html" . }}</li>
|
||||||
|
</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</ul>
|
</ul>
|
||||||
</article>
|
</article>
|
||||||
|
@ -7,9 +7,9 @@
|
|||||||
<ul class="contents">
|
<ul class="contents">
|
||||||
{{ range .Pages }}
|
{{ range .Pages }}
|
||||||
<br />
|
<br />
|
||||||
<li>
|
<a href='{{ .RelPermalink }}'>
|
||||||
{{ partial "summary.html" . }}
|
<li>{{ partial "summary.html" . }}</li>
|
||||||
</li>
|
</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</ul>
|
</ul>
|
||||||
</article>
|
</article>
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
{{- $lastmod := .Lastmod.Format "02/01/2006" }}
|
{{- $lastmod := .Lastmod.Format "02/01/2006" }}
|
||||||
<article>
|
<article>
|
||||||
<div>
|
<div>
|
||||||
<h3><a href='{{ .RelPermalink }}'>{{ .Title }}</a></h3>
|
<!-- <h3><a href='{{ .RelPermalink }}'>{{ .Title }}</a></h3> -->
|
||||||
|
<h3>{{ .Title }}</h3>
|
||||||
{{ i18n "published" }} {{ $pubdate }}
|
{{ i18n "published" }} {{ $pubdate }}
|
||||||
{{ if ne $pubdate $lastmod }}
|
{{ if ne $pubdate $lastmod }}
|
||||||
{{ i18n "modified" }} {{ $lastmod }}
|
{{ i18n "modified" }} {{ $lastmod }}
|
||||||
|
@ -1 +0,0 @@
|
|||||||
io.sivert.pw
|
|
@ -1,50 +0,0 @@
|
|||||||
|
|
||||||
body {
|
|
||||||
background-color: rgb(18, 20, 21);
|
|
||||||
color: lime;
|
|
||||||
}
|
|
||||||
#content main {
|
|
||||||
background-color: rgb(24, 26, 27);
|
|
||||||
margin: 3% 10%;
|
|
||||||
padding: 3%;
|
|
||||||
}
|
|
||||||
|
|
||||||
#navbar {
|
|
||||||
background-color: #222;
|
|
||||||
}
|
|
||||||
#navbar li a:hover {
|
|
||||||
background-color: #333;
|
|
||||||
}
|
|
||||||
#navbar .link-group li {
|
|
||||||
float: right;
|
|
||||||
}
|
|
||||||
#navbar li {
|
|
||||||
display: inline;
|
|
||||||
float: left;
|
|
||||||
}
|
|
||||||
#navbar ul {
|
|
||||||
list-style-type: none;
|
|
||||||
overflow: hidden;
|
|
||||||
padding: 0;
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
#navbar a {
|
|
||||||
text-decoration: none;
|
|
||||||
text-align: center;
|
|
||||||
padding: 14px 16px;
|
|
||||||
display: block;
|
|
||||||
color: lime;
|
|
||||||
}
|
|
||||||
|
|
||||||
#lang-menu ul {
|
|
||||||
background-color: #222;
|
|
||||||
position: absolute;
|
|
||||||
display: none;
|
|
||||||
z-index: 1;
|
|
||||||
}
|
|
||||||
#lang-menu a {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
#lang-menu:hover ul {
|
|
||||||
display: block;
|
|
||||||
}
|
|
@ -1,3 +0,0 @@
|
|||||||
# My github.io
|
|
||||||
|
|
||||||
I dunno what to host here, prolly will add someting cool later some time.
|
|
Loading…
Reference in New Issue
Block a user