Update theme

This commit is contained in:
Ben Goldsworthy 2023-03-05 14:21:04 -05:00
parent 80774027c1
commit 2a0ecfc3ec
6 changed files with 1155 additions and 46 deletions

File diff suppressed because it is too large Load diff

View file

@ -11,19 +11,75 @@ function drawChart() {
dataTable.addColumn({ type: 'date', id: 'End' }); dataTable.addColumn({ type: 'date', id: 'End' });
dataTable.addRows([ dataTable.addRows([
[
"Workaway, Hospedaje Wounaan",
"Workawayer",
"#BBBBB0",
new Date("2023-02-24"),
new Date("2023-03-05")
],
[
"Workaway, Finca DeLaRey",
"Workawayer",
"#FFFFF0",
new Date("2023-01-30"),
new Date("2023-02-10")
],
[
"El Ranchito Surf Camp",
"Volunteer",
"#FFFFF0",
new Date("2023-01-26"),
new Date("2023-01-26")
],
[
"Self-employed, Lost Corporation",
"Developer",
"#BBBBB0",
new Date("2023-01-19"),
new Date("2023-03-05")
],
[
"Workaway, Finca DeLaRey",
"Workawayer",
"#FFFFF0",
new Date("2023-01-11"),
new Date("2023-01-23")
],
[
"Workaway, Bolita Hostel",
"Workawayer",
"#FFFFF0",
new Date("2022-12-20"),
new Date("2022-12-27")
],
[
"Workaway",
"Workawayer",
"#FFFFF0",
new Date("2022-11-25"),
new Date("2022-12-20")
],
[
"Workaway, Bolita Hostel",
"Workawayer (House-Sitting)",
"#FFFFF0",
new Date("2022-11-16"),
new Date("2022-11-24")
],
[ [
"Morecambe Net", "Morecambe Net",
"Web Developer", "Web Developer",
"#BCBC7E", "#BCBC7E",
new Date("2022-10-26"), new Date("2022-10-26"),
new Date("2023-02-17") new Date("2023-03-05")
], ],
[ [
"Chartered Institute for Information Security", "Chartered Institute for Information Security",
"Associate Member", "Associate Member",
"#BBBBB0", "#BBBBB0",
new Date("2022-08-09"), new Date("2022-08-09"),
new Date("2023-02-17") new Date("2023-03-05")
], ],
[ [
"West Lancs Scouts Active Support", "West Lancs Scouts Active Support",
@ -37,112 +93,112 @@ function drawChart() {
"Member", "Member",
"#BBBBB0", "#BBBBB0",
new Date("2022-06-06"), new Date("2022-06-06"),
new Date("2023-02-17") new Date("2023-03-05")
], ],
[ [
"Computer Arts Society", "Computer Arts Society",
"Member", "Member",
"#BBBBB0", "#BBBBB0",
new Date("2022-06-06"), new Date("2022-06-06"),
new Date("2023-02-17") new Date("2023-03-05")
], ],
[ [
"Computer Conservation Society", "Computer Conservation Society",
"Member", "Member",
"#BBBBB0", "#BBBBB0",
new Date("2022-06-06"), new Date("2022-06-06"),
new Date("2023-02-17") new Date("2023-03-05")
], ],
[ [
"Consultancy Specialist Group", "Consultancy Specialist Group",
"Member", "Member",
"#BBBBB0", "#BBBBB0",
new Date("2022-06-06"), new Date("2022-06-06"),
new Date("2023-02-17") new Date("2023-03-05")
], ],
[ [
"Enterprise Architecture Specialist Group", "Enterprise Architecture Specialist Group",
"Member", "Member",
"#BBBBB0", "#BBBBB0",
new Date("2022-06-06"), new Date("2022-06-06"),
new Date("2023-02-17") new Date("2023-03-05")
], ],
[ [
"Green IT Specialist Group", "Green IT Specialist Group",
"Member", "Member",
"#BBBBB0", "#BBBBB0",
new Date("2022-06-06"), new Date("2022-06-06"),
new Date("2023-02-17") new Date("2023-03-05")
], ],
[ [
"Health & Care Specialist Group", "Health & Care Specialist Group",
"Member", "Member",
"#BBBBB0", "#BBBBB0",
new Date("2022-06-06"), new Date("2022-06-06"),
new Date("2023-02-17") new Date("2023-03-05")
], ],
[ [
"Internet Specialist Group", "Internet Specialist Group",
"Member", "Member",
"#BBBBB0", "#BBBBB0",
new Date("2022-06-06"), new Date("2022-06-06"),
new Date("2023-02-17") new Date("2023-03-05")
], ],
[ [
"Information Risk Management and Assurance Specialist Group", "Information Risk Management and Assurance Specialist Group",
"Member", "Member",
"#BBBBB0", "#BBBBB0",
new Date("2022-06-06"), new Date("2022-06-06"),
new Date("2023-02-17") new Date("2023-03-05")
], ],
[ [
"Information Security Specialist Group", "Information Security Specialist Group",
"Member", "Member",
"#BBBBB0", "#BBBBB0",
new Date("2022-06-06"), new Date("2022-06-06"),
new Date("2023-02-17") new Date("2023-03-05")
], ],
[ [
"IT Ethics Specialist Group", "IT Ethics Specialist Group",
"Member", "Member",
"#BBBBB0", "#BBBBB0",
new Date("2022-06-06"), new Date("2022-06-06"),
new Date("2023-02-17") new Date("2023-03-05")
], ],
[ [
"Law Specialist Group", "Law Specialist Group",
"Member", "Member",
"#BBBBB0", "#BBBBB0",
new Date("2022-06-06"), new Date("2022-06-06"),
new Date("2023-02-17") new Date("2023-03-05")
], ],
[ [
"BCS Nottingham & Derby Branch", "BCS Nottingham & Derby Branch",
"Member", "Member",
"#BBBBB0", "#BBBBB0",
new Date("2022-06-06"), new Date("2022-06-06"),
new Date("2023-02-17") new Date("2023-03-05")
], ],
[ [
"Open Source Specialist Group", "Open Source Specialist Group",
"Member", "Member",
"#BBBBB0", "#BBBBB0",
new Date("2022-06-06"), new Date("2022-06-06"),
new Date("2023-02-17") new Date("2023-03-05")
], ],
[ [
"Sociotechnical Specialist Group", "Sociotechnical Specialist Group",
"Member", "Member",
"#BBBBB0", "#BBBBB0",
new Date("2022-06-06"), new Date("2022-06-06"),
new Date("2023-02-17") new Date("2023-03-05")
], ],
[ [
"BCS, the Chartered Institute for IT", "BCS, the Chartered Institute for IT",
"Professional Member", "Professional Member",
"#BBBBB0", "#BBBBB0",
new Date("2022-06-06"), new Date("2022-06-06"),
new Date("2023-02-17") new Date("2023-03-05")
], ],
[ [
"Chartered Institute for Information Security", "Chartered Institute for Information Security",
@ -163,7 +219,7 @@ function drawChart() {
"Student Member", "Student Member",
"#BBBBB0", "#BBBBB0",
new Date("2022-05-26"), new Date("2022-05-26"),
new Date("2023-02-17") new Date("2023-03-05")
], ],
[ [
"MORS Cyber CoP", "MORS Cyber CoP",
@ -205,7 +261,7 @@ function drawChart() {
"Supporter", "Supporter",
"#BBBBB0", "#BBBBB0",
new Date("2022-01-14"), new Date("2022-01-14"),
new Date("2023-02-17") new Date("2023-03-05")
], ],
[ [
"Actica Consulting", "Actica Consulting",
@ -261,14 +317,14 @@ function drawChart() {
"Member", "Member",
"#BBBBB0", "#BBBBB0",
new Date("2021-09-24"), new Date("2021-09-24"),
new Date("2023-02-17") new Date("2023-03-05")
], ],
[ [
"Mountain Training Association", "Mountain Training Association",
"Trainee Member", "Trainee Member",
"#BBBBB0", "#BBBBB0",
new Date("2021-08-24"), new Date("2021-08-24"),
new Date("2023-02-17") new Date("2023-03-05")
], ],
[ [
"North West Area Meeting", "North West Area Meeting",
@ -282,7 +338,7 @@ function drawChart() {
"Member", "Member",
"#BBBBB0", "#BBBBB0",
new Date("2021-07-26"), new Date("2021-07-26"),
new Date("2023-02-17") new Date("2023-03-05")
], ],
[ [
"Lancaster Quaker Meeting", "Lancaster Quaker Meeting",
@ -338,7 +394,7 @@ function drawChart() {
"Participant", "Participant",
"#BBBBB0", "#BBBBB0",
new Date("2021-01-23"), new Date("2021-01-23"),
new Date("2023-02-17") new Date("2023-03-05")
], ],
[ [
"footnotes", "footnotes",
@ -373,7 +429,7 @@ function drawChart() {
"Member", "Member",
"#BBBBB0", "#BBBBB0",
new Date("2020-09-29"), new Date("2020-09-29"),
new Date("2023-02-17") new Date("2023-03-05")
], ],
[ [
"Executive Committee", "Executive Committee",
@ -394,7 +450,7 @@ function drawChart() {
"Website Content Manager", "Website Content Manager",
"#BBBBB0", "#BBBBB0",
new Date("2020-08-31"), new Date("2020-08-31"),
new Date("2023-02-17") new Date("2023-03-05")
], ],
[ [
"Unity2020", "Unity2020",
@ -548,14 +604,14 @@ function drawChart() {
"Associate Member", "Associate Member",
"#BBBBB0", "#BBBBB0",
new Date("2019-04-01"), new Date("2019-04-01"),
new Date("2023-02-17") new Date("2023-03-05")
], ],
[ [
"Youth Hostel Association", "Youth Hostel Association",
"Company Member", "Company Member",
"#BBBBB0", "#BBBBB0",
new Date("2019-02-20"), new Date("2019-02-20"),
new Date("2023-02-17") new Date("2023-03-05")
], ],
[ [
"Friends of Lancaster Library", "Friends of Lancaster Library",
@ -737,14 +793,14 @@ function drawChart() {
"Member", "Member",
"#BBBBB0", "#BBBBB0",
new Date("2018-06-20"), new Date("2018-06-20"),
new Date("2023-02-17") new Date("2023-03-05")
], ],
[ [
"UK England Chapter", "UK England Chapter",
"Member", "Member",
"#BBBBB0", "#BBBBB0",
new Date("2018-06-13"), new Date("2018-06-13"),
new Date("2023-02-17") new Date("2023-03-05")
], ],
[ [
"Community Networks SIG", "Community Networks SIG",
@ -758,14 +814,14 @@ function drawChart() {
"Member", "Member",
"#BBBBB0", "#BBBBB0",
new Date("2018-06-06"), new Date("2018-06-06"),
new Date("2023-02-17") new Date("2023-03-05")
], ],
[ [
"Internet Society", "Internet Society",
"Member", "Member",
"#BBBBB0", "#BBBBB0",
new Date("2018-06-04"), new Date("2018-06-04"),
new Date("2023-02-17") new Date("2023-03-05")
], ],
[ [
"Mitigate Cyber", "Mitigate Cyber",
@ -954,7 +1010,7 @@ function drawChart() {
"Member", "Member",
"#BBBBB0", "#BBBBB0",
new Date("2017-06-06"), new Date("2017-06-06"),
new Date("2023-02-17") new Date("2023-03-05")
], ],
[ [
"Lonsdale District Scout Network, Scout Network", "Lonsdale District Scout Network, Scout Network",
@ -1017,7 +1073,7 @@ function drawChart() {
"Member", "Member",
"#BBBBB0", "#BBBBB0",
new Date("2016-12-19"), new Date("2016-12-19"),
new Date("2023-02-17") new Date("2023-03-05")
], ],
[ [
"Pendle College, Lancaster University Students' Union", "Pendle College, Lancaster University Students' Union",
@ -1388,7 +1444,7 @@ function drawChart() {
"Librarian", "Librarian",
"#BBBBB0", "#BBBBB0",
new Date("2013-05-01"), new Date("2013-05-01"),
new Date("2023-02-17") new Date("2023-03-05")
], ],
[ [
"Patient Participation Group", "Patient Participation Group",
@ -1444,7 +1500,7 @@ function drawChart() {
"Minister", "Minister",
"#BBBBB0", "#BBBBB0",
new Date("2012-01-01"), new Date("2012-01-01"),
new Date("2023-02-17") new Date("2023-03-05")
], ],
[ [
"Salvation Army", "Salvation Army",

View file

@ -1 +1 @@
<h{{ .Level }} id="{{ .Anchor | safeURL }}" class="{{ range after 1 ( seq .Level ) }}sub{{ end }}heading">{{ .Text | safeHTML }} <a href="#{{ .Anchor | safeURL }}"></a></h{{ .Level }}> <h{{ .Level }} id="{{ .Anchor | safeURL }}" class="{{ range after 1 ( seq .Level ) }}sub{{ end }}heading">{{ .Text | safeHTML }} <a class="heading-anchor" href="#{{ .Anchor | safeURL }}"></a></h{{ .Level }}>

View file

@ -22,7 +22,7 @@
<link href="/css/sanitize.css" rel="stylesheet" /> <link href="/css/sanitize.css" rel="stylesheet" />
{{- $sass := resources.Get "css/main.scss" }} {{- $sass := resources.Get "css/main.scss" }}
{{- $style := $sass | resources.ToCSS | resources.Fingerprint }} {{- $style := $sass | resources.ToCSS | resources.Fingerprint }}
<link rel="stylesheet" type="text/css" href="{{ $style.RelPermalink }}" integrity="{{ $style.Data.Integrity | html }}"> <link rel="stylesheet" type="text/css" href="{{ $style.Permalink }}" integrity="{{ $style.Data.Integrity | html }}">
{{- block "header-scripts" . -}}<!-- -->{{- end -}} {{- block "header-scripts" . -}}<!-- -->{{- end -}}
</head> </head>

View file

@ -46,7 +46,7 @@
{{ end }} {{ end }}
{{ if in . "charts" }} {{ if in . "charts" }}
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script> <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<script src="js/charts.js"></script> <script src="{{ ( $.Page.Resources.GetMatch "charts-init").RelPermalink }}"></script>
{{ end }} {{ end }}
{{ end }} {{ end }}
{{ end }} {{ end }}
@ -123,6 +123,12 @@
{{ define "main-body" }} {{ define "main-body" }}
<article class="site-content__body" itemprop="articleBody"> <article class="site-content__body" itemprop="articleBody">
{{ .Content }} {{ .Content }}
{{ if fileExists ( path.Join $.Page.File.Dir "appendices.md" ) }}
<section class="article-body__appendices">
<h2 class="subheading subheading--appendices">Appendices</h2>
{{ readFile ( path.Join $.Page.File.Dir "appendices.md" ) | markdownify }}
</section>
{{ end }}
</article> </article>
{{ end }} {{ end }}

View file

@ -83,13 +83,7 @@
{{- end -}} {{- end -}}
{{- with .Get "title" -}}<h4 class="figcaption__title">{{ . }}</h4>{{- end -}} {{- with .Get "title" -}}<h4 class="figcaption__title">{{ . }}</h4>{{- end -}}
{{- with .Get "caption" -}} {{- with .Get "caption" -}}
<p class="figcaption__caption">{{ . | markdownify }} <p class="figcaption__caption">{{ . | markdownify }}</p>
{{- with $src -}}
{{- if ( and ( eq .ResourceType "image" ) (or (gt .Width 2000) (gt .Height 2000) ) ) -}}
<span class="figcaption__full-size-link"><a href="{{ .RelPermalink }}">View full size</a></span>
{{- end -}}
{{- end -}}
</p>
{{- end -}} {{- end -}}
</figcaption> </figcaption>
{{- end -}} {{- end -}}