Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Header template enhancement and French 404 template file #158

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

easyservices
Copy link

I propose the following enhancements:

  • add the capability to the partials/essentials/header.html file to open or not a new browser window for an HREF link, using a property defined in the params.tom file like:

`# Navigation button
[navigation_button]
enable = true

New params added in template by GLE

x_external = true`

  • add a 404 french template file in /layouts as 404.fr.html

Adding "open new window capability" for an href link using a new property (Params) attached to the navigation_button object.
The boolean property named "x_external" defines if the hyperlink should open a new window or not.
Adding open new window capability for an href link
Adding French language for the 404 error template file.
Adding French language for the 404 error
Copy link

netlify bot commented Dec 2, 2024

Deploy Preview for hugoplate ready!

Name Link
🔨 Latest commit 0870b53
🔍 Latest deploy log https://app.netlify.com/sites/hugoplate/deploys/674dd696e81ef50008153908
😎 Deploy Preview https://deploy-preview-158--hugoplate.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant