diff --git a/assets/scss/_main.scss b/assets/scss/_main.scss
index f6c29d3d..6d4ab77d 100644
--- a/assets/scss/_main.scss
+++ b/assets/scss/_main.scss
@@ -779,6 +779,10 @@ time {
}
}
+a:hover time {
+ color: inherit;
+}
+
body.nownownow .post-content > p {
position: relative;
line-height: inherit;
diff --git a/assets/scss/_single.scss b/assets/scss/_single.scss
index 17d957d5..ee34b295 100644
--- a/assets/scss/_single.scss
+++ b/assets/scss/_single.scss
@@ -518,4 +518,15 @@ figure {
opacity: 0.6;
}
}
-}
\ No newline at end of file
+}
+
+.bookmark-of {
+ font-style: italic;
+ font-synthesis: none;
+}
+
+.notes-content {
+ footer {
+ text-align: right;
+ }
+}
diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml
index f46ff8f1..706b3c47 100644
--- a/layouts/_default/rss.xml
+++ b/layouts/_default/rss.xml
@@ -1,6 +1,6 @@
{{- $pages := slice -}}
{{- if .IsHome -}}
- {{- $pages = where .Site.RegularPages "Type" "not in" (slice "memex" "timeless" "site-infra" "reading-lists") -}}
+ {{- $pages = where .Site.RegularPages "Type" "not in" (slice "memex" "timeless" "site-infra" "reading-lists" "notes") -}}
{{- else -}}
{{- $pages = .Pages -}}
{{- end -}}
@@ -32,15 +32,19 @@
{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}
{{ .Permalink | absURL }}
- {{- with index .Params.Media 0 }}
- <img src="{{ path.Join $page.RelPermalink . | absURL }}" />
- {{- end }}
- {{ .Summary | html }}
+ {{ with .Params.bookmarkOf }}
+ Thoughts on {{.}}
+ {{ else }}
+ {{ .Summary | html }}
+ {{ end }}
{{- range $i, $src := .Params.Media }}
<img src="{{ path.Join $page.RelPermalink $src | absURL }}" /><br/>
{{- end }}
+ {{ if .Params.bookmarkOf }}
+ <p><i>{{ partial "bookmark-of.html" . | html }}</i></p>
+ {{ end }}
{{ .Content | html }}
{{- range .Params.syndications}}
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index beb47abc..ab829712 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -84,6 +84,9 @@
{{ end }}
+ {{ if .Params.bookmarkOf }}
+
{{ partial "bookmark-of.html" . }}
+ {{ end }}
{{ .Content }}
diff --git a/layouts/notes/list.html b/layouts/notes/list.html
new file mode 100644
index 00000000..e9a5d48a
--- /dev/null
+++ b/layouts/notes/list.html
@@ -0,0 +1,32 @@
+{{ define "main" }}
+ {{ $paginator := .Paginate .Data.Pages }}
+
+ {{/* Ignore entirely from search, as we want to index the individual notes, not this stream */}}
+
+ {{ partial "generic-list-header.html" . }}
+
+
+
+ {{ partial "alternates.html" . }}
+
+
+ {{ if .Content }}
+ {{ .Content }}
+ {{ end }}
+
+
+
+ {{ range $paginator.Pages }}
+
+
+ {{ .Content }}
+
+
+ {{ end }}
+
+ {{ partial "pagination-list.html" . }}
+
+{{ end }}
diff --git a/layouts/partials/bookmark-of.html b/layouts/partials/bookmark-of.html
new file mode 100644
index 00000000..7f6ce942
--- /dev/null
+++ b/layouts/partials/bookmark-of.html
@@ -0,0 +1,17 @@
+{{ if not .Params.bookmarkOf}}
+ {{ errorf "BookmarkOf partial called when no bookmark of param set" }}
+{{ end }}
+
+{{ $url := .Params.bookmarkOf }}
+{{ $reference := dict }}
+{{ range .Params.references }}
+ {{ if eq .url $url }}
+ {{ $reference = . }}
+ {{ end }}
+{{ end }}
+💠Thoughts on{{" "}}
+{{- with $reference.name -}}
+ the article