Skip to content

Commit 454da45

Browse files
committed
fix: dateModified handling amd YAML structure
1 parent 7161a84 commit 454da45

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ jobs:
2525
steps:
2626
- name: Checkout Repository
2727
uses: actions/checkout@v4
28+
with:
29+
fetch-depth: 0
2830

2931
- name: Setup Python
3032
uses: actions/setup-python@v6

src/_templates/layout.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
{{ super() }}
55

66
{% set metadata = meta if meta is defined and meta is not none else {} %}
7-
87
{% set site_name = "University of Alabama Libraries Scholarly API Cookbook" %}
98
{% set base = (html_baseurl or "https://ua-libraries-research-data-services.github.io/UALIB_ScholarlyAPI_Cookbook/") %}
109
{% set page_url = base ~ pagename ~ ('' if pagename.endswith('.html') else '.html') %}
@@ -14,7 +13,6 @@
1413
{% set page_desc = metadata.get("description") %}
1514
{% set desc = page_desc or site_desc %}
1615

17-
{# Allow per-page overrides for social #}
1816
{% set og_title = metadata.get("og:title") or (title|striptags) %}
1917
{% set og_type = metadata.get("og:type") or "website" %}
2018

src/python/chronam.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"---\n",
88
"title: Chronicling America API in Python\n",
99
"description: Tutorial for using the Chronicling America API with Python including use cases\n",
10-
"og:type: article\n",
10+
"\"og:type\": article\n",
1111
"---"
1212
]
1313
},

0 commit comments

Comments
 (0)