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

Skip to content

Commit b955adf

Browse files
constitution page
1 parent f0b2ef4 commit b955adf

File tree

4 files changed

+20
-3
lines changed

4 files changed

+20
-3
lines changed

content/club-constitution.md

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

layouts/_default/constitution.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+
<embed src="/constitution.pdf" type="application/pdf">
12+
</div>
13+
14+
{{ end }}

static/caseyhates.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,3 +208,8 @@ body {
208208
margin: auto;
209209
display: block;
210210
}
211+
212+
.infopage-content>embed {
213+
width: 100%;
214+
height: 100vh;
215+
}

static/constitution.pdf

123 KB
Binary file not shown.

0 commit comments

Comments
 (0)