Skip to content

CDMEC/cdmec.co.uk

Repository files navigation

Chingford & District Model Engineering Club Website

This directory contains the code for the Chingford & District Model Engineering Club website http://cdmec.co.uk

TL;DR

This website is built using Jekyll

Assets managed with jekyll-assets


Usage

Start local server by running

jekyll serve

Then visit http://localhost:4000.

Deployment

Currently done via FTP with the clubs shared web host. Run

jekyll build

to generate the site, then copy the contents of _site/ to the public_html/ root directory.

Assets

Fonts, images, CSS, and JavaScript are managed using jekyll-assets.

Fonts

  • Gill Sans MT: _assets/fonts/ Included using @font-face in main.css.scss
  • Bootstrap Glyphicons: _assets/fonts/vendor/bootstrap/
  • FontAwesome: Uses Font Awesome CDN, JavaScript included in <head>

Images

All images should be compressed and optimised before inclusion in the repository.

CSS

The main CSS file _assets/stylesheets/main.css.scss is included in _includes/head.html and includes Bootstrap and all the components for custom styling. This is minified by jekyll-assets on build.

Bootstrap

This website is designed using Bootstrap for responsive mobile first styling. Currently using Bootstrap official Sass port, v3.3.6.

Upgrading: To upgrade, _assets/stylesheets/vendor/_bootstrap.scss must be modified to include the _assets/stylesheets/_bootstrap_variables.scss override file after Bootstrap includes its own variables file.

JavaScript

_assets/javascripts/main.js includes all JavaScript components and is included in _layouts/default.html before </body> with JQuery hosted by Google CDN.

Bootstrap

Pre-minified Bootstrap placed in _assets/javascripts/vendor/_bootstrap.min.js.

Favicon

See favicon-cheat-sheet.

Email Addresses

To try and tackle spam they're only visible upon completion of a No CAPTCHA reCAPTCHA and are encoded using HTML Character Entities. By no means is this full proof and should be improved.

Downloadable files

Downloadable files should be placed in /files.

Analytics

Google Analytics: https://analytics.google.com/

Log in using CDMEC Webmaster email address

About

Chingford & District Model Engineering Club Website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published