This directory contains the code for the Chingford & District Model Engineering Club website http://cdmec.co.uk
This website is built using Jekyll
Assets managed with jekyll-assets
Start local server by running
jekyll serve
Then visit http://localhost:4000.
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.
Fonts, images, CSS, and JavaScript are managed using jekyll-assets.
- Gill Sans MT:
_assets/fonts/
Included using@font-face
inmain.css.scss
- Bootstrap Glyphicons:
_assets/fonts/vendor/bootstrap/
- FontAwesome: Uses Font Awesome CDN, JavaScript included in
<head>
All images should be compressed and optimised before inclusion in the repository.
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.
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.
_assets/javascripts/main.js
includes all JavaScript components and is included in _layouts/default.html
before </body>
with JQuery hosted by Google CDN.
Pre-minified Bootstrap placed in _assets/javascripts/vendor/_bootstrap.min.js
.
See favicon-cheat-sheet.
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 should be placed in /files
.
Google Analytics: https://analytics.google.com/
Log in using CDMEC Webmaster email address