Skip to content

Commit

Permalink
Site updated: 2024-09-18 15:25:01
Browse files Browse the repository at this point in the history
  • Loading branch information
Braqr committed Sep 18, 2024
1 parent a4f2753 commit d13a0c5
Show file tree
Hide file tree
Showing 74 changed files with 4,496 additions and 13,308 deletions.
444 changes: 14 additions & 430 deletions 2024/02/02/hello-world/index.html

Large diffs are not rendered by default.

498 changes: 16 additions & 482 deletions 2024/02/08/我的第一篇/index.html

Large diffs are not rendered by default.

493 changes: 14 additions & 479 deletions 2024/02/08/日记/index.html

Large diffs are not rendered by default.

505 changes: 15 additions & 490 deletions 2024/02/24/记一次引流手术/index.html

Large diffs are not rendered by default.

494 changes: 14 additions & 480 deletions 2024/07/10/高考/index.html

Large diffs are not rendered by default.

497 changes: 14 additions & 483 deletions 2024/08/26/英语语法入门/index.html

Large diffs are not rendered by default.

492 changes: 16 additions & 476 deletions 2024/09/09/初见大学/index.html

Large diffs are not rendered by default.

372 changes: 12 additions & 360 deletions about/index.html
Original file line number Diff line number Diff line change
@@ -1,122 +1,5 @@
<!DOCTYPE html>
<html lang="zh-CN">

<head>
<!-- 其他头部内容 -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<meta charset="utf-8">
<meta name="author" content="zchengsite, [email protected]" />
<meta name="viewport" content="width=device-width, initial-scale=1" />


<title>关于页 | HAVE A NICE DAY!</title>


<link rel="apple-touch-icon" href="https://pic.imgdb.cn/item/669cf486d9c307b7e9ba2659.jpg">
<link rel="icon" href="https://pic.imgdb.cn/item/669cf486d9c307b7e9ba2659.jpg">


<!-- Raleway-Font -->
<link href="https://fonts.googleapis.com/css?family=Raleway&display=swap" rel="stylesheet">

<!-- hexo site css -->

<link rel="stylesheet" href="/css/base.css">
<link rel="stylesheet" href="/iconfont/iconfont.css">
<link rel="stylesheet" href="/css/github-markdown.css">
<link rel="stylesheet" href="/css/highlight.css">


<!-- jquery3.3.1 -->
<script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>

<!-- fancybox -->
<link href="https://cdn.bootcss.com/fancybox/3.5.2/jquery.fancybox.min.css" rel="stylesheet">
<script async src="https://cdn.bootcss.com/fancybox/3.5.2/jquery.fancybox.min.js"></script>

<script src="/js/fancybox.js"></script>



<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-H6LPER6VZX"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-H6LPER6VZX');
</script>


<meta name="generator" content="Hexo 7.1.1"><link rel="alternate" href="/atom.xml" title="HAVE A NICE DAY!" type="application/atom+xml">
</head>


<body>
<div id="app">
<div class="header">
<div class="avatar">
<a href="/">
<!-- 头像取消懒加载,添加no-lazy -->

<img src="https://pic.imgdb.cn/item/669cf486d9c307b7e9ba2659.jpg" alt="">

</a>
<div class="nickname"><a href="/">YU的部落格</a></div>
</div>
<div class="navbar">
<ul>

<li class="nav-item" data-path="/">
<a href="/">文章</a>
</li>

<li class="nav-item" data-path="/archives/">
<a href="/archives/">归档</a>
</li>

<li class="nav-item" data-path="/categories/">
<a href="/categories/">分类</a>
</li>

<li class="nav-item" data-path="/tags/">
<a href="/tags/">标签</a>
</li>

<li class="nav-item" data-path="/about/">
<a href="/about/">关于我</a>
</li>

</ul>
</div>
</div>


<script src="/js/activeNav.js"></script>



<div class="flex-container">
<!-- 文章详情页,展示文章具体内容,url形式:https://yoursite/文章标题/ -->
<!-- 同时为「标签tag」,「朋友friend」,「分类categories」,「关于about」页面的承载页面,具体展示取决于page.type -->








<!-- 关于页 url形式:https://yoursite/about/ -->
<div class="container about-index">
<div class="markdown-body">
<div class="greeting">
Hi,there!
</div>



