mirror of
https://github.com/danbee/danbarber.me.hugo.git
synced 2025-03-04 08:59:18 +00:00
Compare commits
No commits in common. "10be52708acfd755dba113937c849fcdc1dce593" and "ad7a76175f7224a776d8470586e7e5b992a13e10" have entirely different histories.
10be52708a
...
ad7a76175f
@ -7,21 +7,20 @@
|
|||||||
"feed_url": "{{ .Permalink}}",
|
"feed_url": "{{ .Permalink}}",
|
||||||
|
|
||||||
"items": [
|
"items": [
|
||||||
{{ range $i, $e := first 20 .Site.RegularPages }}
|
{{ range $i, $e := first 40 .Site.RegularPages }}
|
||||||
{{ if $i }}, {{ end }}
|
{{ if $i }}, {{ end }}
|
||||||
|
|
||||||
{
|
{
|
||||||
"id": "{{ .Permalink }}",
|
"id": "{{ .Permalink }}",
|
||||||
"title": "{{ .Title }}",
|
"title": "{{ .Title }}",
|
||||||
{{ if .Params.image }}
|
{{ if .Params.image }} {{ $src := .Page.Resources.GetMatch (.Params.image) }}
|
||||||
{{ $src := .Page.Resources.GetMatch (.Params.image) }}
|
|
||||||
{{ $image := $src.Fit $imageSize }}
|
{{ $image := $src.Fit $imageSize }}
|
||||||
"image": "{{ $image.RelPermalink }}",
|
"image": "{{ $image.RelPermalink }}",
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if .Params.categories }}
|
{{ if .Params.categories }}
|
||||||
"categories": ["{{ delimit .Params.categories "," }}"],
|
"categories": ["{{ delimit .Params.categories "," }}"],
|
||||||
{{ end }}
|
{{ end }}
|
||||||
"content_html": {{ .Content | jsonify }},
|
"content_text": {{ .Summary | jsonify }},
|
||||||
"url": "{{ .Permalink }}",
|
"url": "{{ .Permalink }}",
|
||||||
"date_published": "{{ .Date }}"
|
"date_published": "{{ .Date }}"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,41 +0,0 @@
|
|||||||
{{ printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\" ?>" | safeHTML }}
|
|
||||||
<feed xmlns="http://www.w3.org/2005/Atom">
|
|
||||||
|
|
||||||
<title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}</title>
|
|
||||||
<link href="{{ .Permalink }}" />
|
|
||||||
<link rel="self" href="{{ .Permalink }}index.xml" />
|
|
||||||
<id>{{ .Permalink }}</id>
|
|
||||||
<generator uri="https://gohugo.io">Hugo</generator>
|
|
||||||
|
|
||||||
<author>
|
|
||||||
<name>Daniel Barber</name>
|
|
||||||
</author>
|
|
||||||
|
|
||||||
{{ with .Site.Author.email }}
|
|
||||||
<author>
|
|
||||||
<name>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</name>
|
|
||||||
</author>
|
|
||||||
{{end}}
|
|
||||||
|
|
||||||
{{ with .Site.Copyright }}
|
|
||||||
<copyright>{{.}}</copyright>
|
|
||||||
{{end}}
|
|
||||||
|
|
||||||
{{ if not .Date.IsZero }}
|
|
||||||
<updated>{{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</updated>
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
{{ range first 20 .Site.RegularPages }}
|
|
||||||
<entry>
|
|
||||||
<title>{{ .Title }}</title>
|
|
||||||
<link href="{{ .Permalink }}" />
|
|
||||||
<updated>{{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</updated>
|
|
||||||
<id>{{ .Permalink }}</id>
|
|
||||||
<author>
|
|
||||||
<name>Daniel Barber</name>
|
|
||||||
</author>
|
|
||||||
<content type="html">{{ .Content | html }}</content>
|
|
||||||
</entry>
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
</feed>
|
|
||||||
@ -21,15 +21,6 @@
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
|
|
||||||
<!-- Favicon -->
|
|
||||||
<link href="" rel="shortcut icon">
|
|
||||||
|
|
||||||
<!-- Large favicon for Opera Speed Dial -->
|
|
||||||
<link rel="icon" type="image/png" href="/favicon_32.png">
|
|
||||||
|
|
||||||
<!-- iOS favicons -->
|
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon-180x180.png">
|
|
||||||
|
|
||||||
<!-- Indieweb -->
|
<!-- Indieweb -->
|
||||||
<link rel="micropub" href="https://danbarber.me/micropub/main">
|
<link rel="micropub" href="https://danbarber.me/micropub/main">
|
||||||
<link rel="token_endpoint" href="https://tokens.indieauth.com/token">
|
<link rel="token_endpoint" href="https://tokens.indieauth.com/token">
|
||||||
|
|||||||
@ -1,35 +1,33 @@
|
|||||||
{{ printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\" ?>" | safeHTML }}
|
{{ printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\" ?>" | safeHTML }}
|
||||||
<feed xmlns="http://www.w3.org/2005/Atom">
|
<feed xmlns="http://www.w3.org/2005/Atom">
|
||||||
|
|
||||||
<title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}</title>
|
<title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}</title>
|
||||||
<link href="{{ .Permalink }}" />
|
|
||||||
<link rel="self" href="{{ .Permalink }}index.xml" />
|
|
||||||
<id>{{ .Permalink }}"</id>
|
|
||||||
<generator uri="https://gohugo.io">Hugo</generator>
|
|
||||||
|
|
||||||
<author>
|
|
||||||
<name>Daniel Barber</name>
|
|
||||||
</author>
|
|
||||||
|
|
||||||
{{ with .Site.Copyright }}
|
|
||||||
<copyright>{{.}}</copyright>
|
|
||||||
{{end}}
|
|
||||||
|
|
||||||
{{ if not .Date.IsZero }}
|
|
||||||
<updated>{{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</updated>
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
{{ range first 20 .Pages }}
|
|
||||||
<entry>
|
|
||||||
<title>{{ .Title }}</title>
|
|
||||||
<link href="{{ .Permalink }}" />
|
<link href="{{ .Permalink }}" />
|
||||||
<updated>{{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</updated>
|
<id>{{ .Permalink }}"</id>
|
||||||
<id>{{ .Permalink }}</id>
|
<generator uri="https://gohugo.io">Hugo</generator>
|
||||||
|
|
||||||
|
{{ with .Site.Author.email }}
|
||||||
<author>
|
<author>
|
||||||
<name>Daniel Barber</name>
|
<name>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</name>
|
||||||
</author>
|
</author>
|
||||||
<content type="html">{{ .Content | html }}</content>
|
{{end}}
|
||||||
</entry>
|
|
||||||
{{ end }}
|
{{ with .Site.Copyright }}
|
||||||
|
<copyright>{{.}}</copyright>
|
||||||
|
{{end}}
|
||||||
|
|
||||||
|
{{ if not .Date.IsZero }}
|
||||||
|
<updated>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</updated>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{ range first 20 .Pages }}
|
||||||
|
<entry>
|
||||||
|
<title>{{ .Title }}</title>
|
||||||
|
<link href="{{ .Permalink }}" />
|
||||||
|
<updated>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</updated>
|
||||||
|
<id>{{ .Permalink }}</id>
|
||||||
|
<content type="html">{{ .Content | html }}</content>
|
||||||
|
</entry>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
</feed>
|
</feed>
|
||||||
|
|||||||
@ -1,35 +1,33 @@
|
|||||||
{{ printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\" ?>" | safeHTML }}
|
{{ printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\" ?>" | safeHTML }}
|
||||||
<feed xmlns="http://www.w3.org/2005/Atom">
|
<feed xmlns="http://www.w3.org/2005/Atom">
|
||||||
|
|
||||||
<title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}</title>
|
<title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}</title>
|
||||||
<link href="{{ .Permalink }}" />
|
|
||||||
<link rel="self" href="{{ .Permalink }}index.xml" />
|
|
||||||
<id>{{ .Permalink }}</id>
|
|
||||||
<generator uri="https://gohugo.io">Hugo</generator>
|
|
||||||
|
|
||||||
<author>
|
|
||||||
<name>Daniel Barber</name>
|
|
||||||
</author>
|
|
||||||
|
|
||||||
{{ with .Site.Copyright }}
|
|
||||||
<copyright>{{.}}</copyright>
|
|
||||||
{{end}}
|
|
||||||
|
|
||||||
{{ if not .Date.IsZero }}
|
|
||||||
<updated>{{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</updated>
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
{{ range first 20 .Pages }}
|
|
||||||
<entry>
|
|
||||||
<title>{{ .Title }}</title>
|
|
||||||
<link href="{{ .Permalink }}" />
|
<link href="{{ .Permalink }}" />
|
||||||
<updated>{{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</updated>
|
<id>{{ .Permalink }}"</id>
|
||||||
<id>{{ .Permalink }}</id>
|
<generator uri="https://gohugo.io">Hugo</generator>
|
||||||
|
|
||||||
|
{{ with .Site.Author.email }}
|
||||||
<author>
|
<author>
|
||||||
<name>Daniel Barber</name>
|
<name>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</name>
|
||||||
</author>
|
</author>
|
||||||
<content type="html">{{ .Content | html }}</content>
|
{{end}}
|
||||||
</entry>
|
|
||||||
{{ end }}
|
{{ with .Site.Copyright }}
|
||||||
|
<copyright>{{.}}</copyright>
|
||||||
|
{{end}}
|
||||||
|
|
||||||
|
{{ if not .Date.IsZero }}
|
||||||
|
<updated>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</updated>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{ range first 20 .Pages }}
|
||||||
|
<entry>
|
||||||
|
<title>{{ .Title }}</title>
|
||||||
|
<link href="{{ .Permalink }}" />
|
||||||
|
<updated>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</updated>
|
||||||
|
<id>{{ .Permalink }}</id>
|
||||||
|
<content type="html">{{ .Content | html }}</content>
|
||||||
|
</entry>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
</feed>
|
</feed>
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
[build]
|
[build]
|
||||||
publish = "public"
|
publish = "public"
|
||||||
command = "hugo --gc --minify -b $URL"
|
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"
|
||||||
|
|
||||||
[context.production.environment]
|
[context.production.environment]
|
||||||
HUGO_VERSION = "0.58.3"
|
HUGO_VERSION = "0.58.3"
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 4.4 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 6.0 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 521 B |
Binary file not shown.
|
Before Width: | Height: | Size: 1.5 KiB |
Loading…
Reference in New Issue
Block a user