Skip to content

Commit

Permalink
fix: update old blog links & add canonical url (excalidraw#8846)
Browse files Browse the repository at this point in the history
  • Loading branch information
dwelle authored Nov 26, 2024
1 parent b2a6a87 commit a758aaf
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<h4 align="center">
<a href="https://excalidraw.com">Excalidraw Editor</a> |
<a href="https://blog.excalidraw.com">Blog</a> |
<a href="https://plus.excalidraw.com/blog">Blog</a> |
<a href="https://docs.excalidraw.com">Documentation</a> |
<a href="https://plus.excalidraw.com">Excalidraw+</a>
</h4>
Expand Down
4 changes: 2 additions & 2 deletions dev-docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const config = {
label: "Docs",
},
{
to: "https://blog.excalidraw.com",
to: "https://plus.excalidraw.com/blog",
label: "Blog",
position: "left",
},
Expand Down Expand Up @@ -111,7 +111,7 @@ const config = {
items: [
{
label: "Blog",
to: "https://blog.excalidraw.com",
to: "https://plus.excalidraw.com/blog",
},
{
label: "GitHub",
Expand Down
2 changes: 1 addition & 1 deletion excalidraw-app/components/EncryptedIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const EncryptedIcon = () => {
return (
<a
className="encrypted-icon tooltip"
href="https://blog.excalidraw.com/end-to-end-encryption/"
href="https://plus.excalidraw.com/blog/end-to-end-encryption"
target="_blank"
rel="noopener noreferrer"
aria-label={t("encrypted.link")}
Expand Down
2 changes: 2 additions & 0 deletions excalidraw-app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@
content="https://excalidraw.com/og-image-3.png"
/>

<link rel="canonical" href="https://excalidraw.com" />

<!------------------------------------------------------------------------->
<!-- to minimize white flash on load when user has dark mode enabled -->
<script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ exports[`<Excalidraw/> > <MainMenu/> > should render main menu with host menu it
</button>
<a
class="dropdown-menu-item dropdown-menu-item-base"
href="blog.excalidaw.com"
href="https://plus.excalidraw.com/blog"
rel="noreferrer"
target="_blank"
>
Expand Down

0 comments on commit a758aaf

Please sign in to comment.