5
0
mirror of https://git.coop/cotech/website.git synced 2024-11-24 23:53:07 +00:00
Go to file
Chris Lowis 8ed88952dc Fix client name under logo on co-op pages
The data files under _clients use 'title' instead of 'name'.
2018-11-11 21:20:38 +00:00
_clients Fix invalid YAML in _clients/now-pensions.md 2018-11-11 21:15:46 +00:00
_coops Fix twitter link and quote : in dev-the-developers-society.md 2018-11-10 21:21:18 +00:00
_includes Extract Mapbox access token into config 2017-07-01 20:16:37 +01:00
_layouts Fix client name under logo on co-op pages 2018-11-11 21:20:38 +00:00
_services Migrate services from old site 2018-11-10 22:08:20 +00:00
_technologies Migrate technologies from old site 2018-11-10 21:53:06 +00:00
_uploads Added Devops 2017-07-05 20:57:24 +01:00
app Enable map for home page 2017-07-01 20:03:52 +01:00
images Convert all client images to png 2018-11-11 21:14:42 +00:00
scripts Add script to migrate clients from wordpress mirror 2018-11-11 21:11:19 +00:00
_config.yml Exclude scripts directory when building site 2018-11-10 21:10:18 +00:00
.gitignore Ignore generated files 2017-06-27 14:20:39 +01:00
.gitlab-ci.yml Fix ruby version to 2.5.3 2018-11-10 22:51:01 +00:00
.ruby-version Fix ruby version to 2.5.3 2018-11-10 22:51:01 +00:00
about.md Updated About 2017-07-06 10:55:00 +01:00
favicon.ico Add favicon 2017-06-28 17:22:05 +01:00
Gemfile Add github-pages Gem 2017-06-27 14:18:47 +01:00
Gemfile.lock Update github-pages 140 -> 192 2018-11-05 21:02:29 +00:00
index.html Fix members grid on homepage 2018-11-10 21:23:50 +00:00
join.md Updated Config and 19 other files 2017-07-05 20:36:03 +01:00
manifesto.md Updated Config and 19 other files 2017-07-05 20:36:03 +01:00
README.md Remove deprecation warning 2018-11-10 22:18:40 +00:00

CoTech Website

Introduction

This is an attempt at porting the current Wordpress version of the CoTech Website to be statically generated using Jekyll and served on Github Pages.

I've mostly done this by capturing (28 Jun & 01 Jul) the rendered HTML and associated assets and then making the HTML "dynamic" using Liquid tags where appropriate. I decided to do it this way rather trying to do it from scratch based on the existing source code, because it gave me more confidence that I had captured everything generated by Wordpress.

I've stripped out a bunch of Wordpress-related boiler-plate code which I don't think is needed and I've converted the top-level static content pages from HTML to Markdown to make them easier to maintain.

Work left to complete port

  • Add data & assets for all co-ops, services, technologies & clients - I've only added a few so far
  • Re-add Piwik tracking code - I removed this to avoid confusing the metrics for the current website
  • Remove instances of {{ site.github.url }} - only necessary while hosting at non-root path
  • Double-check paths haven't changed
  • Double-check I haven't missed anything, e.g. are these Wordpress plugins really not used

Tidying up / improvements

  • Rationalise assets directories - assets/css, assets/js & assets/img seems to be a standard pattern
  • Use SCSS source for CSS e.g. web/app/themes/coop-tech-oowp-theme/assets/scss/*.scss
  • Automatic geo-coding of co-op addresses - currently latitude & longitude have to be entered manually
  • Reduce duplication in Mapbox-related JavaScript
  • Fix bug in Mapbox-related JavaScript on service/technology pages - exists on current website

Further work

  • Add a sitemap - the current site doesn't have one
  • Add a blog with RSS feed