Skip to content

Commit 5decb21

Browse files
authored
Merge branch 'master' into master
2 parents 1dfcc9a + c5e3d8c commit 5decb21

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

_config.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## Source: https://github.com/hexojs/hexo/
44

55
# Site
6+
67
title: 'amFOSS'
78
subtitle: ''
89
description: ''
@@ -12,7 +13,7 @@ language: en
1213
timezone: ''
1314

1415
# URL
15-
## Set your site url here. For example, if you use GitHub Page, set url as 'https://username.github.io/project'
16+
1617
url: http://amfoss.github.io/
1718
permalink: :year/:month/:day/:title/
1819
permalink_defaults:

themes/landscape/layout/_partial/header.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<header id="header">
22
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
33
<div id="banner" class="banner">
4-
<img id="logo-image" alt="amfoss logo" src="/image/logo-light.png">
4+
<img id="logo-image" alt="amfoss logo" src="/amfoss-blog-page/image/logo-light.png">
55
</div>
66
<div id="header-outer" class="outer">
77
<div id="header-title" class="inner">

themes/landscape/source/js/theme.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ function toggleTheme() {
33
const currentIcon = document.getElementById("theme-icon").innerHTML;
44
const currentLogo = document.getElementById("logo-image").src;
55
const newIcon = currentIcon === 'sunny' ? 'bedtime' : 'sunny';
6-
const newLogo = currentTheme === 'light' ? '/image/logo-dark.png' : '/image/logo-light.png';
6+
const newLogo = currentTheme === 'light' ? 'image/logo-dark.png' : 'image/logo-light.png';
77
const newTheme = currentTheme === 'light' ? 'dark' : 'light';
88

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

0 commit comments

Comments
 (0)