Skip to content

Commit

Permalink
Refactor file paths for assets in 404 page, about page, archives page…
Browse files Browse the repository at this point in the history
…, articles page, blog page, and contact page

- Refactored file paths for asset references in the 404, about, archives, articles, blog, and contact pages to remove unnecessary domain name prefixes and add leading slashes.
- Updated links to main CSS file, theme image, GitHub and RSS icons, favicon, and apple-touch-icon.
- Updated metadata and canonical links for the about, archives, articles, blog, and contact pages.
  • Loading branch information
Charle4 committed Oct 3, 2023
1 parent 82827d2 commit ef70e2a
Show file tree
Hide file tree
Showing 29 changed files with 249 additions and 249 deletions.
26 changes: 13 additions & 13 deletions 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,13 @@



<link rel="preload stylesheet" as="style" href="/www.suesung.com/main.min.css" />
<link rel="preload stylesheet" as="style" href="/main.min.css" />





<link rel="preload" as="image" href="www.suesung.com/theme.png" />
<link rel="preload" as="image" href="theme.png" />



Expand All @@ -78,14 +78,14 @@



<link rel="preload" as="image" href="www.suesung.com/github.svg" />
<link rel="preload" as="image" href="github.svg" />

<link rel="preload" as="image" href="www.suesung.com/rss.svg" />
<link rel="preload" as="image" href="rss.svg" />



<link rel="icon" href="www.suesung.com/favicon.ico" />
<link rel="apple-touch-icon" href="www.suesung.com/apple-touch-icon.png" />
<link rel="icon" href="favicon.ico" />
<link rel="apple-touch-icon" href="apple-touch-icon.png" />


<meta name="generator" content="Hugo 0.110.0">
Expand All @@ -105,7 +105,7 @@
<meta property="og:title" content="404 Page not found" />
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:url" content="www.suesung.com/404.html" />
<meta property="og:url" content="/404.html" />


<meta itemprop="name" content="404 Page not found">
Expand Down Expand Up @@ -161,7 +161,7 @@
<div class="relative z-50 mr-auto flex items-center">
<a
class="-translate-x-[1px] -translate-y-0.5 text-3xl font-bold"
href="www.suesung.com"
href=""
>Charles IV</a
>
<a
Expand Down Expand Up @@ -226,19 +226,19 @@

<a
class="block text-center text-2xl leading-[5rem] lg:text-base lg:font-normal"
href="www.suesung.com/about/"
href="/about/"
>About</a
>

<a
class="block text-center text-2xl leading-[5rem] lg:text-base lg:font-normal"
href="www.suesung.com/contact/"
href="/contact/"
>Contact</a
>

<a
class="block text-center text-2xl leading-[5rem] lg:text-base lg:font-normal"
href="www.suesung.com/"
href="/"
>Home</a
>

Expand All @@ -260,7 +260,7 @@
<a
class="h-8 w-8 [background:var(--url)_center_center/cover_no-repeat] lg:h-6 lg:w-6"
style="--url: url(./rss.svg)"
href=" www.suesung.com/index.xml "
href=" index.xml "
target="_blank"
></a>

Expand All @@ -287,7 +287,7 @@
>
<div class="mr-auto">
&copy; 2023
<a class="link" href="www.suesung.com">Charles IV</a>
<a class="link" href="">Charles IV</a>
</div>
<a class="link mx-6" href="https://gohugo.io/" rel="noopener" target="_blank"
>Powered by Hugo️️</a
Expand Down
6 changes: 3 additions & 3 deletions about-me/index.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<!DOCTYPE html>
<html lang="zh">
<head>
<title>www.suesung.com/contact/</title>
<link rel="canonical" href="www.suesung.com/contact/">
<title>/contact/</title>
<link rel="canonical" href="/contact/">
<meta name="robots" content="noindex">
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url=www.suesung.com/contact/">
<meta http-equiv="refresh" content="0; url=/contact/">
</head>
</html>
28 changes: 14 additions & 14 deletions about/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,19 +69,19 @@



<link rel="preload stylesheet" as="style" href="/www.suesung.com/main.min.css" />
<link rel="preload stylesheet" as="style" href="/main.min.css" />


<script
defer
src="www.suesung.com/highlight.min.js"
src="highlight.min.js"
onload="hljs.initHighlightingOnLoad();"
></script>




<link rel="preload" as="image" href="www.suesung.com/theme.png" />
<link rel="preload" as="image" href="theme.png" />



Expand All @@ -91,14 +91,14 @@



<link rel="preload" as="image" href="www.suesung.com/github.svg" />
<link rel="preload" as="image" href="github.svg" />

<link rel="preload" as="image" href="www.suesung.com/rss.svg" />
<link rel="preload" as="image" href="rss.svg" />



<link rel="icon" href="www.suesung.com/favicon.ico" />
<link rel="apple-touch-icon" href="www.suesung.com/apple-touch-icon.png" />
<link rel="icon" href="favicon.ico" />
<link rel="apple-touch-icon" href="apple-touch-icon.png" />


<meta name="generator" content="Hugo 0.110.0">
Expand All @@ -118,7 +118,7 @@
<meta property="og:title" content="About" />
<meta property="og:description" content="About" />
<meta property="og:type" content="article" />
<meta property="og:url" content="www.suesung.com/about/" /><meta property="article:section" content="" />
<meta property="og:url" content="/about/" /><meta property="article:section" content="" />
<meta property="article:published_time" content="2023-01-28T00:00:00+00:00" />
<meta property="article:modified_time" content="2023-01-28T00:00:00+00:00" />

