Compare commits

...

3 commits

25 changed files with 45 additions and 16 deletions

View file

@ -9,6 +9,6 @@ Don't forget to click on "Comit Changes" to commit the changes.
```
_ _ _ New changes after this _ _ _
marcell...
marcell.
your_name
```

View file

@ -90,6 +90,23 @@ textarea {
border: 0px;
padding: 0px;
margin: 0px;
width: 50%;
cursor: pointer;
font-weight: bold;
}
.hasinput:focus {
outline: none;
}
.tierline {
display: flex;
}
.tiertitle {
font-style: italic;
}
.buttons {
display: flex;
margin-left: auto;
padding-left: 0.2rem;
}

File diff suppressed because one or more lines are too long

View file

@ -592,6 +592,7 @@ img {
.hasauthors {
font-size: 1.6rem !important;
display: flex;
}
.hassup {

View file

@ -16,5 +16,15 @@
"annex": "annexes",
"author": "authors",
"editor": "editors",
"contributor": "contributors"
"contributor": "contributors",
"entry": "entries",
"pin": "pins",
"ship": "ships",
"deck": "decks",
"cabin": "cabins",
"compartment": "compartments",
"house": "houses",
"floor": "floors",
"room": "rooms",
"section": "sections"
}

View file

@ -18,11 +18,11 @@
{{ .Page.Scratch.Add "bibs" (slice (slice $bibhref $bibtitle)) }}
{{- if not $text_link -}}
<span>{{- delimit $b.authors ", " " & " -}}{{- with $b.pubdate -}}, {{- substr . 0 4}}{{- end -}}.<a href="{{- $c_prefix | safeURL -}}BROWSE_LIBRARY.html#/book/{{- $destination -}}"{{- with $b.title}} title="{{- . -}}"{{- end -}} target="_blank"><span class="sup">bib</span><i>{{- $b.title -}}</i></a>. {{- with $b.publisher -}}{{- . -}}.{{- end -}}</span>
{{- else -}}
<span class="sup">bib</span><a href="{{- $c_prefix | safeURL -}}BROWSE_LIBRARY.html#/book/{{- $destination -}}"{{- with $b.title}} title="{{- . -}}"{{- end -}} target="_blank">{{- $text_link -}}</a>
{{- else -}}
<span class="sup">bib</span><a href="{{- $c_prefix | safeURL -}}BROWSE_LIBRARY.html#/book/{{- $destination -}}"{{- with $b.title}} title="{{- . -}}"{{- end -}} target="_blank">{{- $text_link -}}</a>
{{- end -}}
{{- else -}}
<a href="{{- $c_prefix | safeURL -}}BROWSE_LIBRARY.html#/book/{{- $destination -}}"{{- with .Title}} title="{{- . -}}"{{- end -}}>{{- $text_link -}}⦚<span class="text-xs font-bold p-1 bg-AuChico text-CoconutCream">bib:{{- $destination -}} not found</span></a>
<a href="{{- $c_prefix | safeURL -}}BROWSE_LIBRARY.html#/book/{{- $destination -}}"{{- with .Title}} title="{{- . -}}"{{- end -}}>{{- $text_link -}}⦚<span>bib:{{- $destination -}} not found</span></a>
{{- end -}}
{{- else if in ($_.Get "triads") (index (split .Destination ":") 0) -}}
{{- if $.Page.Site.GetPage (printf "/%s" (replace .Destination ":" "/")) -}}

View file

@ -11,7 +11,7 @@
{{ if in $sections $k }}
{{ $tiers = (slice) }}
{{ range where $.Site.RegularPages "Section" $k }}
{{ $tiers = $tiers | append .File.LogicalName }}
{{ $tiers = $tiers | append (merge (dict "file" .File.LogicalName) (dict "title" .Title)) }}
{{ end }}
{{ $metasp = merge $metasp (dict $v (merge (dict "singular" $k) (dict "tiers" $tiers))) }}
{{ end }}

View file

@ -10,6 +10,7 @@
{{ $sandnamePlural := (slice) }}
<div class="{{ $scratch.depth | default "crust" }}title"><span class="supt">{{ substr $currentDir 0 -1 }}{{ substr .Title 0 1 }}</span>{{ substr .Title 1 }}</div></div>
<div class="grid">
@ -44,8 +45,8 @@
</div>
{{- end -}}
{{ end }}
{{- with $closeDivs -}}</div></div>{{ end }}
{{ end }}
{{- with $closeDivs -}}</div></div>{{ end }}
{{ if in .Page.Site.Params.sandpointsMentionedIn (substr $currentDir 0 -1) }}
<div class="has hasmentionedin">

File diff suppressed because one or more lines are too long

View file

@ -1,2 +1,2 @@
# git.sandpoints.org/Drawwell/SandpointsTheme v0.0.0-20210415120027-a51ae25ec747
# git.sandpoints.org/Drawwell/SandpointsEditPage v0.0.0-20210414231020-1f34c9019bc1
# git.sandpoints.org/Drawwell/SandpointsTheme v0.0.0-20210518232607-5bd6fd279a03
# git.sandpoints.org/Drawwell/SandpointsEditPage v0.0.0-20210430215933-46a4decd1e9b

View file

@ -1,6 +1,6 @@
---
title: "Publication"
has_topics: ["firsttopic.md","secondtopic.md"]
has_sections: ["firsttopic.md","secondtopic.md"]
---
# The main header of the introduction to Publication

View file

@ -1,6 +1,6 @@
---
title: "First topic"
has_sessions: ["firstsession.md","secondsession.md","thirdsession.md"]
has_chapters: ["firstsession.md","secondsession.md","thirdsession.md"]
---
# Main header for the first topic

View file

@ -1,6 +1,6 @@
---
title: "Second topic"
has_sessions: ["fourthsession.md","fifthsession.md","sixsthsession.md"]
has_chapters: ["fourthsession.md","fifthsession.md","sixsthsession.md"]
---
# Main header

View file

@ -1,6 +1,6 @@
---
title: "Third topic"
has_sessions: ["seventhsession.md", "eighthsession.md"]
has_chapters: ["seventhsession.md", "eighthsession.md"]
---
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Elit ut aliquam purus sit amet luctus. Tellus cras adipiscing enim eu turpis egestas. Rhoncus dolor purus non enim praesent elementum facilisis leo. Dolor magna eget est lorem ipsum dolor. Nibh cras pulvinar mattis nunc sed blandit libero volutpat sed. Quam id leo in vitae turpis. Fusce id velit ut tortor pretium viverra suspendisse potenti. Turpis egestas integer eget aliquet nibh. Odio euismod lacinia at quis risus sed vulputate odio ut. Orci dapibus ultrices in iaculis nunc. Eu feugiat pretium nibh ipsum consequat nisl. Sapien et ligula ullamcorper malesuada proin libero nunc consequat interdum. Cursus in hac habitasse platea dictumst.