kimpham54.github.io
can edit: content/ -> post content layouts/ -> templates, shortcodes static/images/ -> images and media themes/ -> pull down new version periodically
do not edit: public/ -> remove periodically to clear junk and rebuild only
- pull down https://github.com/kimpham54/kimpham54.github.io
- cd themes, git clone https://github.com/athul/archie.git or
git submodule update --init --remote --merge - localhost:1313, test with
hugo server -D. add content, tweak away, test and build withhugo -Dcan remove public folder to rebuild cleanly,or
rm -rf resources
hugo
hugo server -D --disableFastRender --ignoreCache
git add ., commit -m 'new thang', push origin master- github actions from .github/workflow/gh-pages.yml should deploy public/ in master automatically to gh-pages
todos:
- find more video presentations
- add to 'work'
notes:
- images need to go in /static not assets
- tags and dates need to be properly formatted for pages to build
- don't touch any content in themes, need to override
kimpham54.github.io is dead. Long live kimpham54.github.io!
2025-11-08
- hugo needed a big upgrade, as did archie
- added a shortcode for more spaces, {{< space >}}
- added hideDate and showTitle parameters for front matter
- i've noticed an unidentified cause related to uploading images for an issue when i can't push, updates to hugo need to be done in this case incrementally. remove all in public and rebuild. NOW RESOLVED with git config --global http.postBuffer 524288000
2022-08-17 A fresh new look as of August 2022 inspired by https://maxammann.org/ and the open transparent work of https://ashleyblewer.com/. Using the more frequently updated Archie theme (https://github.com/athul/archie), wanted to keep it simple without netlify, want to use Github Actions to build and load rather than have two repositories for deployment. Migrated all my content over.
-
deploy workflow is in .github
-
all config parameters are in config.toml
-
override css in assets, override layouts in layouts
-
unpublish site and republish github actions
-
branches still called master not main
-
untracked content with archie theme git submodule rm craziness
-
oops forgot https athul/archie#1