Various small fixes
This commit is contained in:
parent
6663fe3536
commit
9e47bd169a
10
.github/workflows/gh-pages.yml
vendored
10
.github/workflows/gh-pages.yml
vendored
@ -1,9 +1,9 @@
|
|||||||
name: github pages
|
name: GitHub Pages
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
pull_request:
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
@ -13,15 +13,19 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
# submodules: true
|
# submodules: true
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: npm install
|
- name: npm install
|
||||||
uses: bahmutov/npm-install@v1
|
uses: bahmutov/npm-install@v1
|
||||||
|
|
||||||
- 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 -e prod --minify
|
run: hugo -e prod --minify --baseURL https://io.sivert.pw
|
||||||
|
|
||||||
- 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'
|
||||||
|
2
Makefile
2
Makefile
@ -1,6 +1,6 @@
|
|||||||
.PHONY: help build create debug clean up down
|
.PHONY: help build create debug clean up down
|
||||||
|
|
||||||
BASE := --baseURL http://1313.proxy.blacktarheroin.no/
|
BASE := --baseURL https://1313.proxy.blacktarheroin.no/
|
||||||
|
|
||||||
help:
|
help:
|
||||||
@echo '= Make targets:'
|
@echo '= Make targets:'
|
||||||
|
@ -5,9 +5,9 @@ main:
|
|||||||
- name: About
|
- name: About
|
||||||
url: /about
|
url: /about
|
||||||
weight: 3
|
weight: 3
|
||||||
# - name: Old GitHub.io
|
- name: Old GitHub.io
|
||||||
# url: /old
|
url: /old
|
||||||
# weight: 2
|
weight: 2
|
||||||
- name: My Humble Homepage
|
- name: My Humble Homepage
|
||||||
url: https://sivert.pw
|
url: https://sivert.pw
|
||||||
weight: 1
|
weight: 1
|
@ -11,3 +11,5 @@ description: Landingsside for Siverts Teknologi Evenetyr Blog!
|
|||||||
---
|
---
|
||||||
|
|
||||||
Her er du velkommen til å ta en titt på alle mine blog innlegg! :cyclone:
|
Her er du velkommen til å ta en titt på alle mine blog innlegg! :cyclone:
|
||||||
|
|
||||||
|
Hint; sjekk den engelske utgaven.
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<header>
|
<header>
|
||||||
<h1>Ooops 404 Not Found!</h1>
|
<h1>Ooops 404 Not Found!</h1>
|
||||||
</header>
|
</header>
|
||||||
<p>Click to go to the front page!</p>
|
<p>Click here to go to the front page!</p>
|
||||||
</article>
|
</article>
|
||||||
</a>
|
</a>
|
||||||
{{ end }}
|
{{ end }}
|
Loading…
Reference in New Issue
Block a user