mirror of
https://github.com/sendevia/website.git
synced 2026-03-05 23:32:45 +08:00
文章适应性修改
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
---
|
||||
title: "AincradMix"
|
||||
description: "一个 osu! 皮肤"
|
||||
author: "sendevia"
|
||||
color: "#0089ff"
|
||||
impression: "/assets/images/22/screenshot01.webp"
|
||||
categories:
|
||||
@@ -9,7 +8,6 @@ categories:
|
||||
tags:
|
||||
- readme
|
||||
- osu!
|
||||
featured: true
|
||||
---
|
||||
|
||||
# 介绍
|
||||
|
||||
@@ -1,36 +1,10 @@
|
||||
---
|
||||
title: "一切开始的地方"
|
||||
description: "文章模板"
|
||||
author: "sendevia"
|
||||
color: "#39c5bb"
|
||||
impression: "/assets/images/96333231_p0.webp"
|
||||
categories:
|
||||
tags:
|
||||
featured: true
|
||||
---
|
||||
|
||||
这只是一篇示例文章。
|
||||
|
||||
You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve`, which launches a web server and auto-regenerates your site when a file is updated.
|
||||
|
||||
Jekyll requires blog post files to be named according to the following format:
|
||||
|
||||
`YEAR-MONTH-DAY-title.MARKUP`
|
||||
|
||||
Where `YEAR` is a four-digit number, `MONTH` and `DAY` are both two-digit numbers, and `MARKUP` is the file extension representing the format used in the file. After that, include the necessary front matter. Take a look at the source for this post to get an idea about how it works.
|
||||
|
||||
Jekyll also offers powerful support for code snippets:
|
||||
|
||||
{% highlight ruby %}
|
||||
def print_hi(name)
|
||||
puts "Hi, #{name}"
|
||||
end
|
||||
print_hi('Tom')
|
||||
# => prints 'Hi, Tom' to STDOUT.
|
||||
{% endhighlight %}
|
||||
|
||||
Check out the [Jekyll docs][jekyll-docs] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekyll’s GitHub repo][jekyll-gh]. If you have questions, you can ask them on [Jekyll Talk][jekyll-talk].
|
||||
|
||||
[jekyll-docs]: https://jekyllrb.com/docs/home
|
||||
[jekyll-gh]: https://github.com/jekyll/jekyll
|
||||
[jekyll-talk]: https://talk.jekyllrb.com/
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
---
|
||||
title: "关于这个主题的一些事"
|
||||
description: "Material 3 在 jekyll 上的轻量化实现"
|
||||
author: "sendevia"
|
||||
color: "#fade82"
|
||||
impression: "/assets/images/23/screen_capture.png"
|
||||
categories:
|
||||
@@ -130,22 +129,3 @@ bundle i
|
||||
```bash
|
||||
npm run dev
|
||||
```
|
||||
|
||||
# 使用的 P 站好图
|
||||
|
||||
根据作品 id 排序
|
||||
|
||||
<div class="p-pixivgallery">
|
||||
{% for item in site.data.pixiv_arts %}
|
||||
<a href="https://pixiv.net/artworks/{{ item.id }}" style="width: 240px" target="_blank">
|
||||
<div class="card" spec="focus">
|
||||
<div class="card-impression">
|
||||
<img src="/assets/images/{{ item.id }}_p0.webp" alt="impression" />
|
||||
</div>
|
||||
<div class="card-supporting">
|
||||
<h3>{{ item.title }}</h3>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
@@ -1,14 +1,12 @@
|
||||
---
|
||||
title: "设置开机自启动的 Jekyll 服务"
|
||||
description: "通过 systemd 实现一个开机自启的 Jekyll 服务,通常来说,这对使用 Jekyll 作为服务后端的网站很有用。"
|
||||
author: "sendevia"
|
||||
color: ""
|
||||
impression: ""
|
||||
categories:
|
||||
- 随笔
|
||||
tags:
|
||||
- jekyll
|
||||
featured: true
|
||||
---
|
||||
|
||||
本文的目标是使用普通用户启动 Jekyll,因此需要添加一行`Environment`来设置下环境变量,并且所有的操作都在这个普通用户的用户目录下进行。
|
||||
|
||||
Reference in New Issue
Block a user