Skip to content

nathanjessen/nathanjessen.github.io

Repository files navigation

NathanJessen.github.io

My (old) personal website and blog.

My portfolio has moved to a NextJS implementation. This repository is now Deprecated.

Directories

Some directories are created using GitHub pages in other repositories.

Technologies

Issues

If you discover a bug, report it here or even better, edit and send a pull-request with the fix.

Gulpfile

A Gulpfile does the following:

  • Compiles Tailwind
  • Strips out unused CSS using Tailwind's purge option
  • Runs Autoprefixer
  • Minifies your CSS
  • Compiles Jekyll
  • Runs Browsersync for local development

What is Tailwind?

"Tailwind is a utility-first CSS framework for rapidly building custom user interfaces." –Tailwind

What is Jekyll?

"Jekyll is a simple, blog-aware, static site generator perfect for personal, project, or organization sites. Think of it like a file-based CMS, without all the complexity. Jekyll takes your content, renders Markdown and Liquid templates, and spits out a complete, static website ready to be served by Apache, Nginx or another web server. Jekyll is the engine behind GitHub Pages, which you can use to host sites right from your GitHub repositories." –Jekyll

Requirements

Get started

  • bundle install to install Ruby gems
  • npm ci to install npm packages listed in package-lock.json
  • npm run start or npm run dev to compile the site with development settings and run BrowserSync

Build your site

  • npm run build:dev to compile the site with development settings
  • npm run build:production or npm run build to compile the site for production

Development

To clear a gem and reinstall while developing the gem.

gem cleanup blogtheme
bundle
bundle exec jekyll serve

Local config

bundle exec jekyll serve --config _config.yml,_config_local.yml --verbose