<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="description" content="这里是Yu的个人博客站点"><meta name="keyword"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta http-equiv="X-UA-Compatible" content="IE=edge"><title>关于页</title><link rel="shortcut icon" href="https://pic.imgdb.cn/item/669cf486d9c307b7e9ba2659.jpg" type="image/x-icon"><link href="/styles/site.css" rel="stylesheet"><meta name="generator" content="Hexo 7.1.1"><link rel="alternate" href="/atom.xml" title="HAVE A NICE DAY!" type="application/atom+xml">
</head><body><header class="container" id="header"><div class="header"><div class="header-left"><div class="avatar"><img src="https://pic.imgdb.cn/item/669cf486d9c307b7e9ba2659.jpg"></div><div class="author"><div class="author-name"><a href="/">Yu的部落格</a></div><div class="about-me">Stay Hungry, Stay Foolish</div></div></div><div class="header-right"><ul class="navigation"><li><a href="/archives">归档</a></li><li><a href="/about">关于</a></li></ul></div><div class="about-me-mask"><div class="about-me-wrap"><div class="about-me__header"><div class="avatar"><img src="https://pic.imgdb.cn/item/669cf486d9c307b7e9ba2659.jpg"></div></div><ul class="socials"><li class="social-item"><span class="label"><img src="/images/socials/github.svg" alt="https://github.com/yuxiangyun"></span><a href="https://github.com/yuxiangyun" target="_blank" title="https://github.com/yuxiangyun">https://github.com/yuxiangyun</a></li><li class="social-item"><span class="label"><img src="/images/socials/email.svg" alt="[email protected]"></span><span>[email protected]</span></li></ul></div></div></div></header><div class="container post"><section class="article"><div class="title">关于页</div><div class="date">写于2024年02月03日</div><div class="content"><p><strong>Hi,There****👋</strong></p>
<p>我叫喻祥云,2006年出生在<strong>湖南浏阳</strong>,居住长沙。好学习新的东西,运动,阅读。现在于湖南 <strong>常德</strong>上学。</p>
<p>博客创建目的是在于<strong>记录自己所想象</strong><strong>所经历的事情</strong><strong>传达想法</strong><strong>记录生活</strong></p>
<h2 id="本站"><a href="#本站" class="headerlink" title="本站"></a>本站</h2><p>本站采用 <strong>Hexo</strong> 作为渲染工具,部署于 <strong>GitHub Pages</strong></p>
Expand All @@ -133,247 +16,16 @@ <h2 id="喜欢的作品"><a href="#喜欢的作品" class="headerlink" title="
<li><strong>三体</strong> :一本充满想象的小说</li>
<li><strong>FREE SOLO</strong> : 一个徒手攀岩的纪录片</li>
</ul>
</div></section></div><div class="container"><ul class="nav"></ul></div><div id="backToTop"><div class="back-arrow back-arrow-left"></div><div class="back-arrow back-arrow-right"></div></div><footer class="container"></footer>
<script src="/script/jquery.min.js"></script>

</div>
</div>




<div class="footer">
<div class="social">
<ul>

<li>
<a title="X" target="_blank" rel="noopener" href="https://x.com/yuuxiangyun?t=wSNlBAlv9IT0_eH2O1FAUg&s=09">
<i class="iconfont icon-twitter"></i>
</a>
</li>

<li>
<a title="rss" href="/atom.xml">
<i class="iconfont icon-rss"></i>
</a>
</li>

</ul>
</div>

</div>

</div>

<div class="back-to-top hidden">
<a href="javascript: void(0)">
<i class="iconfont icon-chevronup"></i>
</a>
</div>


<script src="/js/backtotop.js"></script>




<div class="search-icon" id="search-icon">
<a href="javascript: void(0)">
<i class="iconfont icon-search"></i>
</a>
</div>

<div class="search-overlay hidden">
<div class="search-content" tabindex="0">
<div class="search-title">
<span class="search-icon-input">
<a href="javascript: void(0)">
<i class="iconfont icon-search"></i>
</a>
</span>

<input type="text" class="search-input" id="search-input" placeholder="搜索...">

<span class="search-close-icon" id="search-close-icon">
<a href="javascript: void(0)">
<i class="iconfont icon-close"></i>
</a>
</span>
</div>
<div class="search-result" id="search-result"></div>
</div>
</div>

<script type="text/javascript">
var inputArea = document.querySelector("#search-input")
var searchOverlayArea = document.querySelector(".search-overlay")

inputArea.onclick = function() {
getSearchFile()
this.onclick = null
}

inputArea.onkeydown = function() {
if(event.keyCode == 13)
return false
}

function openOrHideSearchContent() {
let isHidden = searchOverlayArea.classList.contains('hidden')
if (isHidden) {
searchOverlayArea.classList.remove('hidden')
document.body.classList.add('hidden')
// inputArea.focus()
} else {
searchOverlayArea.classList.add('hidden')
document.body.classList.remove('hidden')
}
}

