From b5b39b8d0f5e0634bbc35e3bfeaef06cbe9a2589 Mon Sep 17 00:00:00 2001 From: Brian Vanderbusch Date: Fri, 18 Sep 2020 10:44:08 -0500 Subject: [PATCH 1/4] use absLangUrl instead of relLangUrl for navigation links --- layouts/partials/navigation.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/partials/navigation.html b/layouts/partials/navigation.html index 5674f34..01f03ee 100644 --- a/layouts/partials/navigation.html +++ b/layouts/partials/navigation.html @@ -30,13 +30,13 @@ {{ else }} {{ end }} {{ end }} @@ -65,4 +65,4 @@ {{ end }} - \ No newline at end of file + From 88e31c87a827f7db690dd43ed647fce4e32752be Mon Sep 17 00:00:00 2001 From: Mehedi Sharif Titas Date: Sun, 20 Sep 2020 08:59:05 +0600 Subject: [PATCH 2/4] Update README.md --- README.md | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c8df13a..95fdd4b 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,20 @@ If your problem or idea is not addressed yet, [open a new issue](https://github. ## Technical Support or Questions (Paid) -If you have questions or need help integrating the product please [contact us](mailto:mehedi@themefisher.com) instead of opening an issue. +If you have questions or need help integrating the product please [contact us](mailto:mehedi@themefisher.com) instead of opening an issue. + +## Support Us (Author) +This project needs you! If you would like to support this project's further development, the creator of this project or the continuous maintenance of this project, feel free to donate. Your donation is highly appreciated . Thank you! + +* **[Donate $10](https://www.paypal.me/themefisher/10USD)**: Thank's for creating this project, here's a tea (or some juice) for you! +* **[Donate $20](https://www.paypal.me/themefisher/20USD)**: Wow, I am stunned. Let me take you to the movies! +* **[Donate $30](https://www.paypal.me/themefisher/30USD)**: I really appreciate your work, let's grab some lunch! +* **[Donate $40](https://www.paypal.me/themefisher/40USD)**: That's some awesome stuff you did right there, dinner is on me! +* **[Donate $50](https://www.paypal.me/themefisher/50USD)**: I really really want to support this project, great job! +* **[Donate $100](https://www.paypal.me/themefisher/100USD)**: You are the man! This project saved me hours (if not days) of struggle and hard work, simply awesome! +* **[Donate $1500](https://www.paypal.me/themefisher/1500USD)**: Go buddy, buy Macbook Pro for yourself! + +Of course, you can also choose what you want to donate, all donations are awesome ! ## Hire Us We are available for Hiring of your next HUGO project. Drop Us a mail [mehedi@themefisher.com](mailto:mehedi@themefisher.com) @@ -84,4 +97,4 @@ We are available for Hiring of your next HUGO project. Drop Us a mail [mehedi@th | [![Airspace](https://gethugothemes.com/wp-content/uploads/2019/06/hugo-theme-Airspace.jpg)](https://gethugothemes.com/products/airspace-hugo-theme/) | [![Biztrox](https://gethugothemes.com/wp-content/uploads/2019/12/Biztrox.png)](https://gethugothemes.com/products/hugo-business-theme/) | [![Bexer](https://gethugothemes.com/wp-content/uploads/2019/06/hugo-theme-bexer.jpg)](https://gethugothemes.com/products/bexer-hugo-theme/) | | **Airspace** | **Biztrox** | **Bexer** | | [![Revolve](https://gethugothemes.com/wp-content/uploads/edd/2019/11/revolve.jpg)](https://gethugothemes.com/products/revolve-hugo/) | [![redlab](https://gethugothemes.com/wp-content/uploads/edd/2019/09/redlab-hugo-thumbnail.jpg)](https://gethugothemes.com/products/redlab-hugo/) | [![all](https://gethugothemes.com/wp-content/uploads/2019/12/get-more-hugo-themes.png)](https://gethugothemes.com/shop/) | -| **Revolve** | **RedLab** | **More Hugo Themes** | \ No newline at end of file +| **Revolve** | **RedLab** | **More Hugo Themes** | From a77c08dbf50822d9b31ccdf21c96989039aeae18 Mon Sep 17 00:00:00 2001 From: Patrick Kollitsch <83281+davidsneighbour@users.noreply.github.com> Date: Mon, 21 Sep 2020 19:02:43 +0700 Subject: [PATCH 3/4] Add local extension to header partial I have a use case where I would like to add custom content before the `` tag. This change implements that. Users can add locally (either in their overriding theme or in the root directory) add /layouts/partials/overrides/header.html and the content is printed at that location. I see multiple uses for this, after ``, before ``... The path in templates.Exists must be run through printf for some reason. --- layouts/partials/head.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index df78ad9..64ae644 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -49,5 +49,11 @@ {{ template "_internal/google_analytics.html" . }} + +{{ if templates.Exists ( printf "partials/overrides/header.html" ) }} + {{ partial "partials/overrides/header.html" . }} +{{ else }} + {{ "" | safeHTML }} +{{ end }} - \ No newline at end of file + From be2641dfe4af05459c6e45fc574f6e26dd4d40fc Mon Sep 17 00:00:00 2001 From: Mehedi Sharif Titas Date: Mon, 21 Sep 2020 18:53:07 +0600 Subject: [PATCH 4/4] Update README.md --- README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 95fdd4b..e7233c7 100644 --- a/README.md +++ b/README.md @@ -64,11 +64,17 @@ $ git clone git@github.com:themefisher/dot-hugo-documentation-theme.git - Buttons, Tip/Note/Info/Warning boxes, Expand - Responsive Ready -## Reporting Issues - +## Reporting Issues or Contributing We use GitHub Issues as the official bug tracker for the Navigator Template. Please Search [existing issues](https://github.com/themefisher/dot-hugo-documentation-theme/issues). It’s possible someone has already reported the same problem. If your problem or idea is not addressed yet, [open a new issue](https://github.com/themefisher/dot-hugo-documentation-theme/issues) +Contributions are welcome and we will review and consider pull requests. +Primary goals are: +- Keep it simple. +- Keep minimal (or zero) default configuration. +- Avoid interference with user-defined layouts. +- Avoid using JS if it can be solved by CSS. + ## Technical Support or Questions (Paid) If you have questions or need help integrating the product please [contact us](mailto:mehedi@themefisher.com) instead of opening an issue. @@ -89,6 +95,7 @@ Of course, you can also choose what you want to donate, all donations are awesom ## Hire Us We are available for Hiring of your next HUGO project. Drop Us a mail [mehedi@themefisher.com](mailto:mehedi@themefisher.com) + ## Premium Themes | [![Mega-Bundle-HUGO](https://gethugothemes.com/wp-content/uploads/edd/2019/09/Mega-Bundle-HUGO.png)](https://themefisher.com/products/hugo-mega-bundle/) | [![GoDocs](https://gethugothemes.com/wp-content/uploads/edd/2020/02/Home-Page-2.png)](https://gethugothemes.com/products/godocs-hugo-documentation-theme/) | [![Academia](https://gethugothemes.com/wp-content/uploads/edd/2019/08/Academia.jpg)](https://gethugothemes.com/products/academia/) |