From cf9f637fc2e6dc6f1551af2bea6280812cf35ce1 Mon Sep 17 00:00:00 2001 From: Callum Locke Date: Tue, 17 Nov 2015 16:34:23 +0000 Subject: [PATCH] make page templating work (not yet implementing the design) --- .gitignore | 2 +- .travis.yml | 11 +---- client/{index.html => bottom.hbs} | 42 ------------------ client/definition-page.hbs | 11 +++++ client/main-page.hbs | 11 +++++ client/top.hbs | 39 +++++++++++++++++ gulpfile.babel.js | 72 +++++++++++++++++++++---------- package.json | 2 + 8 files changed, 114 insertions(+), 76 deletions(-) rename client/{index.html => bottom.hbs} (78%) mode change 100755 => 100644 create mode 100755 client/definition-page.hbs create mode 100644 client/main-page.hbs create mode 100644 client/top.hbs diff --git a/.gitignore b/.gitignore index c3041ef..8c9330d 100755 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,4 @@ /.tmp/ /.sass-cache/ /.env -/data.json +/client/words.json diff --git a/.travis.yml b/.travis.yml index 834aa64..aa008e6 100755 --- a/.travis.yml +++ b/.travis.yml @@ -13,13 +13,4 @@ env: GITHUB_REPO: guffipedia GIT_DEPLOY_DIR: dist GIT_DEPLOY_BRANCH: gh-pages - -# You also need to a GITHUB_TOKEN environment variable -# - but DO NOT put it in here because this is public. -# -# Instead, go to the repo settings page on Travis, and create -# a secure variable called GITHUB_TOKEN there (and don't let it -# display value in the build log). -# -# You can generate a token at https://github.com/settings/tokens -# (you only need to give it "public_repo" access). + SPREADSHEET_KEY: 1oQVZsOL1iI8aAwMN_MyV_h8pWBwkRGTDQ_MC0yobICI diff --git a/client/index.html b/client/bottom.hbs old mode 100755 new mode 100644 similarity index 78% rename from client/index.html rename to client/bottom.hbs index 40bfe57..08c786c --- a/client/index.html +++ b/client/bottom.hbs @@ -1,45 +1,3 @@ - - - - - - - - - - - - FT.com - - - - - - - - - - - - - - - - - - - - - - -
-

Content goes here

-
-