Commit graph

45 commits

Author SHA1 Message Date
Hamed Pourkhaleghi
181c12376e
feat: make phone number a clickable link in footer (#1031)
Co-authored-by: Emruz Hossain <hossainemruz@gmail.com>
2025-02-07 01:37:04 +06:00
Bernat Borràs Civil
03148c9f3f
Migrate to Bootstrap 5 (#918)
* Migrate to Bootstrap 5

* Fix dropdown

* Fix horizontal line color

* Fix vertical line

* Migrate bootstrap on example site

* Fix style issue + scroll spy

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

---------

Signed-off-by: hossainemruz <hossainemruz@gmail.com>
Co-authored-by: Emruz Hossain <hossainemruz@gmail.com>
2024-04-21 02:03:59 +06:00
Dieter Vansteenwegen
1aa27921d0
Add Researchgate as contact option (#864) 2024-01-17 18:56:07 +06:00
Emruz Hossain
58ef60dc65
Use rendering hook for link (#716)
Signed-off-by: hossainemruz <hossainemruz@gmail.com>

Signed-off-by: hossainemruz <hossainemruz@gmail.com>
2022-12-27 21:28:51 +00:00
freezingDaniel
56615bfa43
Update repo-URLs (#651) 2022-10-03 01:55:12 +00:00
Akumetsu
6585f002a9
Added functionality for use of any fontawesome icon and custom socials (#640) 2022-09-05 04:19:59 +00:00
Jean-Baptiste Le Duigou
1e951589ef
[enhancement] Fix year in copyright notice (#528)
* Fix link to email address

See https://github.com/hossainemruz/toha/issues/7

* fix: 🐛 year of copyright notice should be generated
2022-02-09 05:55:32 +00:00
Jan
d74549f870
feat: id for footer (#517)
Added id="footer" just in case someone wants to link there via custom
menus or href="#footer".

Co-authored-by: stueja <jan@jBook.local>
Co-authored-by: Emruz Hossain <hossainemruz@gmail.com>
2022-01-31 17:09:31 +00:00
Jan
a159ff65b1
feat: customMenus in footer (#513)
* feat: customMenus in footer

Show customMenu links also in footer.
In `config.yaml`,
 - `params.footer.enable` is `true` to show the footer at all
 - `params.footer.navigation.enable` is `true` to show navigation items
   in the footer
 - `params.footer.navigation.customMenus.enable` is `true` to show
   customMenu items

Example:
```
params:
  footer:
    enable: true
    navigation:
      enable: true
      customMenus:
        enable: true
```

In `data/<language>/site.yaml`,
 - `customMenus` must contain at least one entry with `showOnFooter:
   true`

Example:
 ```
 customMenus:
   - name: Imprint
     url: posts/imprint
     showOnFooter: true
 ```

* fix: nesting levels in config

Co-authored-by: stueja <jan@jBook.local>
Co-authored-by: Emruz Hossain <hossainemruz@gmail.com>
2022-01-31 17:04:01 +00:00
Jan
93f422675f
Update footer.html (#499)
Added closing div
2022-01-17 03:38:25 +00:00
Till
39e1433fca
Footer contact info: Icons and linking (#471)
* Footer contact info: Icons and linking

* Open link in a new tab

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

Co-authored-by: Emruz Hossain <hossainemruz@gmail.com>
2021-12-07 18:11:59 +00:00
Pablo Marcos
ad149f4d80
Fixed absLangURL issue with sections in footer (#442)
* Add Blogtrottr as newsletter provider

* Fixed absLangURL issue with sections in footer

Co-authored-by: Pablo Marcos <codebergflamingo@staplehorse.anonaddy.com>
2021-10-20 19:00:17 +00:00
Pablo Marcos
4803151e93
Add Blogtrottr as newsletter provider (#402)
Co-authored-by: Pablo Marcos <codebergflamingo@staplehorse.anonaddy.com>
2021-08-29 15:05:16 +06:00
BoT
03edbac376
Add text link support for disclaimer. (#385)
为免责声明添加文本链接支持。
Fix some Chinese translation.
变更disclaimer翻译为“免责声明”。

Signed-off-by: Ray <Chow-Ray@outlook.com>
2021-07-30 22:57:36 +06:00
Jean-Baptiste Le Duigou
c3405ba75b
Mailchimp (#308)
* Fix link to email address

See https://github.com/hossainemruz/toha/issues/7

*  adding mailchimp newsletter feature

Signed-off-by: jbleduigou <jb.leduigou@gmail.com>

* Make possible to support different newsletter service in future

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

Co-authored-by: Emruz Hossain <hossainemruz@gmail.com>
2021-05-17 17:56:16 +06:00
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
Renamed from toha/layouts/partials/footer.html (Browse further)