diff --git a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/customizations/jgdr/layouts/_default/_markup/render-image.html b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/customizations/jgdr/layouts/_default/_markup/render-image.html index 0f0b741..aa4c98b 100644 --- a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/customizations/jgdr/layouts/_default/_markup/render-image.html +++ b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/customizations/jgdr/layouts/_default/_markup/render-image.html @@ -1,3 +1,9 @@ + + {{- $text_link := .Text -}} {{ $_ := newScratch }} @@ -5,16 +11,20 @@ {{ $_.Add "triads" $k }} {{- end -}} + {{- if strings.HasPrefix .Destination "img:" -}} {{- $img_params := (substr .Destination 4) -}} {{- $img_src := index (split $img_params " ") 0 -}} {{- $img_attr := index (split $img_params $img_src) 1 -}} + {{- else if strings.HasPrefix .Destination "vid:" -}} {{- $vid_params := (substr .Destination 4) -}} {{- $vid_src := index (split $vid_params " ") 0 -}} {{- $vid_attr := index (split $vid_params $vid_src) 1 -}} + + {{- else if strings.HasPrefix .Destination "bib:" -}} {{- $destination := (substr .Destination 4) -}} {{- $c_prefix := .Page.Site.Params.sandpointsCatalogPrefix | default "/library/" -}} @@ -34,6 +44,8 @@ {{- else -}} {{- $text_link -}}⦚bib:{{- $destination -}} not found {{- end -}} + + {{- else if in ($_.Get "triads") (index (split .Destination ":") 0) -}} {{- if $.Page.Site.GetPage (printf "/%s" (replace .Destination ":" "/")) -}} {{- $session := $.Page.Site.GetPage (printf "/%s" (replace .Destination ":" "/")) -}} @@ -46,6 +58,7 @@ {{- else -}} {{- $text_link -}}⦚{{- .Destination -}} not found {{- end -}} + {{- else if strings.HasPrefix .Destination "audio:" -}} {{- $a_destination := (substr .Destination 6) -}} {{- if findRE "^.*static" $a_destination -}} @@ -53,14 +66,41 @@ {{- else -}} {{ .Text }} {{- end -}} -{{- else if findRE "^.*static" .Destination -}} + + + + +{{- else if findRE "^.*static" .Destination -}} +
{{- .Title -}} {{ if .Text }} -
{{with .Text }} {{ . }} {{end}}
+ {{ $x:= safeHTML .Text }} +
{{ $x }}
+ {{ else }} + {{ end }} -{{- else -}} - {{- .Text -}} + +{{- else -}} +
+ + {{- .Text -}} + {{ if .Text }} -
{{with .Text }} {{ . }} {{end}}
+ {{ $x:= safeHTML .Text }} +
{{ $x }}
+ {{ else }} + {{ end }} {{- end -}} diff --git a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/customizations/jgdr/static/css/site.min.css b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/customizations/jgdr/static/css/site.min.css index 5c4093f..c93c89d 100644 --- a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/customizations/jgdr/static/css/site.min.css +++ b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/customizations/jgdr/static/css/site.min.css @@ -4,12 +4,12 @@ THIS IS BASED ON THE DOTAWO CUSTOMIZATION INCLUDING MODIFICATIONS: - Use original Sandpoints fonts / revert to original font weight - EDIT table: add vert line to the right -- ADD figcaption +- ADD figcaption definition (image/table captions) - EDIT pre (font scale, line wrapping) - ADD code (border and background) +- EDIT remove italics from abstract all edits include a comment including the keyword anybody - */ html,body,dl,dt,dd,blockquote,figure,fieldset,legend,textarea,pre,iframe,hr{ @@ -413,6 +413,15 @@ ol li{ .afterhas{ grid-column:2 } +/* EDIT: Make visible Frontmatter field 'publishDate' if available */ +.haspublishdate{ + grid-column: 3 + font-family:great vibes,cursive; + font-size:.9em; + font-style:italic; + vertical-align:baseline; + position:relative +} .content{ margin-top:4rem; padding-left:3rem; @@ -459,8 +468,13 @@ h6{ font-weight:500;/*700;*/ font-size:1rem } +.imagecontainer {/* test by anybody */ + display: block; + /*background: grey; */ +} + .abstract{ - font-style:italic; + /*font-style:italic;*/ /* Remove italics from abstract*/ border-left:1px solid #000; margin-left:5rem; margin-right:2rem;