Skip to content

isaiahdaviscom/myportfolio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

182 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Hugo + Tailwind CSS Portfolio

Version Hugo Netlify License

A modern, performance-optimized Hugo portfolio with comprehensive documentation and automated workflows.

πŸ“– Documentation Hub

This project features comprehensive documentation organized by topic and workflow:

🌐 Deployment

βš™οΈ CI/CD Pipeline

πŸ› οΈ Development

πŸ‘₯ Community


⚑ Quick Start

# 1. Install dependencies
npm install

# 2. Start development server
npm run start

# 3. Access your site
open http://localhost:1313

🎯 Key Features

  • βœ… Modern Architecture: Hugo + Tailwind CSS v4 + PostCSS
  • βœ… Content Management: NetlifyCMS with multi-environment support
  • βœ… Performance Optimized: CSS tree-shaking, image optimization
  • βœ… Automated Deployment: Netlify integration with CI/CD pipeline
  • βœ… Developer Experience: Hot reload, linting, formatting
  • βœ… Comprehensive Documentation: Organized guides for every aspect

πŸ“Š Project Status

Component Status Documentation
🎨 Frontend βœ… Complete Development Docs
πŸš€ Deployment βœ… Complete Deployment Guides
πŸ“ CMS βœ… Complete Content Management
βš™οΈ CI/CD βœ… Complete CI/CD Pipeline
πŸ“– Documentation βœ… Complete All Documentation

Need help? Start with the Documentation Hub for comprehensive guides and resources.

  • Homepage: content/_index.md
  • Portfolio: content/portfolio/
  • Blog Posts: content/posts/
  • Other Pages: content/about.md, content/contact.md, etc.

4. Customizing Layouts & Components (Theme)

  • Main Layouts: themes/myPortfolio/layouts/_default/
  • Homepage Layout: themes/myPortfolio/layouts/_default/home.html
  • Partials: themes/myPortfolio/layouts/partials/
  • Shortcodes: themes/myPortfolio/layouts/shortcodes/

5. Styling with Tailwind CSS

  • Edit Tailwind source: src/css/tailwind.css
  • Build CSS: npm run build:css (or npm run watch for auto-rebuild)
  • Link CSS: Layouts include /css/styles.css from the static/css/ directory.

6. Configuration

  • Site-wide settings: hugo.toml (site title, theme, params, menus, etc.)
  • Theme selection: Set theme = "myPortfolio" in hugo.toml.
  • Menu: Define navigation in hugo.toml under [[menus.main]] and ensure referenced content files exist.

7. Theme vs. Project Customization

  • To update the theme for all sites: Edit files in themes/myPortfolio/.
  • To override a theme template for this site only: Copy the file from themes/myPortfolio/layouts/ to layouts/ in the project root and edit there.
  • Static assets in static/ at the project root override theme static assets of the same path.

8. Adding New Features

  • New Section/Page: Add a Markdown file in content/ and create/update a layout in themes/myPortfolio/layouts/.
  • New Component: Add a partial in themes/myPortfolio/layouts/partials/ and include it in layouts as needed.
  • New Shortcode: Add to themes/myPortfolio/layouts/shortcodes/ and use in Markdown as {{< shortcode >}}.

9. Best Practices & Tips

  • Keep theme and project customizations separate for easier upgrades.
  • Use shortcodes for reusable content blocks in Markdown.
  • Use partials for reusable layout components.
  • Keep the dev server running (npm run start) for rapid iteration.
  • Check the public/ folder for build output, but do not edit it directly.

References


Tip: For rapid iteration, keep the dev server running (npm run start) and edit content, layouts, or styles. Hugo and Tailwind will auto-reload your changes.


Packages

 
 
 

Contributors