Skip to content

Commit 732aa7e

Browse files
committed
fixes and updating url to work with amfoss org
1 parent 0b1806b commit 732aa7e

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

_config.landscape.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
menu:
2-
Home: /amfoss-blog-page
2+
Home: /
33
Archives: /archives
44
rss: /atom.xml
55
banner:

_config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ timezone: ''
1414

1515
# URL
1616
## Set your site url here. For example, if you use GitHub Page, set url as 'https://username.github.io/project'
17-
url: http://amfoss.in
18-
root: /amfoss-blog-page/
17+
url: https://amfoss.github.io/amfoss-blog-page/
18+
root:
1919
permalink: :year/:month/:day/:title/
2020
permalink_defaults:
2121
pretty_urls:
@@ -107,5 +107,5 @@ theme: landscape
107107
## Docs: https://hexo.io/docs/one-command-deployment
108108
deploy:
109109
type: git
110-
repo: https://github.com/wreck-x/amfoss-blog-page
110+
repo: https://github.com/amfoss/amfoss-blog-page
111111
branch: gh-page

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)