13 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2025 HAHWUL
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/shortcodes/social_media/x_share.html:
--------------------------------------------------------------------------------
1 |
16 |
17 | The official Zola documentation is excellent, and most questions can be resolved by reading it carefully. However, this collection was created for my own reference to remember various pieces of information not found in the official guides.
18 |
19 | ## Zola
20 |
21 | Zola is a fast and flexible static site generator written in Rust. It comes as a single executable with no dependencies, making it incredibly easy to install and use. It includes many built-in features out-of-the-box, such as Sass/SCSS compilation, syntax highlighting, table of contents generation, and multilingual support, which simplifies the development setup.
22 |
23 | Content is written in Markdown, and the Tera template engine is used to freely customize the structure and design of the website. It is well-suited for quickly building and deploying various types of websites, including blogs, portfolios, and documentation sites.
24 |
25 | ## Themes
26 |
27 | Zola offers a wide range of themes for different kinds of websites. You can explore more themes on the official themes page.
28 |
29 | * Official Themes List: https://www.getzola.org/themes/
30 |
31 | ## Shortcodes
32 |
33 | [Shortcodes](https://www.getzola.org/documentation/content/shortcodes/) are a feature used within Markdown content to insert complex HTML or handle repetitive tasks easily. You can define custom shortcodes by creating template files in the `./templates/shortcodes/` directory.
34 |
35 | ### Video Service
36 |
37 | * [youtube](./shortcodes/video_service/youtube.html): `{{ youtube(id='dCKeXuV...') }}`
38 | * [vimeo](./shortcodes/video_service/vimeo.html): `{{ vimeo(id='123456789') }}`
39 | * [asciinema](./shortcodes/video_service/asciinema.html): `{{ asciinema(id='123456') }}`
40 |
41 | ### Code & Diagram
42 |
43 | * [mermaid](./shortcodes/code_diagram/mermaid.html): `{{ mermaid() }}`
44 | * [gist](./shortcodes/code_diagram/gist.html): `{{ gist(username='username', id='gistid') }}`
45 |
46 | ### Map Service
47 |
48 | * [google_map](./shortcodes/map_service/google_map.html): `{{ google_map(api_key='YOUR_API_KEY', query='Tokyo Tower') }}`
49 | * [kakao_map](./shortcodes/map_service/kakao_map.html): `{{ kakao_map(api_key='YOUR_KAKAO_API_KEY', lat='37.566826', lng='126.978656') }}`
50 | * [naver_map](./shortcodes/map_service/naver_map.html): `{{ naver_map(client_id='YOUR_CLIENT_ID', lat='37.3595704', lng='127.105399') }}`
51 |
52 | ### Social Media
53 |
54 | * [x_share](./shortcodes/social_media/x_share.html): `{{ x_card(url='https://example.com', text='Check out this awesome post!') }}`
55 | * [facebook_share](./shortcodes/social_media/facebook_share.html): `{{ facebook_card(url='https://example.com', quote='Check out this awesome post!') }}`
56 |
57 | ## Sub Commands
58 |
59 | This is a list of unofficial subcommands.
60 |
61 | * `zola new`: https://gitlab.com/bemyak/zola-new
62 |
63 | ## Tools
64 |
65 | * [obsidian-zola](https://github.com/ppeetteerrs/obsidian-zola): A no-brainer solution to turning your Obsidian PKM into a Zola site.
66 |
--------------------------------------------------------------------------------