Update 4 files

- /assets/css/style.scss
- /_layouts/post.html
- /_layouts/default.html
- /_data/ai-cache.json
This commit is contained in:
mayx 2025-04-27 15:54:45 +00:00
parent ebc280932e
commit d0ce029b94
4 changed files with 172 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -29,7 +29,7 @@
</script> </script>
{% endif %} {% endif %}
<script> <script>
var lastUpdated = new Date("{{ site.time | date: "%FT%T%z" }}"); var lastUpdated = new Date("{{ site.time | date_to_xmlschema }}");
var BlogAPI = "https://summary.mayx.eu.org"; var BlogAPI = "https://summary.mayx.eu.org";
function getSearchJSON(callback) { function getSearchJSON(callback) {
var searchData = JSON.parse(localStorage.getItem("blog_" + lastUpdated.valueOf())); var searchData = JSON.parse(localStorage.getItem("blog_" + lastUpdated.valueOf()));

View File

@ -12,7 +12,7 @@ layout: default
<br /><br /> <br /><br />
</div> </div>
<script> <script>
BirthDay = new Date("{{ page.date | date: "%m/%d/%Y" }} 00:00:00"); BirthDay = new Date("{{ page.date | date_to_xmlschema }}");
today = new Date(); today = new Date();
timeold = (today.getTime() - BirthDay.getTime()); timeold = (today.getTime() - BirthDay.getTime());
secondsold = Math.floor(timeold / 1000); secondsold = Math.floor(timeold / 1000);

View File

@ -3,6 +3,11 @@
@import "{{ site.theme }}"; @import "{{ site.theme }}";
a:hover {
font-weight: inherit;
text-decoration: underline;
}
.backToTop { .backToTop {
display: none; display: none;
width: 18px; width: 18px;