From cc2c0efe924c10d9062d0b6eef55b3eec1a2ae45 Mon Sep 17 00:00:00 2001 From: Bill Stumbo Date: Thu, 21 Aug 2025 07:06:37 -0400 Subject: [PATCH 1/3] Bibliography WIP Crude listing generated in /pulications folder. --- go.mod | 2 +- go.sum | 9 ++++----- layouts/publications/list.html | 13 +++++++++++++ 3 files changed, 18 insertions(+), 6 deletions(-) create mode 100644 layouts/publications/list.html diff --git a/go.mod b/go.mod index b96314dad..ee9a5f6c8 100644 --- a/go.mod +++ b/go.mod @@ -3,6 +3,6 @@ module github.com/Interlisp/Interlisp.github.io go 1.20 require ( - github.com/google/docsy v0.10.0 // indirect + github.com/google/docsy v0.12.0 // indirect github.com/google/docsy/dependencies v0.7.2 // indirect ) diff --git a/go.sum b/go.sum index 22e30c371..b4841ac6e 100644 --- a/go.sum +++ b/go.sum @@ -1,13 +1,12 @@ github.com/FortAwesome/Font-Awesome v0.0.0-20230327165841-0698449d50f2/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo= github.com/FortAwesome/Font-Awesome v0.0.0-20240108205627-a1232e345536/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo= github.com/FortAwesome/Font-Awesome v0.0.0-20240402185447-c0f460dca7f7/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo= -github.com/google/docsy v0.9.1 h1:+jqges1YCd+yHeuZ1BUvD8V8mEGVtPxULg5j/vaJ984= -github.com/google/docsy v0.9.1/go.mod h1:saOqKEUOn07Bc0orM/JdIF3VkOanHta9LU5Y53bwN2U= -github.com/google/docsy v0.10.0 h1:6tMDacPwAyRWNCfvsn/9qGOZDQ8b0aRzjRZvnZPY5dg= -github.com/google/docsy v0.10.0/go.mod h1:c0nIAqmRTOuJ01F85U/wJPQtc3Zj9N58Kea9bOT2AJc= -github.com/google/docsy/dependencies v0.6.0/go.mod h1:EDGc2znMbGUw0RW5kWwy2oGgLt0iVXBmoq4UOqstuNE= +github.com/FortAwesome/Font-Awesome v0.0.0-20241216213156-af620534bfc3/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo= +github.com/google/docsy v0.12.0 h1:CddZKL39YyJzawr8GTVaakvcUTCJRAAYdz7W0qfZ2P4= +github.com/google/docsy v0.12.0/go.mod h1:1bioDqA493neyFesaTvQ9reV0V2vYy+xUAnlnz7+miM= github.com/google/docsy/dependencies v0.7.2 h1:+t5ufoADQAj4XneFphz4A+UU0ICAxmNaRHVWtMYXPSI= github.com/google/docsy/dependencies v0.7.2/go.mod h1:gihhs5gmgeO+wuoay4FwOzob+jYJVyQbNaQOh788lD4= github.com/twbs/bootstrap v4.6.2+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0= github.com/twbs/bootstrap v5.2.3+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0= github.com/twbs/bootstrap v5.3.3+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0= +github.com/twbs/bootstrap v5.3.6+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0= diff --git a/layouts/publications/list.html b/layouts/publications/list.html new file mode 100644 index 000000000..bbac6e677 --- /dev/null +++ b/layouts/publications/list.html @@ -0,0 +1,13 @@ +{{ define "main" }} +

Publications

+ +{{ end }} \ No newline at end of file From 86ba56590490c86706c82f059b97008733b5089c Mon Sep 17 00:00:00 2001 From: Bill Stumbo Date: Sun, 24 Aug 2025 13:52:24 -0400 Subject: [PATCH 2/3] Initial implementation of list of all bibliography entries Primitive first pass. Provides a chronological list of all bibliography entires providing titles, authors, date and an abbreviated start of the abstract (limted to 24 words). In addition, a link is enclosed that goes to the markdown file that represents the bibliography entry. Currently, there is nothing implemented to show the contents of the md file. There is no bibliography css implemented to format the list items. This provides an initial proof of concept. A simple framework that can be extended and styled to get us where we want to go. --- layouts/publications/list.html | 37 +++++++++++++++++++++++++++++----- 1 file changed, 32 insertions(+), 5 deletions(-) diff --git a/layouts/publications/list.html b/layouts/publications/list.html index bbac6e677..9b620d30c 100644 --- a/layouts/publications/list.html +++ b/layouts/publications/list.html @@ -1,12 +1,39 @@ {{ define "main" }} +


Publications

+ {{- $pages := .Pages.ByParam "date" }} From a2b6188bb25e950061bc3a15dbcbce824451cab1 Mon Sep 17 00:00:00 2001 From: Bill Stumbo Date: Sun, 24 Aug 2025 14:30:29 -0400 Subject: [PATCH 3/3] Initial implementation of list of all bibliography entries Primitive first pass. Provides a chronological list of all bibliography entires providing titles, authors, date and an abbreviated start of the abstract (limted to 24 words). In addition, a link is enclosed that goes to the markdown file that represents the bibliography entry. Currently, there is nothing implemented to show the contents of the md file. There is no bibliography css implemented to format the list items. This provides an initial proof of concept. A simple framework that can be extended and styled to get us where we want to go. --- content/en/publications/_index.md | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 content/en/publications/_index.md diff --git a/content/en/publications/_index.md b/content/en/publications/_index.md new file mode 100644 index 000000000..19b4d21ab --- /dev/null +++ b/content/en/publications/_index.md @@ -0,0 +1,4 @@ + +# {{- range .Pages }} +#

{{ .Title }}

+# {{- end }} \ No newline at end of file