Browse Source

Change site title and domain name

Track3 2 years ago
parent
commit
9ba083bcfb
6 changed files with 13 additions and 15 deletions
  1. 1 1
      assets/js/main.js
  2. 0 1
      assets/scss/partials/_home.scss
  3. 6 7
      config.toml
  4. 2 2
      layouts/_default/baseof.html
  5. 1 1
      static/robots.txt
  6. 3 3
      static/site.webmanifest

+ 1 - 1
assets/js/main.js

@@ -89,7 +89,7 @@ const loadComments = () => {
   script.setAttribute("src", "/js/embed.min.js");
 
   // add relevant data-isso attributes here
-  script.setAttribute("data-isso", "https://comment.ojbk.im");
+  script.setAttribute("data-isso", "https://comment.zak.ee");
   script.setAttribute("data-isso-vote", "false");
   // script.setAttribute("data-isso-max-comments-top", "10");
   // script.setAttribute("data-isso-reveal-on-click", "10");

+ 0 - 1
assets/scss/partials/_home.scss

@@ -12,7 +12,6 @@
 #home-title {
   line-height: normal;
   margin-bottom: .3em;
-  margin-left: -2px;
 }
 #home-social > a {
   padding-right: .5em;

+ 6 - 7
config.toml

@@ -1,6 +1,6 @@
-baseURL = "https://ojbk.im"
+baseURL = "https://zak.ee"
 languageCode = "zh-hans"
-title = "Track3's Blog"
+title = "Zakee's Planet"
 staticDir = ["static", "content-static"]
 
 hasCJKLanguage = true
@@ -8,7 +8,7 @@ rssLimit = 10
 copyright = "This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License."
 
 [author]
-  name = "Track3"
+  name = "Zakee"
 
 [markup]
   defaultMarkdownHandler = "goldmark"
@@ -30,13 +30,12 @@ copyright = "This work is licensed under a Creative Commons Attribution-NonComme
   dateformNum     = "2006-01-02"
   dateformNumTime = "2006-01-02 15:04"
 
-  description = "Track3的个人博客"
-  keywords = "Track3,blog,博客,个人网站,中文独立博客"
+  description = "Zakee的个人博客"
+  keywords = "Zakee,Track3,blog,博客,个人网站,中文独立博客"
   accentColor = "#54BAB9"
   images = ["apple-touch-icon.png"]
   # bgImg = "/img/bg.jpg"
-
-  gitUrl = "https://github.com/Track3/blog/commit/"
+  # gitUrl = "https://github.com/Track3/blog/commit/"
 
   [[params.social]]
     name = "twitter"

+ 2 - 2
layouts/_default/baseof.html

@@ -23,7 +23,7 @@
 	<link rel="shortcut icon" href="/favicon.ico">
 	<title>{{.Title}}</title>
 	<link rel="dns-prefetch" href="//cdn.jsdelivr.net">
-	<link rel="dns-prefetch" href="//comment.ojbk.im">
+	<link rel="dns-prefetch" href="//comment.zak.ee">
 	<link rel="dns-prefetch" href="//gravatar.loli.net">
 	{{ range .AlternativeOutputFormats -}}
 	{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
@@ -32,7 +32,7 @@
 	<link rel="stylesheet" href="{{ $style.Permalink }}" {{ printf "integrity=%q" $style.Data.Integrity | safeHTMLAttr }}>
 	{{- .Scratch.Set "pageClass" ""}}
 	{{ block "head" . -}}{{- end }}
-	<script async defer data-website-id="7330213f-48d1-46e2-b669-758ccca4ba47" src="https://analytics.ojbk.im/umami.js" data-domains="ojbk.im"></script>
+	<script async defer data-website-id="7330213f-48d1-46e2-b669-758ccca4ba47" src="https://analytics.zak.ee/umami.js" data-domains="zak.ee"></script>
 </head>
 
 <body>

+ 1 - 1
static/robots.txt

@@ -1,3 +1,3 @@
 User-agent: *
 Disallow: /control
-Sitemap: https://ojbk.im/sitemap.xml
+Sitemap: https://zak.ee/sitemap.xml

+ 3 - 3
static/site.webmanifest

@@ -1,6 +1,6 @@
 {
-    "name": "Track3's Blog",
-    "short_name": "Track3's Blog",
+    "name": "Zakee's Planet",
+    "short_name": "Zakee's Planet",
     "icons": [
         {
             "src": "/android-chrome-192x192.png",
@@ -15,6 +15,6 @@
     ],
     "theme_color": "#54bab9",
     "background_color": "#54bab9",
-    "start_url": "https://ojbk.im",
+    "start_url": "https://zak.ee",
     "display": "standalone"
 }