0.0.0 • Published 5 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
purgeoption - Runs Autoprefixer
- Minifies CSS
- Compiles Jekyll
- Runs Browsersync for local development
Requirements
Development
bundle installto install Ruby gemsnpm installfor node packages- Note that private packages are pulled from GitHub, so the
EIGHTYTWELVE_NPM_READtoken needs to be set.
- Note that private packages are pulled from GitHub, so the
npm run startornpm run devto compile the site with development settings and run BrowserSync- Locally, the
npm run startcommand will build with the--incrementalflag. To start fresh, usenpm run build:productionfirst.
Testing
- Run
rake test, which will build site with production values and run HTML checks
Building
npm run build:devto compile the site with development settingsnpm run build:productionornpm run buildto 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
5 years ago