jpanther / lynx

A simple links theme for Hugo built with Tailwind CSS.
https://jpanther.github.io/lynx/
MIT License
366 stars 126 forks source link

Fix ZgotmplZ for custom link style #117

Closed rlan closed 7 months ago

rlan commented 9 months ago

Before this change, custom styles such as:

    { link = { text = "GitHub", href = "https://github.com/rlan" } },

in config.toml will result in

      <link href="#ZgotmplZ" rel="me" />

This is because in the original code, $url will be a map type. The fix is similar to how it is handled in layouts/index.html at https://github.com/jpanther/lynx/blob/b4bf23e02f2ed1585feae310b1f29a27347a9da0/layouts/index.html#L44

netlify[bot] commented 9 months ago

Deploy Preview for hugo-lynx ready!

Name Link
Latest commit 4a13847e082507b24d9d2064347545c159db3f88
Latest deploy log https://app.netlify.com/sites/hugo-lynx/deploys/659e7c14b78cda00083e1e7b
Deploy Preview https://deploy-preview-117--hugo-lynx.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.

github-actions[bot] commented 7 months ago

This pull request has been automatically marked as stale because it has not had any recent activity. Please review the PR history and add a reply with any requested information. If no information has been requested, it may be that this contribution does not fit with the project objectives, or does not adhere to the contributing guidelines. If this is in error, please add a reply with further details. This PR will automactically close in 14 days if no further activity occurs.