Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f0b2ef4

Browse files
added calendar page
1 parent 3faa059 commit f0b2ef4

File tree

3 files changed

+16
-4
lines changed

3 files changed

+16
-4
lines changed

content/calendar.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
---
22
title: Calendar
3-
layout: 'infopage'
3+
layout: 'calendar'
44
---
5-
6-
hello

layouts/_default/calendar.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{{ define "main" }}
2+
3+
<div id="home-jumbotron" class="jumbotron text-center hero-content infopage-hero d-flex flex-column justify-content-center">
4+
<h1 class="hero-title py-1">{{ .Title }}</h1>
5+
</div>
6+
7+
8+
<div class="bg-light justify-content-center infopage-content" style="min-height: 60vh;">
9+
{{ .Content }}
10+
11+
<iframe loading="lazy" src="https://calendar.google.com/calendar/embed?src=1e24l8e726sovcff4jaebfjl9s%40group.calendar.google.com&ctz=America%2FLos_Angeles" style="border: 0" width="800" height="600" frameborder="0" scrolling="no"></iframe>
12+
</div>
13+
14+
{{ end }}

static/caseyhates.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ body {
203203
color: var(--text-color);
204204
}
205205

206-
.infopage-content>p>img {
206+
.infopage-content>p>img, .infopage-content>iframe {
207207
max-width: 100%;
208208
margin: auto;
209209
display: block;

0 commit comments

Comments
 (0)