Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Elastic.Markdown/Slices/Layout/_LandingPage.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,8 @@
<h3 class="font-sans font-bold text-2xl">Previous versions</h3>
<p class="grow mt-4">Browse the docs for previous Elastic product versions.</p>
<div class="mt-6">
<a href="@Model.Link("/guide")" target="_blank" rel="noopener noreferrer" class="link text-white">
View archive docs
<a href="https://www.elastic.co/guide" target="_blank" rel="noopener noreferrer" class="link text-white">
Copy link
Member Author

@bmorelli25 bmorelli25 Apr 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@elastic/docs-engineering I'm not sure if this is correct. It seems @Model.Link(" substitutes elastic.co/docs in. In this case, I don't want to link to a /docs page. Is this the correct way to do this? The unfortunate thing is that the link is not environment aware.

Should I do <a href="/guide" instead?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Full URL seems good.

View previous versions
<svg class="link-arrow"
xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" d="M17.25 8.25 21 12m0 0-3.75 3.75M21 12H3"/>
Expand Down
Loading