Add some basic zola boilerplate
This commit is contained in:
		
							parent
							
								
									c28c39c73a
								
							
						
					
					
						commit
						bf4d599ccd
					
				|  | @ -0,0 +1 @@ | |||
| public/ | ||||
|  | @ -0,0 +1,16 @@ | |||
| # The URL the site will be built for | ||||
| base_url = "https://mountainlinux.club" | ||||
| 
 | ||||
| # Whether to automatically compile all Sass files in the sass directory | ||||
| compile_sass = true | ||||
| 
 | ||||
| # Whether to build a search index to be used later on by a JavaScript library | ||||
| build_search_index = true | ||||
| 
 | ||||
| [markdown] | ||||
| # Whether to do syntax highlighting | ||||
| # Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola | ||||
| highlight_code = true | ||||
| 
 | ||||
| [extra] | ||||
| # Put all your custom variables here | ||||
|  | @ -0,0 +1,5 @@ | |||
| +++ | ||||
| title="About Us" | ||||
| +++ | ||||
| 
 | ||||
| This is an about us page | ||||
|  | @ -0,0 +1,16 @@ | |||
| <html> | ||||
|     <head> | ||||
|         <title> | ||||
|             {% if page.title %} | ||||
|             {{ page.title }} | ||||
|             {% else %} | ||||
|             Mountain Linux Club | ||||
|             {% endif %} | ||||
|         </title> | ||||
|     </head> | ||||
|     <body> | ||||
|         {% block content %} | ||||
|         {% endblock %} | ||||
|     </body> | ||||
| </html> | ||||
| 
 | ||||
|  | @ -0,0 +1,4 @@ | |||
| {% extends "base.html" %} | ||||
| {% block content %} | ||||
| This will be the homepage | ||||
| {% endblock %} | ||||
|  | @ -0,0 +1,7 @@ | |||
| {% extends "base.html" %} | ||||
| {% block content %} | ||||
| {% if page.title %} | ||||
| <h1>{{ page.title }}</h1> | ||||
| {% endif %} | ||||
| {{ page.content | safe }} | ||||
| {% endblock %} | ||||
		Loading…
	
		Reference in New Issue