Compare commits
2 Commits
1cc0afa342
...
abd0688375
Author | SHA1 | Date | |
---|---|---|---|
![]() |
abd0688375 | ||
![]() |
120090f36c |
@@ -4,4 +4,4 @@ WORKDIR /app
|
||||
|
||||
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
|
||||
|
||||
Run test server:
|
||||
Run test server
|
||||
```
|
||||
docker compose up
|
||||
```
|
||||
@@ -17,3 +17,8 @@ Deploy updates to server
|
||||
```
|
||||
./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 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!"
|
||||
|
22
hugo.yaml
22
hugo.yaml
@@ -1,4 +1,4 @@
|
||||
baseURL: https://sirian.me/
|
||||
baseURL: https://portfolio.sirian.me/
|
||||
languageCode: fi-FI
|
||||
title: Elias Ahokas
|
||||
theme: ["PaperMod"]
|
||||
@@ -20,8 +20,8 @@ params:
|
||||
author: "Elias Ahokas"
|
||||
|
||||
DateFormat: "2.1.2006"
|
||||
defaultTheme: auto
|
||||
disableThemeToggle: false
|
||||
defaultTheme: dark
|
||||
disableThemeToggle: true
|
||||
|
||||
ShowReadingTime: true
|
||||
ShowShareButtons: false
|
||||
@@ -42,21 +42,21 @@ params:
|
||||
|
||||
socialIcons:
|
||||
- name: gitea
|
||||
url: "todo"
|
||||
url: "https://git.sirian.me/sirian"
|
||||
- name: linkedin
|
||||
url: "todo"
|
||||
url: "https://www.linkedin.com/in/elias-a-80a643127/"
|
||||
|
||||
menu:
|
||||
main:
|
||||
- name: Projects
|
||||
url: /projects/
|
||||
weight: 10
|
||||
- name: About
|
||||
url: /about/
|
||||
weight: 20
|
||||
- name: CV
|
||||
url: /cv/
|
||||
weight: 30
|
||||
#- name: About
|
||||
# url: /about/
|
||||
# weight: 20
|
||||
#- name: CV
|
||||
# url: /cv/
|
||||
# weight: 30
|
||||
|
||||
markup:
|
||||
highlight:
|
||||
|
Reference in New Issue
Block a user