From 5e78c795ad78bbcdb5fbbb98115157e00034d7f1 Mon Sep 17 00:00:00 2001 From: Brian Zelip Date: Sat, 31 Aug 2024 10:23:16 -0400 Subject: [PATCH 1/2] TD-1 Copy layout from upstream theme commit cb5da9f --- _layouts/default.html | 56 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 _layouts/default.html diff --git a/_layouts/default.html b/_layouts/default.html new file mode 100644 index 0000000..0870472 --- /dev/null +++ b/_layouts/default.html @@ -0,0 +1,56 @@ + + + + + + + +{% seo %} + + + {% include head-custom.html %} + + +
+
+

{{ site.title | default: site.github.repository_name }}

+ + {% if site.logo %} + Logo + {% endif %} + +

{{ site.description | default: site.github.project_tagline }}

+ + {% if site.github.is_project_page %} +

View the Project on GitHub {{ site.github.repository_nwo }}

+ {% endif %} + + {% if site.github.is_user_page %} +

View My GitHub Profile

+ {% endif %} + + {% if site.show_downloads %} + + {% endif %} +
+
+ + {{ content }} + +
+ +
+ + + From 56e26726abe74e987a0ba33b0969d8f7a3f2ca01 Mon Sep 17 00:00:00 2001 From: Brian Zelip Date: Sat, 31 Aug 2024 10:24:31 -0400 Subject: [PATCH 2/2] TD-1 Add edit page and report issue links to layout --- _config.yml | 3 +++ _layouts/default.html | 20 ++++++++++++++++++++ 2 files changed, 23 insertions(+) diff --git a/_config.yml b/_config.yml index ada10ed..bc99195 100644 --- a/_config.yml +++ b/_config.yml @@ -23,3 +23,6 @@ github: # recreate gh-pages api repository_nwo: archivesspace/tech-docs owner_url: https://github.com/archivesspace owner_name: ArchivesSpace + edit_base_url: https://github.com/archivesspace/tech-docs/edit/master/ + +jira_issues: https://archivesspace.atlassian.net/jira/software/projects/TD/issues diff --git a/_layouts/default.html b/_layouts/default.html index 0870472..068899c 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -38,6 +38,26 @@

{{ site.title | default: site.github.repo
  • View On GitHub
  • {% endif %} + +

    + + Edit this page on GitHub + {{ page.path }} + +

    + +

    + + Report issue on Jira + {{ page.path }} + +