Skip to content

Commit

Permalink
Add canonical links
Browse files Browse the repository at this point in the history
In case there are duplicate pages at different URLs, these links tell
search engines which URL is the canonical one.
  • Loading branch information
bkrl committed Jan 1, 2024
1 parent aa68f3a commit f13577b
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<meta property="og:image" content="{% if page.image %}{{ page.image | absolute_url }}{% else %}{{ site.image | absolute_url }}{% endif %}">
<meta name="twitter:card" content="summary_large_image">
<meta name="theme-color" content="#FFBD3F" />
<link rel="canonical" href="{% if page.canonical %}{{ page.canonical }}{% else %}{{ page.url | absolute_url }}{% endif %}" />

<!-- KaTeX -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.css" integrity="sha384-AfEj0r4/OFrOo5t7NnNe46zW/tFgW6x/bCJG8FqQCEo3+Aro6EYUG4+cU+KJWu/X" crossorigin="anonymous">
Expand Down
1 change: 1 addition & 0 deletions _posts/2023-03-07-lactf-stuff.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ title: pwn/stuff | LA CTF 2023
description: Ropping without useful gadgets
author: Alexander Zhang
tags: pwn ROP stack-pivot
canonical: https://www.alexyzhang.dev/write-ups/lactf-2023/stuff/
---

This write-up is also posted on my website at <https://www.alexyzhang.dev/write-ups/lactf-2023/stuff/>.
Expand Down
1 change: 1 addition & 0 deletions _posts/2023-03-17-dicectf-bop.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ title: pwn/bop | DiceCTF 2023
description: Reading and printing the flag with a ROP chain
author: Alexander Zhang
tags: pwn rop seccomp
canonical: https://www.alexyzhang.dev/write-ups/dicectf-2023/bop/
---

This write-up is also posted on my website at <https://www.alexyzhang.dev/write-ups/dicectf-2023/bop/>.
Expand Down
1 change: 1 addition & 0 deletions _posts/2023-05-22-angstromctf-noleek.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ title: noleek | ångstromCTF 2023
description: Leakless format string exploitation
author: Alexander Zhang
tags: pwn format-string
canonical: https://www.alexyzhang.dev/write-ups/angstromctf-2023/noleek/
---

This write-up is also posted on my website at <https://www.alexyzhang.dev/write-ups/angstromctf-2023/noleek/>.
Expand Down
1 change: 1 addition & 0 deletions _posts/2023-08-07-corctf-harem-scarem.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ title: pwn/harem-scarem | corCTF 2023
description: Sigreturn-oriented programming with a quirky language
author: Alexander Zhang
tags: pwn ROP sigreturn
canonical: https://www.alexyzhang.dev/write-ups/corctf-2023/harem-scarem/
---

This write-up is also posted on my website at <https://www.alexyzhang.dev/write-ups/corctf-2023/harem-scarem/>.
Expand Down
1 change: 1 addition & 0 deletions _posts/2023-12-30-csaw-brainflop.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ title: brainflop | CSAW CTF 2023 Finals
description: Pwning a Brainf*ck interpreter
author: Alexander Zhang
tags: pwn
canonical: https://www.alexyzhang.dev/write-ups/csaw-finals-2023/brainflop/
---

This write-up is also posted on my website at <https://www.alexyzhang.dev/write-ups/csaw-finals-2023/brainflop/>.
Expand Down

0 comments on commit f13577b

Please sign in to comment.