mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-10-25 01:16:23 -04:00
make the main content/blog section configurable instead of hardcoded to notes
This commit is contained in:
12 files changed
+25
-21
No files matched your search
@@ -1,6 +1,6 @@
|
||||
{{ if eq hugo.Environment "production" }}
|
||||
<link rel="preconnect" href="https://s.jarv.is" crossorigin>
|
||||
{{ if and .IsPage (and (eq .Type "notes") (ne .Params.comments false)) }}
|
||||
{{ if and .IsPage (and (eq .Type .Site.Params.mainSection) (ne .Params.comments false)) }}
|
||||
<link rel="preconnect" href="https://utteranc.es" crossorigin>
|
||||
<link rel="preconnect" href="https://api.utteranc.es" crossorigin>
|
||||
<link rel="preconnect" href="https://api.github.com" crossorigin>
|
||||
|
||||
Reference in new issue
Block a user