master
Igor Laborie 6 years ago
parent b790f9b345
commit 0ab67ae181
  1. 27
      README.md
  2. 28
      content/_index.fr.md
  3. 25
      content/_index.md
  4. 2
      themes/devfest-theme-hugo

@ -60,14 +60,35 @@ You can edit
You can use `hugo new blog/i-create-a-new-entry.md` command and then edit it. 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. Or just copy an already existing blog entry, and update the content.
## Tooling ### Update the theme
First you need to install dependencies with `yarn`. 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 <https://github.com/GDGToulouse/devfest-theme-hugo>,
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 ### Publish
To publish the site on firebase, just run `firebase deploy`. To publish the site on firebase, just run `firebase deploy`.
Note that you need to authenticate once with `firebase login` 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 ### Extract data from CFP

@ -51,39 +51,41 @@ Le DevFest, ou 'Developers Festival', est une conférence technique destinée au
{{% /home-subscribe %}} {{% /home-subscribe %}}
<!-- ... <!-- ... -->
{{% home-tickets %}} {{% home-tickets %}}
# Billets # Billets
<ul> <ul>
<li>{{< ticket name="Blind Birds" <li>{{< ticket name="Blind Birds"
starts="2019-04-04" starts="2019-03-25"
ends="2019-11-08" ends="2019-04-25"
price="40 €" price="40 €"
info="50 premières places" info="50 premières places"
soldOut="true" close="true"
url="https://www.billetweb.fr/devfest-toulouse-2018" >}}</li> soldOut=""
url="https://www.billetweb.fr/devfest-toulouse-2019" >}}</li>
<li>{{< ticket name="Early Birds" <li>{{< ticket name="Early Birds"
starts="2019-04-04" starts="2019-04-25"
ends="2019-11-08" ends="2019-06-22"
price="60 €" price="60 €"
info="70 premières places" info="70 premières places"
soldOut="true" close="true"
url="https://www.billetweb.fr/devfest-toulouse-2018" >}}</li> soldOut=""
url="https://www.billetweb.fr/devfest-toulouse-2019" >}}</li>
<li>{{< ticket name="Normal" <li>{{< ticket name="Normal"
starts="2019-04-04" starts="2019-06-22"
ends="2019-11-08" ends="2019-10-03"
price="80 €" price="80 €"
info="250 places restantes" info="250 places restantes"
close="true"
soldOut="" soldOut=""
url="https://www.billetweb.fr/devfest-toulouse-2018" >}}</li> url="https://www.billetweb.fr/devfest-toulouse-2019" >}}</li>
</ul> </ul>
\* 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. \* 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 %}} {{% /home-tickets %}}
-->
<!-- ... --> <!-- ... -->

@ -57,40 +57,43 @@ It is aimed at students, professionals or simply curious technophiles.
{{% /home-subscribe %}} {{% /home-subscribe %}}
<!-- ... <!-- ... -->
{{% home-tickets %}} {{% home-tickets %}}
# Tickets # Tickets
<ul> <ul>
<li>{{< ticket name="Blind Birds" <li>{{< ticket name="Blind Birds"
starts="2019-04-04" starts="2019-03-25"
ends="2019-04-25"
ends="2019-11-08" ends="2019-11-08"
price="40 €" price="40 €"
info="50 first places" info="50 first places"
soldOut="true" close="true"
url="https://www.billetweb.fr/devfest-toulouse-2018" >}}</li> soldOut=""
url="https://www.billetweb.fr/devfest-toulouse-2019" >}}</li>
<li>{{< ticket name="Early Birds" <li>{{< ticket name="Early Birds"
starts="2019-04-04" starts="2019-04-25"
ends="2019-11-08" ends="2019-06-22"
price="60 €" price="60 €"
info="70 first places" info="70 first places"
soldOut="true" soldOut=""
close="true"
url="https://www.billetweb.fr/devfest-toulouse-2018" >}}</li> url="https://www.billetweb.fr/devfest-toulouse-2018" >}}</li>
<li>{{< ticket name="Normal" <li>{{< ticket name="Normal"
starts="2019-04-04" starts="2019-06-22"
ends="2019-11-08" ends="2019-10-03"
price="80 €" price="80 €"
info="250 last places" info="250 last places"
close="true"
soldOut="" soldOut=""
url="https://www.billetweb.fr/devfest-toulouse-2018" >}}</li> url="https://www.billetweb.fr/devfest-toulouse-2019" >}}</li>
</ul> </ul>
\* Your ticket gives you access to all conferences, coffee breaks, and lunch. Accommodation is NOT included in this price. \* Your ticket gives you access to all conferences, coffee breaks, and lunch. Accommodation is NOT included in this price.
{{% /home-tickets %}} {{% /home-tickets %}}
-->
<!-- ... --> <!-- ... -->

@ -1 +1 @@
Subproject commit 4f6611e600ecf6c54f34013ada93c0df214e096a Subproject commit 702dfad81b9385643c4df87adf566fb44c650202
Loading…
Cancel
Save