diff --git a/layouts/partials/research/link-row.html b/layouts/partials/research/link-row.html
index ba20eb7..6afa187 100644
--- a/layouts/partials/research/link-row.html
+++ b/layouts/partials/research/link-row.html
@@ -6,6 +6,6 @@
{{- end -}}
{{- with $links -}}
- {{ delimit . " · " | safeHTML }}
+ {{ delimit . " · " | safeHTML }}
{{- end -}}
diff --git a/layouts/partials/research/publication-entry.html b/layouts/partials/research/publication-entry.html
index 19b2555..3b70e6e 100644
--- a/layouts/partials/research/publication-entry.html
+++ b/layouts/partials/research/publication-entry.html
@@ -6,7 +6,6 @@
{{- end -}}
{{- $links := slice -}}
-{{- with $page }}{{ $links = $links | append (printf "Page" .RelPermalink) }}{{ end -}}
{{- $pdf := "" -}}
{{- if $page }}
diff --git a/layouts/research/section.html b/layouts/research/section.html
index 2df5f92..93a94d9 100644
--- a/layouts/research/section.html
+++ b/layouts/research/section.html
@@ -6,7 +6,8 @@
{{- $depth := len $segments -}}
{{- if eq $depth 1 -}}
-{{/* Research root: data-driven publication list, no visible title or intro. */}}
+{{/* Research root: optional intro (content of _index.md), then data-driven publication list. */}}
+ {{- with .Content }}{{ . }}
{{ end -}}
{{- $pubs := hugo.Data.publications.publications -}}
{{- $groups := slice
diff --git a/prune-orphans.sh b/prune-orphans.sh
index b5562fa..cad84be 100755
--- a/prune-orphans.sh
+++ b/prune-orphans.sh
@@ -1,24 +1,20 @@
#!/usr/bin/env bash
-# Remove content//*.md (zettels and bibliography) whose org source in ~/Cloud/brain no longer exists.
+# Remove content/zettels/*.md whose org source in ~/Cloud/brain no longer exists.
# Dry run by default; pass --delete to actually remove files.
set -euo pipefail
brain=~/Cloud/brain
-content="$(cd "$(dirname "$0")" && pwd)/content"
-sections=(zettels book phdthesis inbook techreport article inproceedings websites)
+zet="$(cd "$(dirname "$0")" && pwd)/content/zettels"
count=0
-for section in "${sections[@]}"; do
- for md in "$content/$section"/*.md; do
- [[ -e $md ]] || continue
- name=$(basename "$md" .md)
- [[ $name == _index ]] && continue
- if [[ ! -f "$brain/$name.org" ]]; then
- echo "orphan: $md"
- [[ ${1:-} == --delete ]] && rm "$md"
- count=$((count + 1))
- fi
- done
+for md in "$zet"/*.md; do
+ name=$(basename "$md" .md)
+ [[ $name == _index ]] && continue
+ if [[ ! -f "$brain/$name.org" ]]; then
+ echo "orphan: $md"
+ [[ ${1:-} == --delete ]] && rm "$md"
+ count=$((count + 1))
+ fi
done
if [[ $count -eq 0 ]]; then
diff --git a/static/css/research.css b/static/css/research.css
index f6cee67..149e8e9 100644
--- a/static/css/research.css
+++ b/static/css/research.css
@@ -28,9 +28,13 @@
color: #8a8a8a;
}
-.pub-title,
-a.pub-title {
+/* Title in the default text color, and in the link color when it links to a page */
+.pub-title {
font-weight: 600;
+ color: inherit;
+}
+
+a.pub-title {
color: hsl(232, 61%, 64%);
}
@@ -59,6 +63,11 @@ a.pub-title:hover {
.pub-links a {
white-space: nowrap;
+ color: #c05b4d;
+}
+
+.pub-links a:hover {
+ border-bottom: 1px solid #c05b4d;
}
@media (max-width: 600px) {
@@ -66,3 +75,7 @@ a.pub-title:hover {
min-width: 2.4em;
}
}
+
+.pub-sep {
+ color: #8a8a8a;
+}