Compare commits
2 Commits
1cc0afa342
...
abd0688375
Author | SHA1 | Date | |
---|---|---|---|
![]() |
abd0688375 | ||
![]() |
120090f36c |
@@ -4,4 +4,4 @@ WORKDIR /app
|
|||||||
|
|
||||||
EXPOSE 1313
|
EXPOSE 1313
|
||||||
|
|
||||||
CMD ["hugo", "server", "--bind", "0.0.0.0", "--baseURL=/", "-D", "--disableFastRender"]
|
CMD ["hugo", "server", "-D"]
|
||||||
|
@@ -8,7 +8,7 @@ Hugo allows for quick websites to be made with markdown.
|
|||||||
|
|
||||||
## Developing
|
## Developing
|
||||||
|
|
||||||
Run test server:
|
Run test server
|
||||||
```
|
```
|
||||||
docker compose up
|
docker compose up
|
||||||
```
|
```
|
||||||
@@ -17,3 +17,8 @@ Deploy updates to server
|
|||||||
```
|
```
|
||||||
./deploy.sh
|
./deploy.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Create new page
|
||||||
|
```
|
||||||
|
hugo new --kind post path/post.md
|
||||||
|
```
|
||||||
|
@@ -4,6 +4,6 @@ docker compose up -d hugo-dev
|
|||||||
docker compose exec hugo-dev hugo --minify
|
docker compose exec hugo-dev hugo --minify
|
||||||
docker compose down
|
docker compose down
|
||||||
|
|
||||||
rsync -av --delete public/ sirian@172.16.0.1:/home/sirian/www/portfolio
|
rsync -av --delete public/ sirian@vepsi:/home/sirian/www/portfolio
|
||||||
|
|
||||||
echo "Site deployed!"
|
echo "Site deployed!"
|
||||||
|
22
hugo.yaml
22
hugo.yaml
@@ -1,4 +1,4 @@
|
|||||||
baseURL: https://sirian.me/
|
baseURL: https://portfolio.sirian.me/
|
||||||
languageCode: fi-FI
|
languageCode: fi-FI
|
||||||
title: Elias Ahokas
|
title: Elias Ahokas
|
||||||
theme: ["PaperMod"]
|
theme: ["PaperMod"]
|
||||||
@@ -20,8 +20,8 @@ params:
|
|||||||
author: "Elias Ahokas"
|
author: "Elias Ahokas"
|
||||||
|
|
||||||
DateFormat: "2.1.2006"
|
DateFormat: "2.1.2006"
|
||||||
defaultTheme: auto
|
defaultTheme: dark
|
||||||
disableThemeToggle: false
|
disableThemeToggle: true
|
||||||
|
|
||||||
ShowReadingTime: true
|
ShowReadingTime: true
|
||||||
ShowShareButtons: false
|
ShowShareButtons: false
|
||||||
@@ -42,21 +42,21 @@ params:
|
|||||||
|
|
||||||
socialIcons:
|
socialIcons:
|
||||||
- name: gitea
|
- name: gitea
|
||||||
url: "todo"
|
url: "https://git.sirian.me/sirian"
|
||||||
- name: linkedin
|
- name: linkedin
|
||||||
url: "todo"
|
url: "https://www.linkedin.com/in/elias-a-80a643127/"
|
||||||
|
|
||||||
menu:
|
menu:
|
||||||
main:
|
main:
|
||||||
- name: Projects
|
- name: Projects
|
||||||
url: /projects/
|
url: /projects/
|
||||||
weight: 10
|
weight: 10
|
||||||
- name: About
|
#- name: About
|
||||||
url: /about/
|
# url: /about/
|
||||||
weight: 20
|
# weight: 20
|
||||||
- name: CV
|
#- name: CV
|
||||||
url: /cv/
|
# url: /cv/
|
||||||
weight: 30
|
# weight: 30
|
||||||
|
|
||||||
markup:
|
markup:
|
||||||
highlight:
|
highlight:
|
||||||
|
Reference in New Issue
Block a user