[go: up one dir, main page]

Skip to content

An alternate custom Go Media Website utilizing `Jekyll` instead of `WordPress`

Notifications You must be signed in to change notification settings

tbrennan77/trygo

Repository files navigation

TryGoMedia.com website

This site was built with Jekyll—a static site generator. Props to Jon Suh for initial site architecture and Readme creation.

Requirements

Development

The following are instructions for compiling and developing the site. For more about Jekyll, read the official Quick-start guide.

  1. Clone the project and cd into the directory.
  2. Run npm install && bundle to install dependencies.

HTML

  • Most of the markup lives in index.html.
  • index.html relies on the default layout file, _layouts/default.html.

CSS

  • CSS is compiled via Sass in the SCSS syntax—Jekyll comes with Sass support.
  • Files are located in assets/cssassets/css/site.scss is the manifest.

JS

  • JS files are in assets/js.

Compiling

  • bundle exec jekyll build performs a compile of the site.
  • The production-ready files are generated in the _site directory.

Development Environment

  • bundle exec jekyll serve creates a local development environment—point your browser to http://localhost:4000.

I included some niceties if you’d like some extra, development-friendly tools. This requires:

The following are commands that you may find helpful:

  • npm run watch: run development environment—point your browser to http://localhost:3000. This includes CSS hot-reloading—see CSS changes instantly without reloading the browser.
  • npm run dist: creates production-ready files—_site directory—which includes compressing CSS and uglifying JS.

About

An alternate custom Go Media Website utilizing `Jekyll` instead of `WordPress`

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published