0.0.0 • Published 3 years ago
statushero-blog v0.0.0
Status Hero Blog
Static-files blog, generated with Jekyll, hosted on Netifly at https://blog.statushero.com, and served from https://statushero.com/blog by a Cloudflare Worker configuration.
Originally Forked from https://github.com/taylorbryant/jekyll-starter-tailwind
Highlights
This repo is managed with Gulp, and includes the following functionality:
- Compiles Tailwind
- Strips out unused CSS using Tailwind's
purge
option - Runs Autoprefixer
- Minifies CSS
- Compiles Jekyll
- Runs Browsersync for local development
Requirements
Development
bundle install
to install Ruby gemsnpm install
for node packages- Note that private packages are pulled from GitHub, so the
EIGHTYTWELVE_NPM_READ
token needs to be set.
- Note that private packages are pulled from GitHub, so the
npm run start
ornpm run dev
to compile the site with development settings and run BrowserSync- Locally, the
npm run start
command will build with the--incremental
flag. To start fresh, usenpm run build:production
first.
Testing
- Run
rake test
, which will build site with production values and run HTML checks
Building
npm run build:dev
to compile the site with development settingsnpm run build:production
ornpm run build
to compile the site for production
Deploy
Note: By default, Netlify uses jekyll build
as the build command. The included netlify.toml
file will override it to use npm run build
.
TODO
- x Favicons (do on regular site first, with dark and light schemes: https://blog.tomayac.com/2019/09/21/prefers-color-scheme-in-svg-favicons-for-dark-mode-icons/)
- x Tailwind forms plugin
- x Newsletter CTA
- x Search (put in breadcrumb?)
- x Main CTA
- x Descriptions for each category
- x feed.xml
- x Sitemap
- x Canonical
- x Test on Win/Edge/IE
- x OG ("website" vs "article", only show image with articles)
- x Analytics
- x Tests, CI
- Extract tailwind config/theme stuff to a plugin
- x Accessability
- Cutover (temp nav?)
Legal
You are browsing this source code because of your contractual relationship with 8012 Labs, LLC. Your use and modification of the code is governed by this contract. There is no license to copy or distribute this source code in any way.
Copyright (c) 8012 Labs, LLC.
0.0.0
3 years ago