Personal website for JP Flores, built with Hugo and the hugo-apero theme. Deployed via Netlify.
- Framework: Hugo + blogdown (R)
- Theme: hugo-apero
- Hosting: Netlify (continuous deployment from
master)
Prerequisites: R, the blogdown package, and Hugo.
# Install blogdown if needed
install.packages("blogdown")
# Install the Hugo version used by this site
blogdown::install_hugo()
# Serve the site locally (live reload at http://localhost:4321)
blogdown::serve_site()Or with Hugo directly:
hugo servercontent/ # Site content (Markdown / R Markdown)
about/ # About page
fromwheredoesitstem/ # Podcast episodes
marginalia/ # Long-form writing/journal
project/ # Projects
layouts/ # Custom Hugo layout overrides
assets/ # SCSS and other assets
data/ # Structured data files
static/ # Static files (images, PDFs, etc.)
config.yaml # Main Hugo configuration
netlify.toml # Netlify build settings
- Duplicate
content/marginalia/_entry-template/and rename the folder to your entry's URL slug (e.g.on-mentorship). - Edit the
index.mdinside:- Set
title,date,excerpt, andlead. - Set
draft: falsewhen ready to publish. - Write your entry using
##headings for sections — the left-margin spine on the reading page builds from these automatically.
- Set
- Optional: drop a
featured.jpg(200×200) in the folder and addfeatured: featured.jpgto the front matter to show a thumbnail on the index. - Commit and push — Netlify deploys automatically.
git add content/marginalia/your-entry-slug/
git commit -m "Add marginalia entry: your entry title"
git pushEvery push to master triggers an automatic build and deploy on Netlify. No manual steps required.
Content © JP Flores. Theme licensed under MIT.