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

Michael Weiss
23.18.2023 f0baee4f8cd92da1cef33b004524dd585115f3c2
refs
author Michael Weiss <code@mweiss.ch>
Monday, January 23, 2023 00:18 +0100
committer GitHub <noreply@github.com>
Monday, January 23, 2023 00:18 +0100
commitf0baee4f8cd92da1cef33b004524dd585115f3c2
tree c186610363b903553066659cd5f0d404beb84ca5 tree | zip | gz
parent 6407a2039bca448ee0dee1f5fe8fddfe969ef03c view | diff
Use Relative Permalink in Language Selector (#764)

### 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

Makes the language selector independent of the baseUrl config. This is
helpful if e.g. multiple domains alias to the page.

### Issues Resolved

None, afaik.

### 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
- [ ] 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
1 files modified
2 ■■■ changed files
layouts/partials/header.html 2 ●●● diff | view | raw | blame | history