brege.org is my static hugo site, which is based on my custom theme, gastrophysics.
How I add a new post on brege.org.
- Initialize
hugo new --kind post post/hello-world hugo server # -D|--buildDrafts - Edit
content/post/hello-world/index.mdand add content after the+++...+++or---...---front matter - Then I run an external
./deployscript to push the changes to my droplet.
Edit files while hugo server is running.
Say you want to remove the hello-world.md article:
rm -r content/post/hello-world/
./deploySee Post README and Recipe README for categories, tagging, and post serialization used on brege.org.
git clone [email protected]:brege/brege.org.git
cd brege.orgThis repo tracks all of the base Markdown files (content) and partials and shortcodes I've made to produce calculators, graphs, and other one-off JavaScript toys. The repo history contains most of the evolution of my gastrophysics theme (formerly, layouts and assets), whose overrides and additions began eclipsing papermod's feature-set.
mkdir -p themes/gastrophysics
git clone [email protected]:brege/gastrophysics.git themes/gastrophysics/Check: hugo server
The main configuration of my cv is in content/cv/cv.yaml. A Markdown version of this is created so:
- hugo/gastrophysics can accurately count words through
.Content - the
cv/index.mdbecomes easier to copy and paste from - works with external Markdown editors
To create the cv.md file:
make cvThis is already automated, even via hugo server, through the Makefile.