Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
Wreck-X authored Sep 1, 2024
2 parents 1dfcc9a + c5e3d8c commit 5decb21
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Source: https://github.com/hexojs/hexo/

# Site

title: 'amFOSS'
subtitle: ''
description: ''
Expand All @@ -12,7 +13,7 @@ language: en
timezone: ''

# URL
## Set your site url here. For example, if you use GitHub Page, set url as 'https://username.github.io/project'

url: http://amfoss.github.io/
permalink: :year/:month/:day/:title/
permalink_defaults:
Expand Down
2 changes: 1 addition & 1 deletion themes/landscape/layout/_partial/header.ejs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<header id="header">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<div id="banner" class="banner">
<img id="logo-image" alt="amfoss logo" src="/image/logo-light.png">
<img id="logo-image" alt="amfoss logo" src="/amfoss-blog-page/image/logo-light.png">
</div>
<div id="header-outer" class="outer">
<div id="header-title" class="inner">
Expand Down
2 changes: 1 addition & 1 deletion themes/landscape/source/js/theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ function toggleTheme() {
const currentIcon = document.getElementById("theme-icon").innerHTML;
const currentLogo = document.getElementById("logo-image").src;
const newIcon = currentIcon === 'sunny' ? 'bedtime' : 'sunny';
const newLogo = currentTheme === 'light' ? '/image/logo-dark.png' : '/image/logo-light.png';
const newLogo = currentTheme === 'light' ? 'image/logo-dark.png' : 'image/logo-light.png';
const newTheme = currentTheme === 'light' ? 'dark' : 'light';

document.body.classList.remove(currentTheme + '-mode');
Expand Down

0 comments on commit 5decb21

Please sign in to comment.