-
Notifications
You must be signed in to change notification settings - Fork 248
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
667 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
_site | ||
.DS_Store | ||
.jekyll | ||
.jekyll-metadata | ||
.bundle | ||
.sass-cache | ||
Gemfile | ||
Gemfile.lock | ||
node_modules | ||
package.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>404 - 页面未找到</title> | ||
<style> | ||
body { | ||
font-family: Arial, sans-serif; | ||
background-color: #f9f9f9; | ||
color: #333; | ||
margin: 0; | ||
padding: 0; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
height: 100vh; | ||
text-align: center; | ||
} | ||
.container { | ||
max-width: 600px; | ||
padding: 20px; | ||
background: #ffffff; | ||
border: 1px solid #ddd; | ||
border-radius: 8px; | ||
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); | ||
} | ||
h1 { | ||
font-size: 3em; | ||
color: #ff6b6b; | ||
margin: 0; | ||
} | ||
p { | ||
margin: 15px 0; | ||
font-size: 1.2em; | ||
line-height: 1.6; | ||
} | ||
a { | ||
color: #007bff; | ||
text-decoration: none; | ||
font-weight: bold; | ||
} | ||
a:hover { | ||
color: #0056b3; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div class="container"> | ||
<h1>404</h1> | ||
<p>抱歉,您访问的页面不存在。</p> | ||
<p>请检查 URL 是否正确,或返回 <a href="/">首页</a>。</p> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
markdown: kramdown | ||
highlighter: rouge | ||
theme: null | ||
title: 好软分享 | ||
|
||
|
||
exclude: | ||
# - LICENSE.txt | ||
# - README.md | ||
- CNAME | ||
- Gemfile | ||
- Gemfile.lock |
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<!DOCTYPE html> | ||
<html lang="zh-CN"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<title>好软分享</title> | ||
<meta name="description" content="好软分享 " /> | ||
<meta property="og:url" content="" /> | ||
<meta property="og:type" content="website" /> | ||
<meta property="og:title" content="好软分享" /> | ||
<meta property="og:description" content="好软分享" /> | ||
<meta property="og:image" content="" /> | ||
<meta name="twitter:card" content="summary_large_image" /> | ||
<meta property="twitter:domain" content="" /> | ||
<meta property="twitter:url" content="" /> | ||
<meta name="twitter:title" content="source" /> | ||
<meta name="twitter:description" content="好软分享" /> | ||
<meta name="twitter:image" content="" /> | ||
<link rel="icon" href=""> | ||
|
||
<link rel="stylesheet" href="../assets/css/styles.css"> | ||
|
||
</head> | ||
<body> | ||
<div class="wrapper"> | ||
<header> | ||
<h1>好软分享</h1> | ||
<h2><a href="https://github.com/yoyodadada/haoruanfenxiang">项目地址</a></h2> | ||
|
||
</header> | ||
<section> | ||
|
||
{{ content | link }} | ||
|
||
</section> | ||
<footer> | ||
<a href="https://github.com/yoyodadada/haoruanfenxiang">好软分享</p></a> | ||
|
||
<p>©2024 好软分享.<span>All rights reserved</span>.</p> | ||
</footer> | ||
</div> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
module Jekyll | ||
module AutoLinkFilter | ||
def auto_link(input) | ||
|
||
input.gsub(/(https?:\/\/[\S]+)/, '<a href="\1" target="_blank">\1</a>') | ||
end | ||
end | ||
end | ||
|
||
Liquid::Template.register_filter(Jekyll::AutoLinkFilter) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
/* 全局样式 */ | ||
body { | ||
font-family: Arial, sans-serif; | ||
line-height: 1.6; | ||
margin: 0; | ||
padding: 0; | ||
background-color: #f9f9f9; | ||
color: #333; | ||
} | ||
|
||
/* 容器样式 */ | ||
div { | ||
max-width: 800px; | ||
margin: 20px auto; | ||
padding: 15px; | ||
background: #ffffff; | ||
border: 1px solid #ddd; | ||
border-radius: 8px; | ||
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); | ||
} | ||
|
||
/* 标题样式 */ | ||
h2 { | ||
font-size: 1.8em; | ||
margin-bottom: 10px; | ||
color: #555; | ||
text-align: center; | ||
} | ||
|
||
/* 列表样式 */ | ||
ul { | ||
list-style-type: none; | ||
padding: 0; | ||
margin: 0; | ||
} | ||
|
||
li { | ||
padding: 10px 15px; | ||
border-bottom: 1px solid #eee; | ||
transition: background-color 0.2s ease-in-out; | ||
} | ||
|
||
li:last-child { | ||
border-bottom: none; | ||
} | ||
|
||
/* 鼠标悬停效果 */ | ||
li:hover { | ||
background-color: #f5f5f5; | ||
} | ||
|
||
/* 链接样式 */ | ||
a { | ||
text-decoration: none; | ||
color: #007bff; | ||
font-weight: bold; | ||
transition: color 0.2s ease-in-out; | ||
} | ||
|
||
a:hover { | ||
color: #0056b3; | ||
} | ||
|
||
/* 标签样式 */ | ||
span { | ||
display: inline-block; | ||
margin-left: 10px; | ||
padding: 2px 6px; | ||
font-size: 0.8em; | ||
color: #fff; | ||
background-color: #6c757d; | ||
border-radius: 4px; | ||
vertical-align: middle; | ||
} | ||
|
||
span.popular { | ||
background-color: #28a745; | ||
} | ||
|
||
span.new { | ||
background-color: #dc3545; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
layout: default | ||
--- | ||
|