-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: fix paths of robots.txt and sitemap.xml
- Loading branch information
1 parent
bc9caab
commit c152bf8
Showing
5 changed files
with
27 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,29 @@ | ||
{{define "head"}} | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>{{.Frontmatter.Title}}</title> | ||
|
||
<link rel="preload stylesheet" href="{{.Layout.ThemeURL}}" /> | ||
<script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.9.0/build/highlight.min.js"></script> | ||
<link | ||
rel="alternate" | ||
type="application/atom+xml" | ||
title="feed" | ||
href="/feed.atom" | ||
/> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>{{.Frontmatter.Title}}</title> | ||
|
||
{{range .Frontmatter.JSFiles}} | ||
<script src="/script/{{.}}" defer></script> | ||
{{end}} {{range .Layout.SiteScripts}} | ||
<script src="/script/{{.}}" defer></script> | ||
{{end}} | ||
<link rel="preload stylesheet" href="{{.Layout.ThemeURL}}" /> | ||
<script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.9.0/build/highlight.min.js"></script> | ||
<link rel="alternate" type="application/atom+xml" title="feed" href="/feed.atom" /> | ||
|
||
<meta property="og:type" content="website" /> | ||
<meta property="og:title" content="{{ .Frontmatter.Title }}" /> | ||
<meta | ||
property="og:description" | ||
content="{{ .Frontmatter.Description }}" | ||
/> | ||
<meta property="og:image" content="{{ .Frontmatter.PreviewImage }}" /> | ||
</head> | ||
{{range .Frontmatter.JSFiles}} | ||
<script src="/script/{{.}}" defer></script> | ||
{{end}} {{range .Layout.SiteScripts}} | ||
<script src="/script/{{.}}" defer></script> | ||
{{end}} | ||
</html> | ||
|
||
<meta property="og:type" content="website" /> | ||
<meta property="og:title" content="{{ .Frontmatter.Title }}" /> | ||
<meta property="og:description" content="{{ .Frontmatter.Description }}" /> | ||
<meta property="og:image" content="{{ .Frontmatter.PreviewImage }}" /> | ||
|
||
<meta name="description" content="{{ .Frontmatter.Description }}"> | ||
</head> | ||
{{end}} | ||
|
||
</html> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,3 @@ | |
<h1>Index Page</h1> | ||
</body> | ||
</html> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> | ||
<url> | ||
<loc>example.org/index.html</loc> | ||
<loc>example.org/about.html</loc> | ||
<lastmod>2024-02-23</lastmod> | ||
</url> | ||
<url> | ||
<loc>example.org/research.html</loc> | ||
<loc>example.org/index.html</loc> | ||
<lastmod>2024-02-23</lastmod> | ||
</url> | ||
<url> | ||
<loc>example.org/about.html</loc> | ||
<loc>example.org/research.html</loc> | ||
<lastmod>2024-02-23</lastmod> | ||
</url> | ||
</urlset> |