diff options
author | d-asnaghi <asnaghi@me.com> | 2020-05-17 17:04:46 +0300 |
---|---|---|
committer | d-asnaghi <asnaghi@me.com> | 2020-05-17 17:04:46 +0300 |
commit | 1fbe502e38309b2763951132e6ce519cf7bc4a02 (patch) | |
tree | c0c92517d36ccc8cc5af9e01af0ffec14ab76db3 /exampleSite |
[HUGO] theme
Diffstat (limited to 'exampleSite')
-rw-r--r-- | exampleSite/config.toml | 4 | ||||
-rw-r--r-- | exampleSite/content/_index.md | 5 | ||||
-rw-r--r-- | exampleSite/content/elements.md | 52 | ||||
-rw-r--r-- | exampleSite/content/posts/_index.md | 6 |
4 files changed, 67 insertions, 0 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml new file mode 100644 index 0000000..f6f4228 --- /dev/null +++ b/exampleSite/config.toml @@ -0,0 +1,4 @@ +baseURL = "http://example.org/" +languageCode = "en-us" +title = "My New Hugo Site" +theme = "dimension"
\ No newline at end of file diff --git a/exampleSite/content/_index.md b/exampleSite/content/_index.md new file mode 100644 index 0000000..600a321 --- /dev/null +++ b/exampleSite/content/_index.md @@ -0,0 +1,5 @@ +--- +title: Your Name +description: A great human +background: "/images/bg.jpg" +---
\ No newline at end of file diff --git a/exampleSite/content/elements.md b/exampleSite/content/elements.md new file mode 100644 index 0000000..01bae6e --- /dev/null +++ b/exampleSite/content/elements.md @@ -0,0 +1,52 @@ +--- +title: elements +--- + +## Table of contents + +- [Table of contents](#table-of-contents) +- [Text](#text) +- [Code](#code) + - [Python](#python) + - [C/C++](#cc) + - [Bash](#bash) +- [Tables](#tables) + +## Text + +Some example text + +## Code + +### Python + +```python +def foo(): + print ("This is a python function") +``` + +### C/C++ + +```C +void foo(){ + prinf("%s\n", "This is a C function") +} +``` + +### Bash + +```bash +# This is a bash command +cd dir && echo $PWD; + +# Return +exit 0; +``` + +## Tables + +| Pages | Elements | +| ----- | -------- | +| 1 | Text | +| 2 | Code | +| 3 | Tables | diff --git a/exampleSite/content/posts/_index.md b/exampleSite/content/posts/_index.md new file mode 100644 index 0000000..0498453 --- /dev/null +++ b/exampleSite/content/posts/_index.md @@ -0,0 +1,6 @@ +--- +title: "Posts" +description: "A collection of posts" +icon: "flag" +--- + |