Skip to content

Commit

Permalink
fixed teaser
Browse files Browse the repository at this point in the history
  • Loading branch information
Promesis committed Feb 18, 2024
1 parent 287831c commit d787109
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 1 addition & 3 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ description : "Promesis 的博客."
url : "https://promesis.github.io" # the base hostname & protocol for your site e.g. "https://mmistakes.github.io"
baseurl : # the subpath of your site, e.g. "/blog"
repository : "Promesis/Promesis.github.io" # GitHub username/repo-name e.g. "mmistakes/minimal-mistakes"
teaser : # path of fallback teaser image, e.g. "/assets/images/500x300.png"
teaser : https://s1.imagehub.cc/images/2024/02/18/4ecafa813e08300f81a40e6ec49926df.md.jpeg # path of fallback teaser image, e.g. "/assets/images/500x300.png"
logo : "https://i.postimg.cc/fyMrPBNW/black-forest-256x256.png" # path of logo image to display in the masthead, e.g. "/assets/images/88x88.png"
masthead_title : # overrides the website title displayed in the masthead, use " " for no title
breadcrumbs : true # true, false (default)
Expand Down Expand Up @@ -293,5 +293,3 @@ defaults:
share: true
related: true
show_date: true
header:
teaser: https://s1.imagehub.cc/images/2024/02/18/4ecafa813e08300f81a40e6ec49926df.md.jpeg
6 changes: 5 additions & 1 deletion _posts/random-walk/2024-2-18-i-placed-a-header-image.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,8 @@ header:

看一眼,效果如何~

这张图片将会被应用在主页中。
这张图片将会被应用在主页中。

我是看到这个视频,才想到加入主页大图的。

{% include video id="BV1qM4y1w716" provider="bilibili" %}
3 changes: 1 addition & 2 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
---
layout: home
author_profile: true
classes: grid
classes: wide

header:
overlay_image: "https://s1.imagehub.cc/images/2024/02/18/1a40b27dc9375b547b81b19fe24d4944.jpeg"
caption: "图片来自于: [**影视飓风**](https://www.ysjf.com)"
---

欢迎来到Promesis的博客。来这里<span style="font-style: oblique;">造就务实</span>

0 comments on commit d787109

Please sign in to comment.