From 734f6437deba7a3801693782a0aa332af3831fe2 Mon Sep 17 00:00:00 2001 From: Alan Taranti Date: Wed, 18 May 2016 20:43:36 -0400 Subject: [PATCH 1/4] added support for config facebook link name --- _config.yml | 1 + index.html | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/_config.yml b/_config.yml index d9bafcc..72965da 100644 --- a/_config.yml +++ b/_config.yml @@ -6,6 +6,7 @@ site to see how much longer is left until. Get excited!" #Required. short descri externalLink: "http://yourdomain.com" #Required. link to the main event page. this could be a webpage, a facebook event, an eventbrite page, where ever the main webpage is for your event url: "http://countdown.yourdomain.com" #(Optional) the full URL for this countdown page. This is neccesary for facebook share previews facebookEventLink: #(Optional) if you have a facebook event, put the link here and we'll add a "RSVP on facebook" link at the bottom. +facebookEventText: #(Optional) set a name for the link of facebook event, otherwhise we'll add a "RSVP on facebook" on link at the bottom. hashtag: "" #(Optional) hashtag for the event, example "#hashtag". must be in quotes. colors: #(Optional) background: "#FFF" #color of the background of the page diff --git a/index.html b/index.html index 25c425c..150bcf6 100644 --- a/index.html +++ b/index.html @@ -48,7 +48,13 @@

{{ site.utc | date: "%A %B %-d, %Y" }}

{% if site.facebookEventLink %}
{% endif %} From 31db6453d0b3d47198f04b19a7123c4300c0f77f Mon Sep 17 00:00:00 2001 From: Alan Taranti Date: Wed, 18 May 2016 21:03:55 -0400 Subject: [PATCH 2/4] fix facebookEventText if-else --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 150bcf6..56acaa1 100644 --- a/index.html +++ b/index.html @@ -53,8 +53,8 @@

{{ site.utc | date: "%A %B %-d, %Y" }}

{{site.facebookEventText}} {% else %} RSVP on facebook + {% endif %} - {% endif %} {% endif %} From b26d3e5106781dc4f50bbc749eb691846425ee03 Mon Sep 17 00:00:00 2001 From: Alan Taranti Date: Wed, 18 May 2016 21:09:18 -0400 Subject: [PATCH 3/4] fix facebookEventText identation to match default style --- index.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/index.html b/index.html index 56acaa1..031de2c 100644 --- a/index.html +++ b/index.html @@ -48,12 +48,12 @@

{{ site.utc | date: "%A %B %-d, %Y" }}

{% if site.facebookEventLink %} From 9205c6e4996e6d4ec9311daa9989a1dce8716975 Mon Sep 17 00:00:00 2001 From: Alan Taranti Date: Wed, 18 May 2016 21:10:43 -0400 Subject: [PATCH 4/4] fix facebookEventText identation to match default style --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 031de2c..b0859b7 100644 --- a/index.html +++ b/index.html @@ -54,7 +54,7 @@

{{ site.utc | date: "%A %B %-d, %Y" }}

{% else %} RSVP on facebook {% endif %} - + {% endif %}