Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions config.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
title = "NYC Mesh"
baseURL = "https://www.nycmesh.net/"
defaultContentLanguage = "en"
pygmentsCodefences = true
pygmentsCodefencesGuessSyntax = true
summaryLength = 10

[params]
Expand All @@ -16,8 +14,6 @@ summaryLength = 10
[languages.zh]

[markup]
[markup.blackFriday]
hrefTargetBlank = true
[markup.tableOfContents]
endLevel = 3
ordered = false
Expand Down
13 changes: 5 additions & 8 deletions layouts/_default/baseof.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
{{ if isset .Params "title" }}
{{ .Scratch.Set "title" .Title }}
{{ $title := .Site.Title }}
{{ with .Title }}
{{ if not $.IsHome }}
{{ $title = printf "%s - %s" . $.Site.Title }}
{{ end }}
{{ end }}
{{ if .IsHome }}
{{ else }}
{{ .Scratch.Add "title" " - " }}
{{ .Scratch.Add "title" .Site.Title }}
{{ end }}
{{ $title := .Scratch.Get "title" }}
<!DOCTYPE html>
<html>
<head>
Expand Down
2 changes: 1 addition & 1 deletion layouts/_default/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<div class="pv0 center measure-wide f4">
<h1 class="f2">{{ .Title }}</h1>
<ul class="ma0 list pa0 pb4 f4">
{{ range .Data.Pages }}
{{ range .Pages }}
<li class="bb b--light-gray">
<a href="{{ .RelPermalink }}" class="pv3 flex flex-row-ns flex-column justify-between-ns items-center-ns">
<span class="fw5">
Expand Down
31 changes: 0 additions & 31 deletions layouts/partials/docs/sidebar.html

This file was deleted.

9 changes: 0 additions & 9 deletions layouts/partials/home/get-involved-action.html

This file was deleted.

Empty file.
2 changes: 1 addition & 1 deletion layouts/presentations/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<h2 class="f2">See our <a href="https://www.youtube.com/@NYCMesh/streams">livestreams on YouTube</a></h2>
<h1 class="f2">{{ .Title }}</h1>
<ul class="list pa0 pb4 f5 flex flex-wrap mhn2">
{{ range .Data.Pages }}
{{ range .Pages }}
<li class="w-25-ns w-third-m w-100 pa2 mb2">
<a class="mt1 db " href="{{ .Params.Link }}">
<div class="aspect-ratio aspect-ratio--16x9 mb2">
Expand Down
2 changes: 1 addition & 1 deletion layouts/press/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<div class="pv0 center measure-wide f5">
<h1 class="f2">{{ .Title }}</h1>
<ul class="ma0 list pa0 pb4 f4">
{{ range .Data.Pages }}
{{ range .Pages }}
<li class="bb b--light-gray pv4">
<span class="f4 silver mb1 db">
{{ .Params.Publication }} - {{ .Date.Format "Jan 2, 2006" }}
Expand Down
6 changes: 3 additions & 3 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ publish = "public"
command = "hugo"

[context.production.environment]
HUGO_VERSION = "0.69.0"
HUGO_VERSION = "0.157.0"
HUGO_ENV = "production"

[context.deploy-preview.environment]
HUGO_VERSION = "0.69.0"
HUGO_VERSION = "0.157.0"

[context.branch-deploy.environment]
HUGO_VERSION = "0.69.0"
HUGO_VERSION = "0.157.0"