Skip to content

Commit

Permalink
update old website
Browse files Browse the repository at this point in the history
  • Loading branch information
sunwu51 committed Jul 13, 2024
1 parent 2406ee7 commit 5518e90
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
branches: [ master ]
pull_request:
branches: [ master ]
env:
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ trans(){
else
echo "will trans ${j%.*}.md"
ghmd ${j%.*}.md
echo '<style>body{ padding: 100px 50px }</style>' >> ${j%.*}.html
echo '<style>body{ padding: 100px 50px }</style><script>window.location.href = "https://xiaogenban1993.com" + window.location.pathname.replace(".html", '');</script>' >> ${j%.*}.html
fi
done
cd ..
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
<div class="jumbotron">
<div class="container">
<h1>个人笔记</h1>
<h4>注:后期使用imgur来存放图片,若被墙请到<a href="https://github.com/sunwu51/notebook">github仓库</a>查看</h4>
<h4>注:站点已经迁移到新的<a href="https://www.xiaogenban1993.com">xiaogenban1993.com</a></h4>
</div>
</div>
<div id="content" class="container"></div>
Expand Down

0 comments on commit 5518e90

Please sign in to comment.