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

[Hugo] Abbildungen für light-/dark-Mode passend anzeigen #38

Open
cagix opened this issue Mar 16, 2023 · 0 comments
Open

[Hugo] Abbildungen für light-/dark-Mode passend anzeigen #38

cagix opened this issue Mar 16, 2023 · 0 comments

Comments

@cagix
Copy link
Owner

cagix commented Mar 16, 2023

Für GitHub kann man zwei verschiedene Abbildungen bereit stellen und einbinden, so dass passend zum Mode die passende Abbildung angezeigt wird. (Quelle: GitHub Docs: Specifying the theme an image is shown to)

In Relearn Theme werden Abbildungen mit einem leicht modifizierten Markdown-Abbildungslink eingebunden und eine nette "Lightbox" erzeugt: https://mcshelby.github.io/hugo-theme-relearn/cont/markdown/index.html#images

=> Wie kriegt man beide Welten zusammen?

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

No branches or pull requests

1 participant