Skip to content

Commit

Permalink
Site updated: 2024-09-18 18:28:10
Browse files Browse the repository at this point in the history
  • Loading branch information
Braqr committed Sep 18, 2024
1 parent fec0459 commit 8ffcc83
Show file tree
Hide file tree
Showing 55 changed files with 4,942 additions and 0 deletions.
41 changes: 41 additions & 0 deletions 2024/02/02/hello-world/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
extends ../_partial/layout

block content
.container.post
section.article
.title= page.title
.date 写于#{moment(page.date).format(theme.date_format)}
.content!= page.content
if page.tags
.tags!= list_tags(page.tags, { show_count: false, class: 'tag', style: false, separator: '' })

.container
ul.nav
if page.prev
li 上一篇:
a(href=url_for(page.prev.path))= page.prev.title || '未命名'
if page.next
li 下一篇:
a(href=url_for(page.next.path))= page.next.title || '未命名'

if !index && config.disqus_shortname
.comments
#disqus_thread
noscript Please enable JavaScript to view the
a(href="http://disqus.com/?ref_noscript") comments powered by Disqus

block js
!= js('script/post')
if config.disqus_shortname
script
| var disqus_shortname = '!{config.disqus_shortname}';
if page.permalink
| var disqus_url = '!{page.permalink}';
| (function(){
| var dsq = document.createElement('script');
| dsq.type = 'text/javascript';
| dsq.async = true;
| dsq.src = '//' + disqus_shortname + '.disqus.com/!{page.comments ? 'embed.js' : 'count.hs'}';
| (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
| })();

41 changes: 41 additions & 0 deletions 2024/02/08/我的第一篇/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
extends ../_partial/layout

block content
.container.post
section.article
.title= page.title
.date 写于#{moment(page.date).format(theme.date_format)}
.content!= page.content
if page.tags
.tags!= list_tags(page.tags, { show_count: false, class: 'tag', style: false, separator: '' })

.container
ul.nav
if page.prev
li 上一篇:
a(href=url_for(page.prev.path))= page.prev.title || '未命名'
if page.next
li 下一篇:
a(href=url_for(page.next.path))= page.next.title || '未命名'

if !index && config.disqus_shortname
.comments
#disqus_thread
noscript Please enable JavaScript to view the
a(href="http://disqus.com/?ref_noscript") comments powered by Disqus

block js
!= js('script/post')
if config.disqus_shortname
script
| var disqus_shortname = '!{config.disqus_shortname}';
if page.permalink
| var disqus_url = '!{page.permalink}';
| (function(){
| var dsq = document.createElement('script');
| dsq.type = 'text/javascript';
| dsq.async = true;
| dsq.src = '//' + disqus_shortname + '.disqus.com/!{page.comments ? 'embed.js' : 'count.hs'}';
| (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
| })();

41 changes: 41 additions & 0 deletions 2024/02/08/日记/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
extends ../_partial/layout

block content
.container.post
section.article
.title= page.title
.date 写于#{moment(page.date).format(theme.date_format)}
.content!= page.content
if page.tags
.tags!= list_tags(page.tags, { show_count: false, class: 'tag', style: false, separator: '' })

.container
ul.nav
if page.prev
li 上一篇:
a(href=url_for(page.prev.path))= page.prev.title || '未命名'
if page.next
li 下一篇:
a(href=url_for(page.next.path))= page.next.title || '未命名'

if !index && config.disqus_shortname
.comments
#disqus_thread
noscript Please enable JavaScript to view the
a(href="http://disqus.com/?ref_noscript") comments powered by Disqus

block js
!= js('script/post')
if config.disqus_shortname
script
| var disqus_shortname = '!{config.disqus_shortname}';
if page.permalink
| var disqus_url = '!{page.permalink}';
| (function(){
| var dsq = document.createElement('script');
| dsq.type = 'text/javascript';
| dsq.async = true;
| dsq.src = '//' + disqus_shortname + '.disqus.com/!{page.comments ? 'embed.js' : 'count.hs'}';
| (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
| })();

41 changes: 41 additions & 0 deletions 2024/02/24/记一次引流手术/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
extends ../_partial/layout

block content
.container.post
section.article
.title= page.title
.date 写于#{moment(page.date).format(theme.date_format)}
.content!= page.content
if page.tags
.tags!= list_tags(page.tags, { show_count: false, class: 'tag', style: false, separator: '' })

.container
ul.nav
if page.prev
li 上一篇:
a(href=url_for(page.prev.path))= page.prev.title || '未命名'
if page.next
li 下一篇:
a(href=url_for(page.next.path))= page.next.title || '未命名'

if !index && config.disqus_shortname
.comments
#disqus_thread
noscript Please enable JavaScript to view the
a(href="http://disqus.com/?ref_noscript") comments powered by Disqus

block js
!= js('script/post')
if config.disqus_shortname
script
| var disqus_shortname = '!{config.disqus_shortname}';
if page.permalink
| var disqus_url = '!{page.permalink}';
| (function(){
| var dsq = document.createElement('script');
| dsq.type = 'text/javascript';
| dsq.async = true;
| dsq.src = '//' + disqus_shortname + '.disqus.com/!{page.comments ? 'embed.js' : 'count.hs'}';
| (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
| })();

41 changes: 41 additions & 0 deletions 2024/07/10/高考/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
extends ../_partial/layout

block content
.container.post
section.article
.title= page.title
.date 写于#{moment(page.date).format(theme.date_format)}
.content!= page.content
if page.tags
.tags!= list_tags(page.tags, { show_count: false, class: 'tag', style: false, separator: '' })

.container
ul.nav
if page.prev
li 上一篇:
a(href=url_for(page.prev.path))= page.prev.title || '未命名'
if page.next
li 下一篇:
a(href=url_for(page.next.path))= page.next.title || '未命名'

if !index && config.disqus_shortname
.comments
#disqus_thread
noscript Please enable JavaScript to view the
a(href="http://disqus.com/?ref_noscript") comments powered by Disqus

block js
!= js('script/post')
if config.disqus_shortname
script
| var disqus_shortname = '!{config.disqus_shortname}';
if page.permalink
| var disqus_url = '!{page.permalink}';
| (function(){
| var dsq = document.createElement('script');
| dsq.type = 'text/javascript';
| dsq.async = true;
| dsq.src = '//' + disqus_shortname + '.disqus.com/!{page.comments ? 'embed.js' : 'count.hs'}';
| (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
| })();

41 changes: 41 additions & 0 deletions 2024/08/26/英语语法入门/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
extends ../_partial/layout

block content
.container.post
section.article
.title= page.title
.date 写于#{moment(page.date).format(theme.date_format)}
.content!= page.content
if page.tags
.tags!= list_tags(page.tags, { show_count: false, class: 'tag', style: false, separator: '' })

.container
ul.nav
if page.prev
li 上一篇:
a(href=url_for(page.prev.path))= page.prev.title || '未命名'
if page.next
li 下一篇:
a(href=url_for(page.next.path))= page.next.title || '未命名'

if !index && config.disqus_shortname
.comments
#disqus_thread
noscript Please enable JavaScript to view the
a(href="http://disqus.com/?ref_noscript") comments powered by Disqus

block js
!= js('script/post')
if config.disqus_shortname
script
| var disqus_shortname = '!{config.disqus_shortname}';
if page.permalink
| var disqus_url = '!{page.permalink}';
| (function(){
| var dsq = document.createElement('script');
| dsq.type = 'text/javascript';
| dsq.async = true;
| dsq.src = '//' + disqus_shortname + '.disqus.com/!{page.comments ? 'embed.js' : 'count.hs'}';
| (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
| })();

41 changes: 41 additions & 0 deletions 2024/09/09/初见大学/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
extends ../_partial/layout

block content
.container.post
section.article
.title= page.title
.date 写于#{moment(page.date).format(theme.date_format)}
.content!= page.content
if page.tags
.tags!= list_tags(page.tags, { show_count: false, class: 'tag', style: false, separator: '' })

.container
ul.nav
if page.prev
li 上一篇:
a(href=url_for(page.prev.path))= page.prev.title || '未命名'
if page.next
li 下一篇:
a(href=url_for(page.next.path))= page.next.title || '未命名'

if !index && config.disqus_shortname
.comments
#disqus_thread
noscript Please enable JavaScript to view the
a(href="http://disqus.com/?ref_noscript") comments powered by Disqus

block js
!= js('script/post')
if config.disqus_shortname
script
| var disqus_shortname = '!{config.disqus_shortname}';
if page.permalink
| var disqus_url = '!{page.permalink}';
| (function(){
| var dsq = document.createElement('script');
| dsq.type = 'text/javascript';
| dsq.async = true;
| dsq.src = '//' + disqus_shortname + '.disqus.com/!{page.comments ? 'embed.js' : 'count.hs'}';
| (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
| })();

1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
yuxiangyun.top
41 changes: 41 additions & 0 deletions about/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
extends ../_partial/layout

block content
.container.post
section.article
.title= page.title
.date 写于#{moment(page.date).format(theme.date_format)}
.content!= page.content
if page.tags
.tags!= list_tags(page.tags, { show_count: false, class: 'tag', style: false, separator: '' })

.container
ul.nav
if page.prev
li 上一篇:
a(href=url_for(page.prev.path))= page.prev.title || '未命名'
if page.next
li 下一篇:
a(href=url_for(page.next.path))= page.next.title || '未命名'

if !index && config.disqus_shortname
.comments
#disqus_thread
noscript Please enable JavaScript to view the
a(href="http://disqus.com/?ref_noscript") comments powered by Disqus

block js
!= js('script/post')
if config.disqus_shortname
script
| var disqus_shortname = '!{config.disqus_shortname}';
if page.permalink
| var disqus_url = '!{page.permalink}';
| (function(){
| var dsq = document.createElement('script');
| dsq.type = 'text/javascript';
| dsq.async = true;
| dsq.src = '//' + disqus_shortname + '.disqus.com/!{page.comments ? 'embed.js' : 'count.hs'}';
| (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
| })();

32 changes: 32 additions & 0 deletions archives/2024/02/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
extends ../_partial/layout

block content
.container
- const postsByYear = {};
- // 按年份将文章分组
- for (let i = 0; i < site.posts.data.length; i++) {
- const post = site.posts.data[i];
- if (!page.year || post.date.year() === page.year) {
- const year = post.date.year();
- if (!postsByYear[year]) {
- postsByYear[year] = [];
- }
- postsByYear[year].push(post);
- }
- }
- // 按年份倒序排序并返回结果
- const sortedYears = Object.keys(postsByYear).sort((a, b) => b - a);
- const sortedPosts = sortedYears.map(year => [year, postsByYear[year]]);
each group in sortedPosts
.year-wrap
.year
a.title(href=url_for(config.archive_dir + '/' + group[0]))= group[0]
.archives
each post in group[1]
.post-archive
.post-archive__content
.post-archive__month= time(post.date, 'MM月')
.post-archive__body
a.post-archive__title(href=url_for(post.path))= post.title || '未命名'
.post-archive__excerpt
.post-archive__excerpt-content!= post.excerpt
Loading

0 comments on commit 8ffcc83

Please sign in to comment.