summaryrefslogtreecommitdiff
path: root/_posts
diff options
context:
space:
mode:
authorjeffreytse <jeffreytse.mail@gmail.com>2021-06-17 21:52:26 +0800
committerjeffreytse <jeffreytse.mail@gmail.com>2021-06-17 22:04:46 +0800
commite2f33c6298487581fef4b4c99a96088f9a4793b8 (patch)
treeba3997416c2fd28a355ae279d7f05d894dd6f838 /_posts
parentf39f3884cc9670efb31bec2a73ea4a0be9b46140 (diff)
feat: add custom banner settings to welcome-to-jekyll.md
Diffstat (limited to '_posts')
-rw-r--r--_posts/2018-12-07-welcome-to-jekyll.md12
1 files changed, 9 insertions, 3 deletions
diff --git a/_posts/2018-12-07-welcome-to-jekyll.md b/_posts/2018-12-07-welcome-to-jekyll.md
index 905cf2e..eeead8f 100644
--- a/_posts/2018-12-07-welcome-to-jekyll.md
+++ b/_posts/2018-12-07-welcome-to-jekyll.md
@@ -4,7 +4,12 @@ title: Welcome to Jekyll!
subheading: hello world!
author: Jeffrey
categories: jekyll
-banner: https://bit.ly/3fTktDu
+banner:
+ image: https://bit.ly/3fTktDu
+ opacity: 0.618
+ background: "#000"
+ height: "100vh"
+ min_height: "38vh"
tags: jekyll theme yat
sidebar: []
---
@@ -14,6 +19,7 @@ You’ll find this post in your `_posts` directory. Go ahead and edit it and re-
To add new posts, simply add a file in the `_posts` directory that follows the convention `YYYY-MM-DD-name-of-post.ext` and includes the necessary front matter. Take a look at the source for this post to get an idea about how it works.
## section 1
+
Jekyll also offers powerful support for code snippets:
{% highlight ruby %}
@@ -32,11 +38,11 @@ Check out the [Jekyll docs][jekyll-docs] for more info on how to get the most ou
[jekyll-gh]: https://github.com/jekyll/jekyll
[jekyll-talk]: https://talk.jekyllrb.com/
-$ a * b = c ^ b $
+$ a \* b = c ^ b $
$ 2^{\frac{n-1}{3}} $
-$ \int\_a^b f(x)\,dx. $
+$ \int_a^b f(x)\,dx. $
```cpp
#include <iostream>