mirror of
https://github.com/szymon-jozef/static-site-generator.git
synced 2026-09-07 12:10:42 +02:00
renamed tests/ to tests_files/
This commit is contained in:
8
src/tests_files/config.toml
Normal file
8
src/tests_files/config.toml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
[general]
|
||||||
|
lang = "en"
|
||||||
|
title = "Blog"
|
||||||
|
|
||||||
|
[contact]
|
||||||
|
author = "author"
|
||||||
|
email = "email@example.com"
|
||||||
|
signal = "signal url"
|
||||||
11
src/tests_files/formatter.html
Normal file
11
src/tests_files/formatter.html
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Document</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
{{replace_me}}
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
BIN
src/tests_files/image.png
Normal file
BIN
src/tests_files/image.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 290 KiB |
2
src/tests_files/no_metadata_post.md
Normal file
2
src/tests_files/no_metadata_post.md
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
# This markdown has no metadata.
|
||||||
|
That's bad. Don't do it. It's for tests only.
|
||||||
42
src/tests_files/post.md
Normal file
42
src/tests_files/post.md
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
---
|
||||||
|
[metadata]
|
||||||
|
author = "joseph"
|
||||||
|
date = 2026-01-01
|
||||||
|
title = "Example of a blog post"
|
||||||
|
tags = ["blog", "test", "lalilulelo"]
|
||||||
|
---
|
||||||
|
# This is an example post
|
||||||
|
|
||||||
|
In this example we will do a couple of cool markdown things.
|
||||||
|
|
||||||
|
## This is a h2 header
|
||||||
|
*This text is written in italic!*
|
||||||
|
### Look at this!
|
||||||
|
**This text is BOLD!**
|
||||||
|
|
||||||
|
## Hello world!
|
||||||
|
```cpp
|
||||||
|
#include <iostream>
|
||||||
|
|
||||||
|
int main() {
|
||||||
|
std::cout << "Hello world!" << std::endl;
|
||||||
|
}
|
||||||
|
```
|
||||||
|
This is super cool!
|
||||||
|
|
||||||
|
## Time to link some random website!
|
||||||
|
This [should be clickable](https://example.com)
|
||||||
|
|
||||||
|
## Image test
|
||||||
|

|
||||||
|
|
||||||
|
## This is an ordered list
|
||||||
|
1. one
|
||||||
|
2. six
|
||||||
|
3. seven
|
||||||
|
|
||||||
|
## This is an unordered one
|
||||||
|
- six
|
||||||
|
- nine
|
||||||
|
- six
|
||||||
|
- nine
|
||||||
Reference in New Issue
Block a user