From 8a1a6e175b5dfff723cd29d4bf41c2c2355ab83a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mehmet=20Ali=20=C3=96zdemir?= Date: Thu, 21 Nov 2024 20:15:55 +0300 Subject: [PATCH 1/2] Added github issue page link to the footer --- config/_default/params.yml | 2 +- i18n/en.yaml | 6 ++++++ i18n/tr.yaml | 5 +++++ layouts/partials/footer/footer.html | 32 ++++++++++++++++++----------- 4 files changed, 32 insertions(+), 13 deletions(-) diff --git a/config/_default/params.yml b/config/_default/params.yml index 647bc16..a2afd3e 100644 --- a/config/_default/params.yml +++ b/config/_default/params.yml @@ -50,7 +50,7 @@ social: url: "https://twitter.com/bogazici_cmpe" weight: 30 - name: "GitHub" - icon: "git" + icon: "github" url: "https://github.com/bouncmpe" weight: 20 diff --git a/i18n/en.yaml b/i18n/en.yaml index 454f033..01cfb89 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -144,3 +144,9 @@ building-head: under-construction-warning: other: The information on this page is under construction. + +edit-page-link: + other: Click here to edit this page on GitHub. + +issue-page: + other: If you have any ideas, issues, or recommendations, please open an issue on GitHub. diff --git a/i18n/tr.yaml b/i18n/tr.yaml index 7463c69..1316648 100644 --- a/i18n/tr.yaml +++ b/i18n/tr.yaml @@ -172,3 +172,8 @@ languageSwitcherLabel: toc: other: İçindekiler +edit-page-link: + other: Bu sayfadaki içeriği düzenlemek için buraya tıklayın. + +issue-page: + other: Herhangi bir fikriniz, sorununuz veya tavsiyeniz varsa, lütfen GitHub sayfamızda bir issue açın. diff --git a/layouts/partials/footer/footer.html b/layouts/partials/footer/footer.html index 2f8975a..3a76346 100644 --- a/layouts/partials/footer/footer.html +++ b/layouts/partials/footer/footer.html @@ -13,18 +13,26 @@
{{- .Name -}}
{{ end }} -
-

{{ replace site.Copyright "{year}" now.Year }}

- +
+ +
+
+

{{ replace site.Copyright "{year}" now.Year }}

+
    + {{ range site.Params.social }} +
  • + + {{- .identifier -}} + +
  • + {{ end }} +
+
+
{{ if .Params.hasMermaid }} {{ partial "footer/optional-scripts.html" . }} From 61a5debdd685815f5042705dc206c2dc0fee1fb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mehmet=20Ali=20=C3=96zdemir?= Date: Mon, 16 Dec 2024 21:30:18 +0300 Subject: [PATCH 2/2] designed a simple footer as a template --- i18n/en.yaml | 9 +++++ i18n/tr.yaml | 9 +++++ layouts/partials/footer/footer.html | 54 ++++++++++++++++++++++++----- 3 files changed, 63 insertions(+), 9 deletions(-) diff --git a/i18n/en.yaml b/i18n/en.yaml index 01cfb89..7ff46a5 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -150,3 +150,12 @@ edit-page-link: issue-page: other: If you have any ideas, issues, or recommendations, please open an issue on GitHub. + +boun-page: + other: Boğaziçi University + +library-page: + other: Boğaziçi University Library + +research-page: + other: Boğaziçi University Research Portal \ No newline at end of file diff --git a/i18n/tr.yaml b/i18n/tr.yaml index 1316648..7ce044d 100644 --- a/i18n/tr.yaml +++ b/i18n/tr.yaml @@ -177,3 +177,12 @@ edit-page-link: issue-page: other: Herhangi bir fikriniz, sorununuz veya tavsiyeniz varsa, lütfen GitHub sayfamızda bir issue açın. + +boun-page: + other: Boğaziçi Üniversitesi + +library-page: + other: Boğaziçi Üniversitesi Kütüphane + +research-page: + other: Boğaziçi Üniversitesi Araştırma \ No newline at end of file diff --git a/layouts/partials/footer/footer.html b/layouts/partials/footer/footer.html index 3a76346..90d7ecd 100644 --- a/layouts/partials/footer/footer.html +++ b/layouts/partials/footer/footer.html @@ -1,4 +1,4 @@ -