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.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",
"Web Developer",
"#BCBC7E",
new Date("2022-10-26"),
new Date("2023-02-17")
new Date("2023-03-05")
],
[
"Chartered Institute for Information Security",
"Associate Member",
"#BBBBB0",
new Date("2022-08-09"),
new Date("2023-02-17")
new Date("2023-03-05")
],
[
"West Lancs Scouts Active Support",
@ -37,112 +93,112 @@ function drawChart() {
"Member",
"#BBBBB0",
new Date("2022-06-06"),
new Date("2023-02-17")
new Date("2023-03-05")
],
[
"Computer Arts Society",
"Member",
"#BBBBB0",
new Date("2022-06-06"),
new Date("2023-02-17")
new Date("2023-03-05")
],
[
"Computer Conservation Society",
"Member",
"#BBBBB0",
new Date("2022-06-06"),
new Date("2023-02-17")
new Date("2023-03-05")
],
[
"Consultancy Specialist Group",
"Member",
"#BBBBB0",
new Date("2022-06-06"),
new Date("2023-02-17")
new Date("2023-03-05")
],
[
"Enterprise Architecture Specialist Group",
"Member",
"#BBBBB0",
new Date("2022-06-06"),
new Date("2023-02-17")
new Date("2023-03-05")
],
[
"Green IT Specialist Group",
"Member",
"#BBBBB0",
new Date("2022-06-06"),
new Date("2023-02-17")
new Date("2023-03-05")
],
[
"Health & Care Specialist Group",
"Member",
"#BBBBB0",
new Date("2022-06-06"),
new Date("2023-02-17")
new Date("2023-03-05")
],
[
"Internet Specialist Group",
"Member",
"#BBBBB0",
new Date("2022-06-06"),
new Date("2023-02-17")
new Date("2023-03-05")
],
[
"Information Risk Management and Assurance Specialist Group",
"Member",
"#BBBBB0",
new Date("2022-06-06"),
new Date("2023-02-17")
new Date("2023-03-05")
],
[
"Information Security Specialist Group",
"Member",
"#BBBBB0",
new Date("2022-06-06"),
new Date("2023-02-17")
new Date("2023-03-05")
],
[
"IT Ethics Specialist Group",
"Member",
"#BBBBB0",
new Date("2022-06-06"),
new Date("2023-02-17")
new Date("2023-03-05")
],
[
"Law Specialist Group",
"Member",
"#BBBBB0",
new Date("2022-06-06"),
new Date("2023-02-17")
new Date("2023-03-05")
],
[
"BCS Nottingham & Derby Branch",
"Member",
"#BBBBB0",
new Date("2022-06-06"),
new Date("2023-02-17")
new Date("2023-03-05")
],
[
"Open Source Specialist Group",
"Member",
"#BBBBB0",
new Date("2022-06-06"),
new Date("2023-02-17")
new Date("2023-03-05")
],
[
"Sociotechnical Specialist Group",
"Member",
"#BBBBB0",
new Date("2022-06-06"),
new Date("2023-02-17")
new Date("2023-03-05")
],
[
"BCS, the Chartered Institute for IT",
"Professional Member",
"#BBBBB0",
new Date("2022-06-06"),
new Date("2023-02-17")
new Date("2023-03-05")
],
[
"Chartered Institute for Information Security",
@ -163,7 +219,7 @@ function drawChart() {
"Student Member",
"#BBBBB0",
new Date("2022-05-26"),
new Date("2023-02-17")
new Date("2023-03-05")
],
[
"MORS Cyber CoP",
@ -205,7 +261,7 @@ function drawChart() {
"Supporter",
"#BBBBB0",
new Date("2022-01-14"),
new Date("2023-02-17")
new Date("2023-03-05")
],
[
"Actica Consulting",
@ -261,14 +317,14 @@ function drawChart() {
"Member",
"#BBBBB0",
new Date("2021-09-24"),
new Date("2023-02-17")
new Date("2023-03-05")
],
[
"Mountain Training Association",
"Trainee Member",
"#BBBBB0",
new Date("2021-08-24"),
new Date("2023-02-17")
new Date("2023-03-05")
],
[
"North West Area Meeting",
@ -282,7 +338,7 @@ function drawChart() {
"Member",
"#BBBBB0",
new Date("2021-07-26"),
new Date("2023-02-17")
new Date("2023-03-05")
],
[
"Lancaster Quaker Meeting",
@ -338,7 +394,7 @@ function drawChart() {
"Participant",
"#BBBBB0",
new Date("2021-01-23"),
new Date("2023-02-17")
new Date("2023-03-05")
],
[
"footnotes",
@ -373,7 +429,7 @@ function drawChart() {
"Member",
"#BBBBB0",
new Date("2020-09-29"),
new Date("2023-02-17")
new Date("2023-03-05")
],
[
"Executive Committee",
@ -394,7 +450,7 @@ function drawChart() {
"Website Content Manager",
"#BBBBB0",
new Date("2020-08-31"),
new Date("2023-02-17")
new Date("2023-03-05")
],
[
"Unity2020",
@ -548,14 +604,14 @@ function drawChart() {
"Associate Member",
"#BBBBB0",
new Date("2019-04-01"),
new Date("2023-02-17")
new Date("2023-03-05")
],
[
"Youth Hostel Association",
"Company Member",
"#BBBBB0",
new Date("2019-02-20"),
new Date("2023-02-17")
new Date("2023-03-05")
],
[
"Friends of Lancaster Library",
@ -737,14 +793,14 @@ function drawChart() {
"Member",
"#BBBBB0",
new Date("2018-06-20"),
new Date("2023-02-17")
new Date("2023-03-05")
],
[
"UK England Chapter",
"Member",
"#BBBBB0",
new Date("2018-06-13"),
new Date("2023-02-17")
new Date("2023-03-05")
],
[
"Community Networks SIG",
@ -758,14 +814,14 @@ function drawChart() {
"Member",
"#BBBBB0",
new Date("2018-06-06"),
new Date("2023-02-17")
new Date("2023-03-05")
],
[
"Internet Society",
"Member",
"#BBBBB0",
new Date("2018-06-04"),
new Date("2023-02-17")
new Date("2023-03-05")
],
[
"Mitigate Cyber",
@ -954,7 +1010,7 @@ function drawChart() {
"Member",
"#BBBBB0",
new Date("2017-06-06"),
new Date("2023-02-17")
new Date("2023-03-05")
],
[
"Lonsdale District Scout Network, Scout Network",
@ -1017,7 +1073,7 @@ function drawChart() {
"Member",
"#BBBBB0",
new Date("2016-12-19"),
new Date("2023-02-17")
new Date("2023-03-05")
],
[
"Pendle College, Lancaster University Students' Union",
@ -1388,7 +1444,7 @@ function drawChart() {
"Librarian",
"#BBBBB0",
new Date("2013-05-01"),
new Date("2023-02-17")
new Date("2023-03-05")
],
[
"Patient Participation Group",
@ -1444,7 +1500,7 @@ function drawChart() {
"Minister",
"#BBBBB0",
new Date("2012-01-01"),
new Date("2023-02-17")
new Date("2023-03-05")
],
[
"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" />
{{- $sass := resources.Get "css/main.scss" }}
{{- $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 -}}
</head>

View file

@ -46,7 +46,7 @@
{{ end }}
{{ if in . "charts" }}
<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 }}
@ -123,6 +123,12 @@
{{ define "main-body" }}
<article class="site-content__body" itemprop="articleBody">
{{ .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>
{{ end }}

View file

@ -83,13 +83,7 @@
{{- end -}}
{{- with .Get "title" -}}<h4 class="figcaption__title">{{ . }}</h4>{{- end -}}
{{- with .Get "caption" -}}
<p class="figcaption__caption">{{ . | markdownify }}
{{- 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>
<p class="figcaption__caption">{{ . | markdownify }}</p>
{{- end -}}
</figcaption>
{{- end -}}