Commit Graph

30 Commits

Author SHA1 Message Date
Thorsten Alteholz 0cdce56244 In case the old config already deactivated the newletter, it must be also (#311)
deactivated in the compatibility code.

Co-authored-by: Thorsten Alteholz <thorsten@alteholz.de>
Co-authored-by: Emruz Hossain <hossainemruz@gmail.com>
2021-05-17 00:02:18 +06:00
Thorsten Alteholz 5798312a92 Add a disclaimer in the footer of each page. (#312)
* Add a disclaimer in the footer of each page.

* Fix CSS + Add translations

Signed-off-by: hossainemruz <hossainemruz@gmail.com>

Co-authored-by: Thorsten Alteholz <thorsten@alteholz.de>
Co-authored-by: Emruz Hossain <hossainemruz@gmail.com>
2021-05-16 23:57:17 +06:00
Kaligule fc5656c937 Allow footer configuration (#303)
* Allow to disable the footer with params.footer.enable = false

Default is to have the footer enabled (to keep backwards
compatibility).

The diff looks much worse than it is, I just added a variable and an
if clause, but then had to indent the rest of the file.

Make footerEnabled an explicit variable.

This should improve readability.

Use default parameter for even more readability.

* Allow to enable/disable the "contact me" section in the footer.

Just set `footer.contactMe.enable` in the config. Default is true, for
backwards compatibility.

* Make footer template more consistent.

Enabling footers elements and the newsletter is now managed in the
same place.

* Allow to disable the footer navigation. Default is enabled.

* Allow to disable credentials and copyright notice. Default: enabled

* Footer: Reformat variable initialization for readability.

* Allow providing template for footer

Signed-off-by: hossainemruz <hossainemruz@gmail.com>

Co-authored-by: hossainemruz <hossainemruz@gmail.com>
2021-05-02 03:57:19 +06:00
Jakub Cabak 19c2edb08d Accessibility and SEO improvements (#296)
Co-authored-by: JCabak <kubaczento@gmail.com>
2021-04-25 17:15:22 +06:00
Tommy Chu d38634df8d Refactor target values of redirections to external pages (#292) 2021-04-05 23:32:54 +06:00
Emruz Hossain fa946af504 Fix various issues detected by html-proofer (#270)
* Add alt tag to the images

Signed-off-by: hossainemruz <hossainemruz@gmail.com>

* Remove unnecessary /

Signed-off-by: hossainemruz <hossainemruz@gmail.com>
2021-03-29 03:44:33 +06:00
priyanshsaxena 1c3154d47a Footer navigation links fix
Closes #260
2021-03-24 10:08:10 +06:00
Léo GATELLIER 4270ad6bbf Markdownify copyright notice (#219)
Co-authored-by: Léo GATELLIER <leo.gatellier@soprasteria.com>
2021-01-13 13:36:09 +06:00
Patrick Magauran a2b3c7fda2 Transition to Hugo Image Processing (#173)
* Update layout to use Hugo Image Processing.

Created shortcode rimg that uses the srcset attribute to display responsive images.

* Copy Static images to assets folder.

* Add image processing to missing components + Update examples

* Fix rendering in https://themes.gohugo.io/

Co-authored-by: Emruz Hossain <emruz@appscode.com>
2020-12-31 20:55:28 +00:00
alex bezek d0c32c5d08 Fix the single template to use the authors avatar correctly (#107)
* Fix the single template to use the authors avatar correctly

* Replace absURL with relURL and .Site.X with site.X

Co-authored-by: Emruz Hossain <emruz@appscode.com>
2020-10-25 08:07:18 +06:00
dadosch 33a68fc44f fix URLs when serving from a subdirectory (#120) 2020-10-22 23:27:04 +06:00
Emruz Hossain 33d43ae325 Fix URL in footer (#95) 2020-10-11 20:08:47 +06:00
Emruz Hossain 56c8ba4e43 Fix smooth scroll for multi-language setup (#93) 2020-10-11 12:40:00 +06:00
Hugo MARTIN 46b21e028c Translations and i18n (#60)
* Managing i18n

* Fix absolute path

* Config files

* Home link manage langage

* Fixing footer i18n

* Implemented i18n on newsletter

* Implemented two languages in example

* Removed old section directory

* Using yaml in data to organize home summary

* Fully working for old versions without i18n

* Integrating language menu CSS

* Fix language dropdown CSS

* Refactor translation codes

* Remove duplicate code

* Fix URL issues

* Move customMenus and other site related config into data section

* Fix error during language toggle

* Only show the available translation for the posts

* Handle navbar brand URL properly

* Fix responsiveness

Co-authored-by: Hugo MARTIN <hugo.martin.69@gmail.com>
Co-authored-by: hossainemruz <emruz@appscode.com>
2020-10-03 09:59:28 +06:00
Md. Emruz Hossain 36eaf72f47 Fix footer text indentation (#49) 2020-07-22 22:41:39 +06:00
Md. Emruz Hossain 7da028e643 Allow hiding newsletter section from footer (#48)
* Allow hiding newsletter section from footer

* Update README.md
2020-07-22 22:27:33 +06:00
Al 4eadb8ee2c add / to change URL in Navigation in footer (#41) 2020-07-16 10:26:59 +06:00
Jason Tipton a83b1c5658 Allow section titles to be hidden inline (#24)
* Allow section titles to be hidden within the section themselves

* Show sections in footer to match navbar
2020-07-04 01:04:30 +06:00
Jason Tipton 45535cd290 Allow config.yaml to modify the site copyright (#18) 2020-06-30 09:40:42 +06:00
Md. Emruz Hossain e2d376215a Make home page sections dynamic and configurable (#14)
* Make home page sections dynamic and configurable

* Fix navbar issue when no section is configured + fix next-prev navigator

* Update exampleSite

* Fix next-prev navigator

* Make navbar brand URL context aware
2020-06-30 01:54:28 +06:00
Jean-Baptiste Le Duigou 82bf748cc1 Bump copyright year 2020-06-23 18:49:40 +02:00
hossainemruz b57d2bcf52 Make header linkable + fix bug 2020-06-17 05:46:46 +06:00
hossainemruz dbd270eaee Make theme compatible with hugoBasicExamples
Signed-off-by: hossainemruz <emruz@appscode.com>
2020-06-02 03:59:39 +06:00
hossainemruz 07e816219f Finalize theme 2020-04-18 22:59:58 +06:00
hossainemruz 6e747d9e0c add 404 page 2020-04-18 04:25:15 +06:00
hossainemruz 00465629d2 Convert list page into hugo templates 2020-04-18 02:19:46 +06:00
hossainemruz 6106bb0fb3 Convert single page into hugo template 2020-04-17 02:40:14 +06:00
hossainemruz 3873876e35 Convert homepage into hugo templates 2020-04-14 21:35:57 +06:00
hossainemruz 31012c1eed added partial templates 2020-04-13 23:04:00 +06:00
hossainemruz e28a9b171b fix folder structure 2020-04-13 21:51:32 +06:00