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:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-20.04
|
||||
@ -13,15 +13,19 @@ jobs:
|
||||
with:
|
||||
# submodules: true
|
||||
fetch-depth: 0
|
||||
|
||||
- name: npm install
|
||||
uses: bahmutov/npm-install@v1
|
||||
|
||||
- name: Setup Hugo
|
||||
uses: peaceiris/actions-hugo@v2
|
||||
with:
|
||||
hugo-version: 'latest'
|
||||
extended: true
|
||||
|
||||
- name: Build
|
||||
run: hugo -e prod --minify
|
||||
run: hugo -e prod --minify --baseURL https://io.sivert.pw
|
||||
|
||||
- name: Deploy
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
if: github.ref == 'refs/heads/master'
|
||||
|
2
Makefile
2
Makefile
@ -1,6 +1,6 @@
|
||||
.PHONY: help build create debug clean up down
|
||||
|
||||
BASE := --baseURL http://1313.proxy.blacktarheroin.no/
|
||||
BASE := --baseURL https://1313.proxy.blacktarheroin.no/
|
||||
|
||||
help:
|
||||
@echo '= Make targets:'
|
||||
|
@ -5,9 +5,9 @@ main:
|
||||
- name: About
|
||||
url: /about
|
||||
weight: 3
|
||||
# - name: Old GitHub.io
|
||||
# url: /old
|
||||
# weight: 2
|
||||
- name: Old GitHub.io
|
||||
url: /old
|
||||
weight: 2
|
||||
- name: My Humble Homepage
|
||||
url: https://sivert.pw
|
||||
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:
|
||||
|
||||
Hint; sjekk den engelske utgaven.
|
||||
|
@ -4,7 +4,7 @@
|
||||
<header>
|
||||
<h1>Ooops 404 Not Found!</h1>
|
||||
</header>
|
||||
<p>Click to go to the front page!</p>
|
||||
<p>Click here to go to the front page!</p>
|
||||
</article>
|
||||
</a>
|
||||
{{ end }}
|
Loading…
x
Reference in New Issue
Block a user