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 external link icon for external links on page index #2784

Merged
merged 1 commit into from
Jan 9, 2025

Conversation

bph-c8y
Copy link
Contributor

@bph-c8y bph-c8y commented Jan 9, 2025

This copies the existing logic from

<h2>{{.Title}}
{{if (isset .Params "external") }}
<i class="dlt-c8y-icon-external-link" style="font-size: 14px;" title="External website"></i>
{{end}}
</h2>
to the home page, so external links are properly labelled.

Copy link
Contributor

github-actions bot commented Jan 9, 2025

Preview available here

@BeateRixen BeateRixen requested a review from carlosceia January 9, 2025 11:41
@bph-c8y bph-c8y enabled auto-merge January 9, 2025 15:22
@bph-c8y bph-c8y merged commit 2bf6533 into develop Jan 9, 2025
1 check passed
@bph-c8y bph-c8y deleted the dev/external-link-homepage branch January 9, 2025 15:53
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.

3 participants