Skip to content

Commit eb8f0d0

Browse files
authored
Update hugo + theme (#21)
* update hugo * adjust custom style
1 parent 9db67ae commit eb8f0d0

File tree

6 files changed

+23
-12
lines changed

6 files changed

+23
-12
lines changed

.github/workflows/BuildPage.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Setup Hugo
2525
uses: peaceiris/actions-hugo@v2
2626
with:
27-
hugo-version: '0.81.0'
27+
hugo-version: '0.121.2'
2828
extended: true
2929

3030
- name: Setup Node
@@ -42,7 +42,9 @@ jobs:
4242
run: cp config.toml.${{ steps.extract_branch.outputs.branch }} config.toml
4343

4444
- name: Build Page
45-
run: npm run build
45+
run: |
46+
mv static/css/app.css themes/paper/assets/custom.css
47+
npm run build
4648
4749
- name: Deploy to Staging
4850
uses: peaceiris/actions-gh-pages@v3

config.toml.source

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
baseURL = "https://koneko096.github.io"
22
title = "Postmortem"
33
author = "Afrizal Fikri"
4-
copyright = "Copyright © 2022 - Afrizal Fikri"
4+
copyright = "Copyright © 2024 - Afrizal Fikri"
55
canonifyurls = true
66
theme = "paper"
77
languageCode = "en-us"
@@ -16,9 +16,14 @@ disqusShortname = "postmortem-1"
1616
googleAnalytics = "UA-111769411-1"
1717

1818
[params]
19-
name = "koneko096"
19+
env = "production"
20+
21+
name = "Afrizal Fikri"
22+
bio = "Best outcomes come from trials"
23+
avatar = "https://avatars.githubusercontent.com/u/9217338"
24+
2025
github = "koneko096"
2126
gitlab = "icalF"
2227
linkedin = "afrizalf"
2328
facebook = "icalFikr"
24-
twitter = "koneko096"
29+
rss = true

config.toml.staging

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
baseURL = "https://koneko096.github.io/staging"
22
title = "Postmortem"
33
author = "Afrizal Fikri"
4-
copyright = "Copyright © 2022 - Afrizal Fikri"
4+
copyright = "Copyright © 2024 - Afrizal Fikri"
55
canonifyurls = true
66
theme = "paper"
77
languageCode = "en-us"
@@ -14,10 +14,14 @@ draft = true
1414
paginate = 4
1515

1616
[params]
17-
name = "koneko096"
17+
env = "staging"
18+
19+
name = "Afrizal Fikri"
20+
bio = "Best outcomes come from trials"
21+
avatar = "https://avatars.githubusercontent.com/u/9217338"
22+
1823
github = "koneko096"
1924
gitlab = "icalF"
2025
linkedin = "afrizalf"
2126
facebook = "icalFikr"
22-
twitter = "koneko096"
23-
27+
rss = true

content/posts/kickstart-2022.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ Even though this is the least solved problem in this round, the problem itself a
1414

1515
Kick Start is one of Google annual coding tests beside Code Jam and Hash Code. But this contest is a bit different. The prizes for the top contestants are job opportunity at Google, not money.
1616

17-
Complete description can be viewed [here](https://codingcompetitions.withgoogle.com/kickstart/round/00000000008caa74/0000000000acf318). Given a N x M terrain with obstacles, each cell consists of 2x2 minicells. You start from top left corner (1,1). You have to find a way to visit each minicell *exactly once* and come back to initial corner, if any. You can only move into four true neighbors (no diagonal move).
17+
Complete description can be viewed [here](https://github.com/google/coding-competitions-archive/blob/main/kickstart/2022/round_b/hamiltonian_tour/statement.pdf). Given a N x M terrain with obstacles, each cell consists of 2x2 minicells. You start from top left corner (1,1). You have to find a way to visit each minicell *exactly once* and come back to initial corner, if any. You can only move into four true neighbors (no diagonal move).
1818

19-
{{< figure src="https://codejam.googleapis.com/dashboard/get_file/AQj_6U32_0J5YBAoNnQ3fGCopyxBqak78IdIxW1-INgCDqKp65LFlrrPgjKzBFwegZ6aVOcOwnqLdOM/case2.png" >}}
19+
{{< figure src="/img/hamilton.png" >}}
2020

2121
Google has released the official analysis. But I found it too difficult to understand. So, here I try to simplifying things for you guys with more intuitive way.
2222

static/img/hamilton.png

3.46 KB
Loading

0 commit comments

Comments
 (0)