Skip to content

Commit 920b4aa

Browse files
committed
Merge branch 'main' into mth6--Accented-chars--HTMLish--partial-dates
2 parents 1af5b50 + 6fb223a commit 920b4aa

File tree

5 files changed

+19
-19
lines changed

5 files changed

+19
-19
lines changed

.github/workflows/gh-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ defaults:
4343
env:
4444
# ----------------------------------------------------------------------------
4545
# Specify the deployment environment: staging or production
46-
HUGO_ENVIRONMENT: production
46+
HUGO_ENVIRONMENT: staging
4747
HUGO_VERSION: 0.144.2
4848

4949
jobs:

layouts/bibliography/baseof.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<div class="container-fluid td-outer">
1414
<div class="td-main" {{- .Section | safeHTMLAttr }}>
1515
<div class="row flex-xl-nowrap">
16-
<aside class="d-none d-xl-block col-xl-2 td-sidebar-toc d-print-none">
16+
<aside class="d-none d-xl-block col-xl-4 td-sidebar-toc d-print-none">
1717
{{ partial "page-meta-links.html" . }}
1818
{{ partial "toc.html" . }}
1919
{{ partial "taxonomy_terms_clouds.html" . }}

scripts/bib-fns.jq

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ def dbg($label; $value):
55
| (($label + ": " + ($value | tojson)) | debug) # prints to stderr
66
| $in; # return original value
77

8-
def nonBlankKey($keyName):
8+
def nonBlankKey($keyName):
99
has($keyName) and (.[$keyName] | tostring | length >= 1);
1010

1111
def blankKey($keyName):
@@ -23,21 +23,21 @@ def raise_issued_date_parts:
2323
def pad2: tostring | if length==1 then "0"+. else . end;
2424

2525
def issued_iso_string:
26-
if nonBlankKey("issued") and (.issued | nonBlankKey("date-parts")) then
27-
setpath(["isoDateString"];
26+
if nonBlankKey("issued") and (.issued | nonBlankKey("date-parts")) then
27+
setpath(["isoDateString"];
2828
(.issued["date-parts"][0]) as $p | ($p[0]|tostring) + "-" + (($p[1]? // 1)|pad2) + "-" + (($p[2]? // 1)|pad2))
29-
else
30-
.
29+
else
30+
.
3131
end;
3232

3333
def issued_date_readable:
34-
if nonBlankKey("issued") and (.issued | nonBlankKey("date-parts")) then
35-
setpath(["readableDateString"];
34+
if nonBlankKey("issued") and (.issued | nonBlankKey("date-parts")) then
35+
setpath(["readableDateString"];
3636
(.issued["date-parts"][0]) as $p | $p | map(pad2) | join("-"))
37-
else
38-
.
37+
else
38+
.
3939
end;
40-
40+
4141
def format_person_name:
4242
if (has("family") and .family != null and (.family|tostring|length)>0) then
4343
.family
@@ -65,7 +65,7 @@ def author_string_list:
6565
# If you want the field added into each item:
6666
def add_author_string:
6767
if (.author) then . + { authorsFormatted: (author_string_list) } end;
68-
68+
6969
# Likewise for editors
7070
def editor_string_list:
7171
( .editor // [] )

scripts/bibSplit.pl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
use Encode qw(decode encode is_utf8);
44
use Unicode::Normalize qw(NFC);
55
use utf8;
6-
BEGIN
7-
{
6+
BEGIN
7+
{
88
$bibDir = $ENV{'BIBLIOGRAPHY_DIR'};
99
$bibItemsDir = $ENV{'BIBITEMS_DIR'};
1010
}

scripts/update_bibliography.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@ showInfoLevel=2 # --infolevel/-i
5050
# 0: NO showInfo messages.
5151
# 1: high level general info messages.
5252
# 2: warning-type messages.
53-
# 3:
54-
# 4:
53+
# 3:
54+
# 4:
5555
# 5: detailed general info messages.
56-
# 6:
57-
# 7:
56+
# 6:
57+
# 7:
5858
# 8: individual processing steps (most of which may generate a debug File -- see $debugFiles)
5959
# 9: very detailed general info messages.
6060
# 10: extremely detailed messages (e.g., calls to curl, etc.)

0 commit comments

Comments
 (0)