Skip to content

Header template enhancement and French 404 template file#158

Open
easyservices wants to merge 7 commits intozeon-studio:mainfrom
easyservices:main
Open

Header template enhancement and French 404 template file#158
easyservices wants to merge 7 commits intozeon-studio:mainfrom
easyservices:main

Conversation

@easyservices
Copy link
Copy Markdown

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
@netlify
Copy link
Copy Markdown

netlify bot commented Dec 2, 2024

Deploy Preview for hugoplate ready!

Name Link
🔨 Latest commit b7b4673
🔍 Latest deploy log https://app.netlify.com/projects/hugoplate/deploys/68d1abae5f7405000843934e
😎 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 project configuration.

Bug correction for the bullet list on small screens as it appears bigger than the main body text.
@easyservices
Copy link
Copy Markdown
Author

The update for the index.html file is for correcting a bug on the bullet list for small screens as it renders bigger than the body text.

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