-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
47 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
title: Welcome to Sissi | ||
layout: base.html | ||
--- | ||
# {{ title }} | ||
|
||
Right now there's not too much to configure. Specify an input dir, specify an output dir: | ||
|
||
```js | ||
export default function(config) { | ||
// You can add plugins via config.addPlugin here | ||
// config.addPlugin(html); | ||
return { | ||
dir: { | ||
input: 'demo', | ||
output: 'dist' | ||
} | ||
} | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,7 +32,7 @@ | |
} | ||
|
||
|
||
:where(li:not([class])) { | ||
:where(ul:not([class]) li) { | ||
margin-inline-start: 2rem; | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,11 @@ | ||
.layout { | ||
display: grid; | ||
grid-template-columns: 30ch 1fr; | ||
flex: 1 auto; | ||
} | ||
|
||
|
||
@media screen and (min-width: 768px) { | ||
.layout { | ||
display: grid; | ||
grid-template-columns: 20ch 1fr; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
title: Templating | ||
layout: base.html | ||
--- | ||
# {{ title }} | ||
|
||
Sissi comes with a basic markdown and html template engine. | ||
|
||
## HTML Includes | ||
|
||
You can include HTML via the `html-include` tag: | ||
|