Skip to content

Commit

Permalink
docs: update canonical urls
Browse files Browse the repository at this point in the history
  • Loading branch information
Phosphorus-M committed May 25, 2024
1 parent 6c59453 commit 29c4cc1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions theme/index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
{{> head}}

{{#if (eq slug "title-page") }}
<link rel="canonical" href="https://www.rustlang-es.org/rust-book-es/" />
<link rel="canonical" href="https://book.rustlang-es.org" />
{{else}}
<link rel="canonical" href="https://www.rustlang-es.org/rust-book-es/{{ slug }}" />
<link rel="canonical" href="https://book.rustlang-es.org/{{ slug }}" />
{{/if}}


Expand All @@ -27,11 +27,11 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#ffffff" />

<meta property="og:url" content="https://rustlanges.github.io">
<meta property="og:url" content="https://book.rustlang-es.org">
<meta property="og:type" content="book">
<meta property="og:title" content="{{ title }}">
<meta property="og:description" content="{{ description }}">
<meta property="og:image" content="https://rustlanges.github.io/rust-book-es/img/open-graph.png">
<meta property="og:image" content="https://rustlang-es.org/rust-book-es/img/open-graph.png">

{{#if favicon_svg}}
<link rel="icon" href="{{ path_to_root }}favicon.svg">
Expand Down

0 comments on commit 29c4cc1

Please sign in to comment.