mirror of https://github.com/luizdepra/hugo-coder.git

toinux
28.55.2024 745f785dd9a76b5102e6e58c9e5e550c458a6273
refs
author toinux <26522723+itzwam@users.noreply.github.com>
Wednesday, February 28, 2024 13:55 +0100
committer GitHub <noreply@github.com>
Wednesday, February 28, 2024 13:55 +0100
commit745f785dd9a76b5102e6e58c9e5e550c458a6273
tree df9b3789436eeb6377f95212ea27d6b492062d73 tree | zip | gz
parent e5ffcde6e98ce857189ee171de8058e43f5d3db7 view | diff
HomePage uses Params.urlFunc + Based on HomePage relLink (#872)

### Prerequisites

Put an `x` into the box(es) that apply:

- [x] This pull request fixes a bug.
- [ ] This pull request adds a feature.
- [ ] This pull request introduces breaking change.

### Description

Use urlFunc on homepage link + refer to .Site.Home instead of
.Site.BaseURL

+ explicitly use .Site as . for clarity

### Issues Resolved

fix #871

### Checklist

Put an `x` into the box(es) that apply:

#### General

- [x] Describe what changes are being made
- [x] Explain why and how the changes were necessary and implemented
respectively
- [x] Reference issue with `#<ISSUE_NO>` if applicable

#### Resources

- [ ] If you have changed any SCSS code, run `make release` to
regenerate all CSS files

#### Contributors

- [x] Add yourself to `CONTRIBUTORS.md` if you aren't on it already
- [x] Linted the file as an optional task

---------

Co-authored-by: Luiz F. A. de PrĂ¡ <luizdepra@users.noreply.github.com>
2 files modified
7 ■■■■ changed files
CONTRIBUTORS.md 1 ●●●● diff | view | raw | blame | history
layouts/partials/header.html 6 ●●●●● diff | view | raw | blame | history