Expand Down Expand Up @@ -179,7 +179,7 @@
<div class="relative z-50 mr-auto flex items-center">
<a
class="-translate-x-[1px] -translate-y-0.5 text-3xl font-bold"
href="www.suesung.com"
href=""
>Charles IV</a
>
<a
Expand Down Expand Up @@ -244,19 +244,19 @@

<a
class="block text-center text-2xl leading-[5rem] lg:text-base lg:font-normal"
href="www.suesung.com/about/"
href="/about/"
>About</a
>

<a
class="block text-center text-2xl leading-[5rem] lg:text-base lg:font-normal"
href="www.suesung.com/contact/"
href="/contact/"
>Contact</a
>

<a
class="block text-center text-2xl leading-[5rem] lg:text-base lg:font-normal"
href="www.suesung.com/"
href="/"
>Home</a
>

Expand All @@ -278,7 +278,7 @@
<a
class="h-8 w-8 [background:var(--url)_center_center/cover_no-repeat] lg:h-6 lg:w-6"
style="--url: url(./rss.svg)"
href=" www.suesung.com/index.xml "
href=" index.xml "
target="_blank"
></a>

Expand Down Expand Up @@ -337,7 +337,7 @@ <h1 class="!my-0 pb-2.5">About</h1>
>
<div class="mr-auto">
&copy; 2023
<a class="link" href="www.suesung.com">Charles IV</a>
<a class="link" href="">Charles IV</a>
</div>
<a class="link mx-6" href="https://gohugo.io/" rel="noopener" target="_blank"
>Powered by Hugo️️</a
Expand Down
28 changes: 14 additions & 14 deletions archives/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,19 +65,19 @@



<link rel="preload stylesheet" as="style" href="/www.suesung.com/main.min.css" />
<link rel="preload stylesheet" as="style" href="/main.min.css" />


<script
defer
src="www.suesung.com/highlight.min.js"
src="highlight.min.js"
onload="hljs.initHighlightingOnLoad();"
></script>




<link rel="preload" as="image" href="www.suesung.com/theme.png" />
<link rel="preload" as="image" href="theme.png" />



Expand All @@ -87,14 +87,14 @@



<link rel="preload" as="image" href="www.suesung.com/github.svg" />
<link rel="preload" as="image" href="github.svg" />

<link rel="preload" as="image" href="www.suesung.com/rss.svg" />
<link rel="preload" as="image" href="rss.svg" />



<link rel="icon" href="www.suesung.com/favicon.ico" />
<link rel="apple-touch-icon" href="www.suesung.com/apple-touch-icon.png" />
<link rel="icon" href="favicon.ico" />
<link rel="apple-touch-icon" href="apple-touch-icon.png" />


<meta name="generator" content="Hugo 0.110.0">
Expand All @@ -114,7 +114,7 @@
<meta property="og:title" content="" />
<meta property="og:description" content="" />
<meta property="og:type" content="article" />
<meta property="og:url" content="www.suesung.com/archives/" /><meta property="article:section" content="" />
<meta property="og:url" content="/archives/" /><meta property="article:section" content="" />
<meta property="article:published_time" content="2019-05-28T00:00:00+00:00" />
<meta property="article:modified_time" content="2019-05-28T00:00:00+00:00" />

Expand Down Expand Up @@ -175,7 +175,7 @@
<div class="relative z-50 mr-auto flex items-center">
<a
class="-translate-x-[1px] -translate-y-0.5 text-3xl font-bold"
href="www.suesung.com"
href=""
>Charles IV</a
>
<a
Expand Down Expand Up @@ -240,19 +240,19 @@

<a
class="block text-center text-2xl leading-[5rem] lg:text-base lg:font-normal"
href="www.suesung.com/about/"
href="/about/"
>About</a
>

<a
class="block text-center text-2xl leading-[5rem] lg:text-base lg:font-normal"
href="www.suesung.com/contact/"
href="/contact/"
>Contact</a
>

<a
class="block text-center text-2xl leading-[5rem] lg:text-base lg:font-normal"
href="www.suesung.com/"
href="/"
>Home</a
>

Expand All @@ -274,7 +274,7 @@
<a
class="h-8 w-8 [background:var(--url)_center_center/cover_no-repeat] lg:h-6 lg:w-6"
style="--url: url(./rss.svg)"
href=" www.suesung.com/index.xml "
href=" index.xml "
target="_blank"
></a>

Expand Down Expand Up @@ -327,7 +327,7 @@ <h1 class="!my-0 pb-2.5"></h1>
>
<div class="mr-auto">
&copy; 2023
<a class="link" href="www.suesung.com">Charles IV</a>
<a class="link" href="">Charles IV</a>
</div>
<a class="link mx-6" href="https://gohugo.io/" rel="noopener" target="_blank"
>Powered by Hugo️️</a
Expand Down
6 changes: 3 additions & 3 deletions articles/index.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<!DOCTYPE html>
<html lang="zh">
<head>
<title>www.suesung.com/post/</title>
<link rel="canonical" href="www.suesung.com/post/">
<title>/post/</title>
<link rel="canonical" href="/post/">
<meta name="robots" content="noindex">
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url=www.suesung.com/post/">
<meta http-equiv="refresh" content="0; url=/post/">
</head>
</html>
6 changes: 3 additions & 3 deletions blog/index.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<!DOCTYPE html>
<html lang="zh">
<head>
<title>www.suesung.com/post/</title>
<link rel="canonical" href="www.suesung.com/post/">
<title>/post/</title>
<link rel="canonical" href="/post/">
<meta name="robots" content="noindex">
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url=www.suesung.com/post/">
<meta http-equiv="refresh" content="0; url=/post/">
</head>
</html>
Loading

0 comments on commit ef70e2a

Please sign in to comment.