From 0ab67ae181cc474bb1b060b2d6b4f6ea3d3328c3 Mon Sep 17 00:00:00 2001 From: Igor Laborie Date: Sat, 9 Mar 2019 18:17:07 +0100 Subject: [PATCH] add ticket --- README.md | 27 ++++++++++++++++++++++++--- content/_index.fr.md | 28 +++++++++++++++------------- content/_index.md | 25 ++++++++++++++----------- themes/devfest-theme-hugo | 2 +- 4 files changed, 54 insertions(+), 28 deletions(-) diff --git a/README.md b/README.md index 00f09e5..acac93a 100644 --- a/README.md +++ b/README.md @@ -60,14 +60,35 @@ You can edit You can use `hugo new blog/i-create-a-new-entry.md` command and then edit it. Or just copy an already existing blog entry, and update the content. -## Tooling - -First you need to install dependencies with `yarn`. +### Update the theme + +If you need to touch file of the theme (i.e. into `./themes/devfest-theme-hugo/`) you to know one more thing: + +The theme is in another Git repository , +it's using [git submodules](https://git-scm.com/book/en/v2/Git-Tools-Submodules), +so you need to handle this two repository. + +So this is an example of workflow: + +* install last NodeJS and yarn, see [here](https://github.com/creationix/nvm) and [yarn](https://yarnpkg.com/) +* go into the theme folder `./themes/devfest-theme-hugo/` +* install dependencies with `yarn` +* run `npm start` to launch automatically the build when a file change +* (you still need to launch `hugo server` into the site folder) +* HACK, HACK, HACK +* then build an optimized version with `npm run build` +* then create the PR (or push) +* into the site folder, `git add themes/devfest-theme-hugo` +* then create the PR (or push) ### Publish To publish the site on firebase, just run `firebase deploy`. Note that you need to authenticate once with `firebase login` +YOU DON'T NEED to publish manually the website, it's already done by pushing on `develop` or `master` branches. + +You could take a look at the `.gitlab-ci.yml` file + ### Extract data from CFP diff --git a/content/_index.fr.md b/content/_index.fr.md index 840ff69..e95629b 100644 --- a/content/_index.fr.md +++ b/content/_index.fr.md @@ -51,39 +51,41 @@ Le DevFest, ou 'Developers Festival', est une conférence technique destinée au {{% /home-subscribe %}} - {{% home-tickets %}} # Billets \* Votre billet vous donne accès à toutes les conférences, aux pauses café, et au repas. L'hébergement n'est PAS inclus dans ce prix. {{% /home-tickets %}} ---> diff --git a/content/_index.md b/content/_index.md index 32a84bf..8030821 100644 --- a/content/_index.md +++ b/content/_index.md @@ -57,40 +57,43 @@ It is aimed at students, professionals or simply curious technophiles. {{% /home-subscribe %}} - {{% home-tickets %}} # Tickets \* Your ticket gives you access to all conferences, coffee breaks, and lunch. Accommodation is NOT included in this price. {{% /home-tickets %}} ---> diff --git a/themes/devfest-theme-hugo b/themes/devfest-theme-hugo index 4f6611e..702dfad 160000 --- a/themes/devfest-theme-hugo +++ b/themes/devfest-theme-hugo @@ -1 +1 @@ -Subproject commit 4f6611e600ecf6c54f34013ada93c0df214e096a +Subproject commit 702dfad81b9385643c4df87adf566fb44c650202