Fix some problems with templates
This commit is contained in:
@ -10,4 +10,4 @@ excerpt: A short summary of your story up to 140 characters long.
|
|||||||
dateModified: 2021-06-13T05:00:00-04:00
|
dateModified: 2021-06-13T05:00:00-04:00
|
||||||
---
|
---
|
||||||
|
|
||||||
Write your blog post here.
|
Write your story here.
|
||||||
|
|||||||
@ -9,26 +9,4 @@ excerpt: A short summary of your story up to 140 characters long.
|
|||||||
dateModified: 2021-06-13T05:00:00-04:00
|
dateModified: 2021-06-13T05:00:00-04:00
|
||||||
---
|
---
|
||||||
|
|
||||||
Explain briefly what the snippet does.
|
Write your story here.
|
||||||
|
|
||||||
- Explain briefly how the snippet works.
|
|
||||||
- Use bullet points for your snippet's explanation.
|
|
||||||
- Try to explain everything briefly but clearly.
|
|
||||||
|
|
||||||
```html
|
|
||||||
<div class="my-snippet"></div>
|
|
||||||
```
|
|
||||||
|
|
||||||
```css
|
|
||||||
.my-snippet {
|
|
||||||
background-color: #fff;
|
|
||||||
border: 1px solid #000;
|
|
||||||
border-radius: 4px;
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
```js
|
|
||||||
console.log(
|
|
||||||
"This is optional, if your snippet doesn't require JavaScript, be sure to delete this block!"
|
|
||||||
)
|
|
||||||
```
|
|
||||||
|
|||||||
@ -9,26 +9,4 @@ excerpt: A short summary of your story up to 140 characters long.
|
|||||||
dateModified: 2021-06-13T05:00:00-04:00
|
dateModified: 2021-06-13T05:00:00-04:00
|
||||||
---
|
---
|
||||||
|
|
||||||
Explain briefly what the snippet does.
|
Write your story here.
|
||||||
|
|
||||||
- Explain briefly how the snippet works.
|
|
||||||
- Use bullet points for your snippet's explanation.
|
|
||||||
- Try to explain everything briefly but clearly.
|
|
||||||
|
|
||||||
```html
|
|
||||||
<div class="my-snippet"></div>
|
|
||||||
```
|
|
||||||
|
|
||||||
```css
|
|
||||||
.my-snippet {
|
|
||||||
background-color: #fff;
|
|
||||||
border: 1px solid #000;
|
|
||||||
border-radius: 4px;
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
```js
|
|
||||||
console.log(
|
|
||||||
"This is optional, if your snippet doesn't require JavaScript, be sure to delete this block!"
|
|
||||||
)
|
|
||||||
```
|
|
||||||
|
|||||||
23
snippets/html/snippet-template.md
Normal file
23
snippets/html/snippet-template.md
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
---
|
||||||
|
title: Snippet name
|
||||||
|
type: snippet
|
||||||
|
language: html
|
||||||
|
tags: [link]
|
||||||
|
cover: image
|
||||||
|
dateModified: 2021-06-13T05:00:00-04:00
|
||||||
|
---
|
||||||
|
|
||||||
|
Explain briefly what the snippet does.
|
||||||
|
|
||||||
|
- Explain briefly how the snippet works.
|
||||||
|
- Use bullet points for your snippet's explanation.
|
||||||
|
- Try to explain everything briefly but clearly.
|
||||||
|
|
||||||
|
```shell
|
||||||
|
git command <variable> [--option]
|
||||||
|
```
|
||||||
|
|
||||||
|
```shell
|
||||||
|
git command some-branch --quiet
|
||||||
|
# Output of running command on `some-branch`
|
||||||
|
```
|
||||||
12
snippets/html/story-template.md
Normal file
12
snippets/html/story-template.md
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
---
|
||||||
|
title: My amazing story
|
||||||
|
shortTitle: Amazing story
|
||||||
|
type: story
|
||||||
|
language: html
|
||||||
|
tags: [link]
|
||||||
|
cover: image
|
||||||
|
excerpt: A short summary of your story up to 140 characters long.
|
||||||
|
dateModified: 2021-06-13T05:00:00-04:00
|
||||||
|
---
|
||||||
|
|
||||||
|
Write your story here.
|
||||||
@ -9,26 +9,4 @@ excerpt: A short summary of your story up to 140 characters long.
|
|||||||
dateModified: 2021-06-13T05:00:00-04:00
|
dateModified: 2021-06-13T05:00:00-04:00
|
||||||
---
|
---
|
||||||
|
|
||||||
Explain briefly what the snippet does.
|
Write your story here.
|
||||||
|
|
||||||
- Explain briefly how the snippet works.
|
|
||||||
- Use bullet points for your snippet's explanation.
|
|
||||||
- Try to explain everything briefly but clearly.
|
|
||||||
|
|
||||||
```html
|
|
||||||
<div class="my-snippet"></div>
|
|
||||||
```
|
|
||||||
|
|
||||||
```css
|
|
||||||
.my-snippet {
|
|
||||||
background-color: #fff;
|
|
||||||
border: 1px solid #000;
|
|
||||||
border-radius: 4px;
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
```js
|
|
||||||
console.log(
|
|
||||||
"This is optional, if your snippet doesn't require JavaScript, be sure to delete this block!"
|
|
||||||
)
|
|
||||||
```
|
|
||||||
|
|||||||
@ -9,26 +9,4 @@ excerpt: A short summary of your story up to 140 characters long.
|
|||||||
dateModified: 2021-06-13T05:00:00-04:00
|
dateModified: 2021-06-13T05:00:00-04:00
|
||||||
---
|
---
|
||||||
|
|
||||||
Explain briefly what the snippet does.
|
Write your story here.
|
||||||
|
|
||||||
- Explain briefly how the snippet works.
|
|
||||||
- Use bullet points for your snippet's explanation.
|
|
||||||
- Try to explain everything briefly but clearly.
|
|
||||||
|
|
||||||
```html
|
|
||||||
<div class="my-snippet"></div>
|
|
||||||
```
|
|
||||||
|
|
||||||
```css
|
|
||||||
.my-snippet {
|
|
||||||
background-color: #fff;
|
|
||||||
border: 1px solid #000;
|
|
||||||
border-radius: 4px;
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
```js
|
|
||||||
console.log(
|
|
||||||
"This is optional, if your snippet doesn't require JavaScript, be sure to delete this block!"
|
|
||||||
)
|
|
||||||
```
|
|
||||||
|
|||||||
@ -9,26 +9,4 @@ excerpt: A short summary of your story up to 140 characters long.
|
|||||||
dateModified: 2021-06-13T05:00:00-04:00
|
dateModified: 2021-06-13T05:00:00-04:00
|
||||||
---
|
---
|
||||||
|
|
||||||
Explain briefly what the snippet does.
|
Write your story here.
|
||||||
|
|
||||||
- Explain briefly how the snippet works.
|
|
||||||
- Use bullet points for your snippet's explanation.
|
|
||||||
- Try to explain everything briefly but clearly.
|
|
||||||
|
|
||||||
```html
|
|
||||||
<div class="my-snippet"></div>
|
|
||||||
```
|
|
||||||
|
|
||||||
```css
|
|
||||||
.my-snippet {
|
|
||||||
background-color: #fff;
|
|
||||||
border: 1px solid #000;
|
|
||||||
border-radius: 4px;
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
```js
|
|
||||||
console.log(
|
|
||||||
"This is optional, if your snippet doesn't require JavaScript, be sure to delete this block!"
|
|
||||||
)
|
|
||||||
```
|
|
||||||
|
|||||||
Reference in New Issue
Block a user