diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index a6683d8c..f2d77bf7 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -31,7 +31,6 @@
"url": "{{ .Site.BaseURL }}"
}
-
{{ range .AlternativeOutputFormats -}}
{{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
diff --git a/layouts/partials/star.html b/layouts/partials/star.html
index 71fbeaad..95c9c6c5 100644
--- a/layouts/partials/star.html
+++ b/layouts/partials/star.html
@@ -1 +1,2 @@
-
+
+
diff --git a/static/js/index.js b/static/js/index.js
index 52bbf6de..1b1a1ab3 100644
--- a/static/js/index.js
+++ b/static/js/index.js
@@ -10,3 +10,29 @@ function blog_list_open() {
}
}
+function replace() {
+ const link = document.getElementById('planet');
+ const date = new Date();
+ const durl = 'https://card.syui.ai/planet';
+ let url;
+ let u = date.getSeconds().toString().substr(-1);
+ console.log(u);
+ switch (u) {
+ case '0':
+ url = durl + "?g=sun";
+ break;
+ case '1':
+ url = durl + "?g=galaxy";
+ break;
+ case '2':
+ url = durl + "?g=neutron";
+ break;
+ case '3':
+ url = durl + "?g=earth";
+ break;
+ default:
+ url = durl + "?g=moon";
+ }
+ link.setAttribute('src', url);
+}
+replace();