function blurSearchContent(e) {
if (e.target === searchOverlayArea) {
openOrHideSearchContent()
}
}

document.querySelector("#search-icon").addEventListener("click", openOrHideSearchContent, false)
document.querySelector("#search-close-icon").addEventListener("click", openOrHideSearchContent, false)
searchOverlayArea.addEventListener("click", blurSearchContent, false)

var searchFunc = function (path, search_id, content_id) {
'use strict';
var $input = document.getElementById(search_id);
var $resultContent = document.getElementById(content_id);
$resultContent.innerHTML = "<ul><span class='local-search-empty'>首次搜索,正在载入索引文件,请稍后……<span></ul>";
$.ajax({
// 0x01. load xml file
url: path,
dataType: "xml",
success: function (xmlResponse) {
// 0x02. parse xml file
var datas = $("entry", xmlResponse).map(function () {
return {
title: $("title", this).text(),
content: $("content", this).text(),
url: $("url", this).text()
};
}).get();
$resultContent.innerHTML = "";

$input.addEventListener('input', function () {
// 0x03. parse query to keywords list
var str = '<ul class=\"search-result-list\">';
var keywords = this.value.trim().toLowerCase().split(/[\s\-]+/);
$resultContent.innerHTML = "";
if (this.value.trim().length <= 0) {
return;
}
// 0x04. perform local searching
datas.forEach(function (data) {
var isMatch = true;
var content_index = [];
if (!data.title || data.title.trim() === '') {
data.title = "Untitled";
}
var orig_data_title = data.title.trim();
var data_title = orig_data_title.toLowerCase();
var orig_data_content = data.content.trim().replace(/<[^>]+>/g, "");
var data_content = orig_data_content.toLowerCase();
var data_url = data.url;
var index_title = -1;
var index_content = -1;
var first_occur = -1;
// only match artiles with not empty contents
if (data_content !== '') {
keywords.forEach(function (keyword, i) {
index_title = data_title.indexOf(keyword);
index_content = data_content.indexOf(keyword);

if (index_title < 0 && index_content < 0) {
isMatch = false;
} else {
if (index_content < 0) {
index_content = 0;
}
if (i == 0) {
first_occur = index_content;
}
// content_index.push({index_content:index_content, keyword_len:keyword_len});
}
});
} else {
isMatch = false;
}
// 0x05. show search results
if (isMatch) {
str += "<li><a href='" + data_url + "' class='search-result-title'>" + orig_data_title + "</a>";
var content = orig_data_content;
if (first_occur >= 0) {
// cut out 100 characters
var start = first_occur - 20;
var end = first_occur + 80;

if (start < 0) {
start = 0;
}

if (start == 0) {
end = 100;
}

if (end > content.length) {
end = content.length;
}

var match_content = content.substr(start, end);

// highlight all keywords
keywords.forEach(function (keyword) {
var regS = new RegExp(keyword, "gi");
match_content = match_content.replace(regS, "<span class=\"search-keyword\">" + keyword + "</span>");
});

str += "<p class=\"search-result-abstract\">" + match_content + "...</p>"
}
str += "</li>";
}
});
str += "</ul>";
if (str.indexOf('<li>') === -1) {
return $resultContent.innerHTML = "<ul><span class='local-search-empty'>没有找到内容,请尝试更换检索词。<span></ul>";
}
$resultContent.innerHTML = str;
});
}
});
$(document).on('click', '#search-close-icon', function() {
$('#search-input').val('');
$('#search-result').html('');
});
}

var getSearchFile = function() {
var path = "/search.xml";
searchFunc(path, 'search-input', 'search-result');
}
</script>


<link rel="stylesheet" href="/fancybox/jquery.fancybox.css">

<script src="/fancybox/jquery.fancybox.pack.js"></script>

</div>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
tex2jax: {
inlineMath: [ ["$","$"], ["\\(","\\)"] ],
skipTags: ['script', 'noscript', 'style', 'textarea', 'pre', 'code'],
processEscapes: true
}
});
MathJax.Hub.Queue(function() {
var all = MathJax.Hub.getAllJax();
for (var i = 0; i < all.length; ++i)
all[i].SourceElement().parentNode.className += ' has-jax';
});
</script>
<script src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
</body>
</html>
<script src="/script/index.js"></script>
<script>(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'G-H6LPER6VZX', 'auto');
ga('send', 'pageview');</script>
<script src="/script/post.js"></script>
</body></html>
Loading

0 comments on commit d13a0c5

Please sign in to comment.