File tree Expand file tree Collapse file tree 8 files changed +48
-7
lines changed Expand file tree Collapse file tree 8 files changed +48
-7
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ enableRobotsTXT: false
24
24
assetDir : static
25
25
26
26
# Enable .GitInfo object for each page. This will give values to .Lastmod etc.
27
- enableGitInfo : false
27
+ enableGitInfo : true
28
28
29
29
# Top Level Language defaults
30
30
# See languages.yaml for language specific values
@@ -45,6 +45,13 @@ outputs:
45
45
section :
46
46
- HTML
47
47
48
+ frontmatter :
49
+ date :
50
+ - date
51
+ - pubdate
52
+ - :git
53
+ - :default
54
+
48
55
# Code Highlighting configuration
49
56
# Not Used. Code highlighting is controlled using the highlighting
50
57
# section in `markup.yaml`
Original file line number Diff line number Diff line change @@ -79,6 +79,10 @@ links:
79
79
url : " https://bsky.app/profile/interlisp.org"
80
80
icon : " fa-brands fa-bluesky"
81
81
desc : " We're on Bluesky too!"
82
+ - name : " RSS Feed"
83
+ url : " project/status/index.xml"
84
+ icon : " fa fa-rss"
85
+ desc : " Subscribe to our feed for the latest updates"
82
86
# - name: "Stack Overflow"
83
87
# url: "https://stackoverflow.com/questions/tagged/graphviz"
84
88
# icon: "fab fa-stack-overflow"
Original file line number Diff line number Diff line change 2
2
Title : The Medley Interlisp Project
3
3
weight : 2
4
4
type : docs
5
- outputs :
6
- - html
7
- - rss
8
5
aliases :
9
6
- /hugo/
10
7
- /medley/project/
Original file line number Diff line number Diff line change 2
2
title : News and Status Reports
3
3
type : docs
4
4
weight : 2
5
+ outputs :
6
+ - html
7
+ - rss
5
8
aliases :
6
9
- /hugo/news/
7
10
- /medley/project/news/
Original file line number Diff line number Diff line change 1
1
---
2
2
title : Software
3
3
type : docs
4
- outputs :
5
- - html
6
- - rss
7
4
aliases :
8
5
9
6
---
Original file line number Diff line number Diff line change 12
12
{{- $pctx := . }}
13
13
{{- if .IsHome }}{{ $pctx = .Site }}{{ end }}
14
14
15
+ <!-- Iterate through all sections and include both sections and
16
+ pages in the rss feed. The default rss.xml only includes
17
+ pages. -->
15
18
{{- $pages := slice }}
16
19
{{- $mainPages := where .Pages "Kind" "in" (slice "page" "section") }}
17
20
{{- $pages = $pages | union $mainPages }}
Original file line number Diff line number Diff line change
1
+ < ul class ="td-footer__links-list ">
2
+ {{ range . }}
3
+ {{ if eq .name "RSS Feed" }}
4
+ < li class ="td-footer__links-item " data-bs-toggle ="tooltip " title ="RSS " aria-label ="RSS ">
5
+ < a target ="_blank " rel ="noopener " href ="{{ absURL .url }} " aria-label ="RSS ">
6
+ < i class ="fas fa-rss "> </ i >
7
+ </ a >
8
+ </ li >
9
+ {{ else }}
10
+ < li class ="td-footer__links-item " data-bs-toggle ="tooltip " title ="{{ .name }} " aria-label ="{{ .name }} ">
11
+ < a target ="_blank " rel ="noopener " href ="{{ .url }} " aria-label ="{{ .name }} ">
12
+ < i class ="{{ .icon }} "> </ i >
13
+ </ a >
14
+ {{ end }}
15
+ {{ end }}
16
+
17
+ </ ul >
Original file line number Diff line number Diff line change
1
+ {{ if and .GitInfo .Site.Params.github_repo -}}
2
+ < div class ="td-page-meta__lastmod ">
3
+ <!--
4
+ Disable showing of Git Commit info in the footer
5
+ {{ T "post_last_mod" }} {{ .Lastmod.Format .Site.Params.time_format_default -}}
6
+ {{ with .GitInfo }}: {{/* Trim WS */ -}}
7
+ <a data-proofer-ignore href="{{ $.Site.Params.github_repo }}/commit/{{ .Hash }}">
8
+ {{- .Subject }} ({{ .AbbreviatedHash }}) {{- /* Trim WS */ -}}
9
+ </a>
10
+ {{- end }}
11
+ -->
12
+ </ div >
13
+ {{ end -}}
You can’t perform that action at this time.
0 commit comments