diff --git a/.forestry/front_matter/templates/single.yml b/.forestry/front_matter/templates/single.yml new file mode 100644 index 0000000000000000000000000000000000000000..601850d402429014eddcdbf53ce34f7dfc003e54 --- /dev/null +++ b/.forestry/front_matter/templates/single.yml @@ -0,0 +1,18 @@ +--- +label: single +hide_body: false +fields: +- type: text + name: title + label: title +- name: last_modified_at + type: datetime + label: Date dernière modification + description: '' + config: + required: false + date_format: + time_format: + display_utc: false +pages: +- _pages/cafe-des-langues/presentation.md diff --git a/.forestry/settings.yml b/.forestry/settings.yml index cb397407533e7f9e0e0a4f23f844117fb5818a78..39def3ae06e6ad5c24d41bdd03fe75f1ddb3542e 100644 --- a/.forestry/settings.yml +++ b/.forestry/settings.yml @@ -1,30 +1,25 @@ --- new_page_extension: md auto_deploy: false -admin_path: +admin_path: admin webhook_url: sections: -- type: jekyll-pages - label: Pages - create: all -- type: jekyll-posts - label: Posts - create: all - type: directory path: _pages - label: Pages + label: Toutes les pages create: all match: "**/*" -upload_dir: uploads -public_path: "/uploads" +upload_dir: assets/images +public_path: "/assets/images" front_matter_path: '' -use_front_matter_path: false +use_front_matter_path: file_template: ":filename:" build: preview_env: - JEKYLL_ENV=staging + - GIT_LFS_SKIP_SMUDGE=1 preview_output_directory: _site - install_dependencies_command: bundle install --path vendor/bundle + install_dependencies_command: bundle install preview_docker_image: forestryio/ruby:2.6 mount_path: "/srv" working_dir: "/srv" diff --git a/.forestry/snippets/table.snippet b/.forestry/snippets/table.snippet new file mode 100644 index 0000000000000000000000000000000000000000..cf85a87ed75248f3f70b6246a6d1ce4513d07bc8 --- /dev/null +++ b/.forestry/snippets/table.snippet @@ -0,0 +1,7 @@ +### Table title + +| Header | Header | Header | +| ------ | ------ | ------- | +| Cell | Cell | Cell | +| Cell | Cell | Cell | +| Cell | Cell | Cell | diff --git a/Gemfile b/Gemfile index e08207251e481ce997c892f925f666bc1b0c5ffd..ceb1f322a03510f801940eb50cf147aba6aef7d4 100644 --- a/Gemfile +++ b/Gemfile @@ -22,7 +22,6 @@ gem "jekyll" group :jekyll_plugins do gem "jekyll-paginate" gem "jekyll-sitemap" - gem "jekyll-gist" - gem "jekyll-feed" gem "jekyll-include-cache" + gem "jekyll-menus" end diff --git a/_config.yml b/_config.yml index 17a3d65c77eaf7e1159f832fafedc2ae64431f23..3cee1d633f2c423b306a1059f6f8f554371514fa 100644 --- a/_config.yml +++ b/_config.yml @@ -206,12 +206,14 @@ plugins: - jekyll-paginate - jekyll-sitemap - jekyll-include-cache + - jekyll-menus # mimic GitHub Pages with --safe whitelist: - jekyll-paginate - jekyll-sitemap - jekyll-include-cache + - jekyll-menus # Archives diff --git a/_data/menus.yml b/_data/menus.yml new file mode 100644 index 0000000000000000000000000000000000000000..02a918ad0130c23576516922c58eddc954fd476b --- /dev/null +++ b/_data/menus.yml @@ -0,0 +1,5 @@ +--- +footer: +- title: À propos de Luminy.org + url: about.md + weight: 2 diff --git a/_pages/404.md b/_pages/404.md index df3011040d431a4d1acaaf52f15b07ced999432d..58a83eb39918d19e3a9cc6dcd5c846aa50f663b1 100644 --- a/_pages/404.md +++ b/_pages/404.md @@ -1,7 +1,12 @@ --- title: Page non trouvée -permalink: /404.html +permalink: "/404.html" author_profile: false share: false +menu: + footer: + title: Des témoignages + weight: 1 + --- -# 404 +# 404 \ No newline at end of file diff --git a/_pages/about.md b/_pages/about.md index 97111d981f7c02a5c5c21bdbdc7d58316a79f716..47c212c5e2087ad70433634bf6389779edd12057 100644 --- a/_pages/about.md +++ b/_pages/about.md @@ -1,5 +1,10 @@ --- title: Votre projet sur `luminy.org` +menu: + header: + weight: 2 + title: À propos + --- ## Contribuez au référencement des activités luminyennes Vous êtes actifs sur Luminy ? Vous participez, contribuez ou organisez des @@ -8,5 +13,4 @@ Le CCL, qui gère `luminy.org`, se propose d'héberger votre page, vos pages ou même votre site légé à part sur luminy.org, à apparaître dans la rubrique "[Luminy c'est aussi](/luminy/) ! -## [Parlez-en-nous !](/contacts/) - +## [Parlez-en-nous !](/contacts/) \ No newline at end of file diff --git a/_pages/cafe-des-langues/.gitkeep b/_pages/cafe-des-langues/.gitkeep new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/_pages/cafe-des-langues/presentation.md b/_pages/cafe-des-langues/presentation.md new file mode 100644 index 0000000000000000000000000000000000000000..1c0ff4768bcadd786fd9dbed0c407f4192913da5 --- /dev/null +++ b/_pages/cafe-des-langues/presentation.md @@ -0,0 +1,16 @@ +--- +title: Présentation +last_modified_at: 2019-11-18 23:00:00 +0000 + +--- +Venez discuter avec des étudiants internationaux dans leur langue maternelle autour d'un bon café (italien, bien sûr), tous les jours, du lundi au vendredi, de 13h à 14h au Foyer étudiants (premier étage de l'Hexagone). + +Come and chat with students from all over the world in their native language, every day from Monday to Friday, 13-14, in the Foyer étudiants (first floor at the Hexagone). + +Emploi du temps 2019/2020 : + +Lundi : Italiano (italien) +Mardi : РуÑÑкий (russe) & Português (portugais) +Mercredi : Español (espagnol) +Jeudi : English (anglais) +Vendredi : Français \ No newline at end of file diff --git a/_pages/jardin/gallerie.md b/_pages/jardin/gallerie.md index 50a69687d5d138b448a5a2449c11e810b985f169..96f01f19035f2770ff02030e28b45e0b3d498a4c 100644 --- a/_pages/jardin/gallerie.md +++ b/_pages/jardin/gallerie.md @@ -1,5 +1,8 @@ --- title: Gallerie du jardin ---- +menu: + jardin: + weight: 2 -des images... +--- +des images... \ No newline at end of file diff --git a/_pages/jardin/index.md b/_pages/jardin/index.md index bf0f627117bf1a1c1589a676f1552050cb9ea1b7..109456cd2eff91e972e4bbb239adbc223d3ba71c 100644 --- a/_pages/jardin/index.md +++ b/_pages/jardin/index.md @@ -1,5 +1,11 @@ --- title: Jardin Universitaire de Luminy +menu: + header: + title: Les pages du jardin + weight: 1 + identifier: jardin + --- # c'est le jardin -gloubi boulga +gloubi boulga \ No newline at end of file diff --git a/_pages/jardin/paniers.md b/_pages/jardin/paniers.md index 31e5d886d06bbf26f52f3607cc3bffafa264cfee..dbd921e0eefdb874447a4fcc768125f6c6072e1a 100644 --- a/_pages/jardin/paniers.md +++ b/_pages/jardin/paniers.md @@ -1,9 +1,53 @@ --- title: Les paniers bio ! overlay_image: assets/images/banniere-bulles.png ---- +menu: + footer: + weight: 3 + title: Les paniers bio + jardin: + weight: 1 +--- Tous les jeudis, les paniers marseillais proposent des produits bio en direct de chez les producteurs ; légumes, fruits, Å“ufs, pain, jus, vin, huile, olives, fruits secs, vinaigre, viande, fromages, ... # Distribution paniers bio [Cagette.net]({{ site.data.extlinks.cagette }}) + +header +<ul> +{% for item in site.menus.header %} + <li class="menu-item-{{ loop.index }}"> + <a href="{{ item.url }}" title="Go to {{ item.title }}">{{ item.title }}</a> + {% if item.children %} + <ul class="sub-menu"> + {% for item in item.children %} + {{ item.identifier | inspect }} + <li class="menu-item-{{ loop.index }}"> + <a href="{{ item.url }}" title="Go to {{ item.title }}">{{ item.title }}</a> + </li> + {% endfor %} + </ul> + {% endif %} + </li> +{% endfor %} +</ul> + +jardin +<ul> +{% for item in site.menus.jardin %} + <li class="menu-item-{{ loop.index }}"> + <a href="{{ item.url }}" title="Go to {{ item.title }}">{{ item.title }}</a> + {% if item.children %} + <ul class="sub-menu"> + {% for item in item.children %} + {{ item.identifier | inspect }} + <li class="menu-item-{{ loop.index }}"> + <a href="{{ item.url }}" title="Go to {{ item.title }}">{{ item.title }}</a> + </li> + {% endfor %} + </ul> + {% endif %} + </li> +{% endfor %} +</ul> \ No newline at end of file diff --git a/_posts/2019-11-08-welcome-to-jekyll.markdown b/_posts/2019-11-08-welcome-to-jekyll.markdown deleted file mode 100644 index 62c988000ee320f5b26ebaa9790b8f85b33ee68a..0000000000000000000000000000000000000000 --- a/_posts/2019-11-08-welcome-to-jekyll.markdown +++ /dev/null @@ -1,17 +0,0 @@ ---- -title: "Nouveau site" -date: 2019-11-09 01:45:27 +0100 -categories: jekyll site -image: - path: /assets/images/puget.jpg ---- -un test de post - -`avec un peu de code` -et *de l'italique* - -puis des listes - - un - vrai bordel - * plop - - deux diff --git a/_posts/2019-11-09-lucas-post.markdown b/_posts/2019-11-09-lucas-post.markdown deleted file mode 100644 index fa06a323759e34181eff4d942d115db83bb9cce3..0000000000000000000000000000000000000000 --- a/_posts/2019-11-09-lucas-post.markdown +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: "Welcome to Jekyll!" -date: 2019-11-08 21:45:27 +0100 -author: lucas -categories: jekyll update ---- -You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve`, which launches a web server and auto-regenerates your site when a file is updated. - -Jekyll requires blog post files to be named according to the following format: - -`YEAR-MONTH-DAY-title.MARKUP` - -Where `YEAR` is a four-digit number, `MONTH` and `DAY` are both two-digit numbers, and `MARKUP` is the file extension representing the format used in the file. After that, include the necessary front matter. Take a look at the source for this post to get an idea about how it works. - -Jekyll also offers powerful support for code snippets: - -{% highlight ruby %} -def print_hi(name) - puts "Hi, #{name}" -end -print_hi('Tom') -#=> prints 'Hi, Tom' to STDOUT. -{% endhighlight %} - -Check out the [Jekyll docs][jekyll-docs] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekyll’s GitHub repo][jekyll-gh]. If you have questions, you can ask them on [Jekyll Talk][jekyll-talk]. - -[jekyll-docs]: https://jekyllrb.com/docs/home -[jekyll-gh]: https://github.com/jekyll/jekyll -[jekyll-talk]: https://talk.jekyllrb.com/ diff --git a/_posts/2019-11-09-photo-puget.md b/_posts/2019-11-09-photo-puget.md deleted file mode 100644 index 768b2577ce4e4ca668acaa5e347d0cea853f283a..0000000000000000000000000000000000000000 --- a/_posts/2019-11-09-photo-puget.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -title: photo du Puget -layout: default ---- - -trouvé - - \ No newline at end of file diff --git a/admin/index.html b/admin/index.html new file mode 100644 index 0000000000000000000000000000000000000000..537b597a3b4b7e9d648177ffcfc0fc123de9e972 --- /dev/null +++ b/admin/index.html @@ -0,0 +1,38 @@ +<!-- forestryio: ignore; forestryio: admin --> +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="utf-8"> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <meta name="robots" content="noindex" /> + <title>Admin</title> + <meta name="description" content=" " /> + <meta name="author" content=" " /> + <meta name="HandheldFriendly" content="true" /> + <meta name="MobileOptimized" content="320" /> + <!-- Use maximum-scale and user-scalable at your own risk. It disables pinch/zoom. Think about usability/accessibility before including.--> + <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" /> + + <link rel="stylesheet" href="https://local.forestry.io/main.css" /> + + <!-- Google font --> + <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet"> + + <!-- Fort awesome icon kit --> + <script src="https://use.fortawesome.com/b6f38602.js"></script> + +</head> +<body> +<div id="app"> + +</div> +<script id="admin-config-script" type="text/javascript"> + var env = { + siteId: "fvoljsa2pwi-ca", + local: false + }; +</script> +<script type="application/javascript" src="https://local.forestry.io/forestry.min.js"></script> + +</body> +</html>