Browse Source

updating wrong iframe google calendar

master
Fran Acien 11 months ago
parent
commit
238720ba2e
2 changed files with 5 additions and 3 deletions
  1. +4
    -2
      exampleSite/config.toml
  2. +1
    -1
      layouts/section/activities.html

+ 4
- 2
exampleSite/config.toml View File

@@ -28,8 +28,10 @@ copyright = "© Copyright 2017 Foo Bar"
# Using Google calendar on "insert calendar"
calendarPublicURL = "https://calendar.google.com/calendar?cid=ZWE0cmN0Lm9yZ19oNjVidW1obzRydGRwNWRsYmtpajFodWxmY0Bncm91cC5jYWxlbmRhci5nb29nbGUuY29t"

# iframe from Google Calendar: Better without title, without print icon, using month, wight: 500, height: 400
calendarIframeSrc = "https://calendar.google.com/calendar/b/2/embed?showTitle=0&showPrint=0&height=400&wkst=1&bgcolor=%23FFFFFF&src=ea4rct.org_h65bumho4rtdp5dlbkij1hulfc%40group.calendar.google.com&color=%23691426&ctz=Europe%2FMadrid"
# iframe from Google Calendar: Better without title, without print icon, using month, wight: 500, height: 400
calendarIframe = '''
<iframe src="https://calendar.google.com/calendar/b/2/embed?showTitle=0&amp;showDate=0&amp;showCalendars=0&amp;height=400&amp;wkst=2&amp;bgcolor=%23FFFFFF&amp;src=ea4rct.org_h65bumho4rtdp5dlbkij1hulfc%40group.calendar.google.com&amp;color=%23691426&amp;ctz=Europe%2FMadrid" style="border-width:0" width="500" height="400" frameborder="0" scrolling="no"></iframe>
'''

# This is displayer in About page.
[params.about]


+ 1
- 1
layouts/section/activities.html View File

@@ -26,7 +26,7 @@
<div class="col-md-6">
<h2>Calendario de actividades</h2>
<p><a href="{{ .Site.Params.activities.calendarPublicURL }}"> Subscríbete a nuestro calendario </a> para estar siempre informado de todas las actividades que realizamos en el RadioClub, de las actividades de interés en la ETSIT UPM y de las activades de Radio de la zona!</p>
<iframe src="{{ .Site.Params.activities.calendarIframeSrc }}" style="border-width:0" width="500" height="400" frameborder="0" scrolling="no"></iframe>
{{ .Site.Params.activities.calendarIframe | safeHTML}}
</p>
</div>
</div>


Loading…
Cancel
Save