From 17d724e3e9434bc2acb672a3e91622296e423878 Mon Sep 17 00:00:00 2001 From: Eloi Perdereau <eloi@perdereau.eu> Date: Mon, 11 Nov 2019 07:48:47 +0100 Subject: [PATCH] minor adjust + testing social share --- 404.md | 1 + _config.yml | 2 +- _includes/social-share.html | 3 +++ contacts.md | 1 + 4 files changed, 6 insertions(+), 1 deletion(-) diff --git a/404.md b/404.md index 822a620..df30110 100644 --- a/404.md +++ b/404.md @@ -2,5 +2,6 @@ title: Page non trouvée permalink: /404.html author_profile: false +share: false --- # 404 diff --git a/_config.yml b/_config.yml index d2897a0..03c43b3 100644 --- a/_config.yml +++ b/_config.yml @@ -21,7 +21,7 @@ title_separator : "|" subtitle : "Boulègue ton campus !" name : "Centre Culturel de Luminy CCL" description : "association centre culturel de luminy marseille 13009 culture citoyenneté liberté d'expression art partage des connaissances initiatives sociales concert festival dub reggae rock electro" -url : # the base hostname & protocol for your site e.g. "https://mmistakes.github.io" +url : "https://test.luminy.org" baseurl : # the subpath of your site, e.g. "/blog" repository : # GitHub username/repo-name e.g. "mmistakes/minimal-mistakes" teaser : # path of fallback teaser image, e.g. "/assets/images/500x300.png" diff --git a/_includes/social-share.html b/_includes/social-share.html index 0b37798..f1a6b57 100644 --- a/_includes/social-share.html +++ b/_includes/social-share.html @@ -9,3 +9,6 @@ <a href="https://www.linkedin.com/shareArticle?mini=true&url={{ page.url | absolute_url | url_encode }}" class="btn btn--linkedin" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} LinkedIn"><i class="fab fa-fw fa-linkedin" aria-hidden="true"></i><span> LinkedIn</span></a> </section> +site.url : {{ site.url }} +page.url : {{ page.url }} +page.url absolute : {{ page.url | absolute_url }} diff --git a/contacts.md b/contacts.md index f4df38a..4921cb5 100644 --- a/contacts.md +++ b/contacts.md @@ -1,6 +1,7 @@ --- title: Contacts section: ccl +share: false header: overlay_image: assets/images/puget-fleuri.png --- -- GitLab