Skip to content

miguelsolorio/miguelsolorio.com

Repository files navigation

Miguel Solorio Site

The code for my personal site. It's build with Hugo and Tailwind.

Site

File Structure

HTML

All pages can be found under content which use the default layout template found under layouts > _default. You can also find all partials under layouts > partial.

CSS

All CSS dependencies are imported at assets > css > main.css, which automatically adds Tailwind.

JavaScript

All JS files are part of the assets > js > scripts.js array in the gulpfile.js

Assets

All static images are under static, each post has a dedicated folder for its own assets.

Posts

All posts are under content and you can generate a new post via hugo <post-name>.md.

Building

Development

Install dependncies via npm install

Run npm run develop or if you're using VS Code, Cmd/Ctrl + Shift + B to buid locally.

Deployment

Run npm run export to export files for deployment.