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

Add QR code generation to image functions for offline permalinks #13205

Closed
BartG95 opened this issue Dec 30, 2024 · 3 comments · Fixed by #13212
Closed

Add QR code generation to image functions for offline permalinks #13205

BartG95 opened this issue Dec 30, 2024 · 3 comments · Fixed by #13212

Comments

@BartG95
Copy link

BartG95 commented Dec 30, 2024

This might sound a bit odd for a website, but the idea is to add a QR code of the permalink of a page to that page itself, possibly only displayed by a @media print css rule. Then when someone encounters the printed version, they can easily go to the up to date online version.

@bep
Copy link
Member

bep commented Dec 30, 2024

Yea, that would be useful.

This looks solid:

https://github.com/rsc/qr

I suggest we make it:

{{ images.QR "https://example.org" }}

Which would produce a image resource that could be used as an overlay.

@jmooring
Copy link
Member

Having gone through a similar exercise in a document management context, we will want to test this by printing a page at 600 dpi, then scanning with a phone.

jmooring added a commit to jmooring/hugo that referenced this issue Jan 2, 2025
jmooring added a commit to jmooring/hugo that referenced this issue Jan 2, 2025
jmooring added a commit to jmooring/hugo that referenced this issue Jan 2, 2025
jmooring added a commit to jmooring/hugo that referenced this issue Jan 2, 2025
jmooring added a commit to jmooring/hugo that referenced this issue Jan 2, 2025
jmooring added a commit to jmooring/hugo that referenced this issue Jan 3, 2025
jmooring added a commit to jmooring/hugo that referenced this issue Jan 3, 2025
jmooring added a commit to jmooring/hugo that referenced this issue Jan 3, 2025
jmooring added a commit to jmooring/hugo that referenced this issue Jan 3, 2025
jmooring added a commit to jmooring/hugo that referenced this issue Jan 3, 2025
jmooring added a commit to jmooring/hugo that referenced this issue Jan 4, 2025
jmooring added a commit to jmooring/hugo that referenced this issue Jan 4, 2025
jmooring added a commit to jmooring/hugo that referenced this issue Jan 4, 2025
jmooring added a commit to jmooring/hugo that referenced this issue Jan 4, 2025
jmooring added a commit to jmooring/hugo that referenced this issue Jan 5, 2025
jmooring added a commit to jmooring/hugo that referenced this issue Jan 5, 2025
jmooring added a commit to jmooring/hugo that referenced this issue Jan 5, 2025
jmooring added a commit to jmooring/hugo that referenced this issue Jan 5, 2025
jmooring added a commit to jmooring/hugo that referenced this issue Jan 5, 2025
jmooring added a commit to jmooring/hugo that referenced this issue Jan 5, 2025
bep pushed a commit to jmooring/hugo that referenced this issue Jan 6, 2025
@bep bep closed this as completed in #13212 Jan 6, 2025
bep pushed a commit that referenced this issue Jan 6, 2025
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 28, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants