forked from froge/cyberfrog.me
		
	Initial commit
This commit is contained in:
		
						commit
						7e3b4d9cbc
					
				
					 8 changed files with 157 additions and 0 deletions
				
			
		
							
								
								
									
										16
									
								
								config.toml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								config.toml
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,16 @@
 | 
				
			||||||
 | 
					# The URL the site will be built for
 | 
				
			||||||
 | 
					base_url = "https://cyberfrog.me"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Whether to automatically compile all Sass files in the sass directory
 | 
				
			||||||
 | 
					compile_sass = false
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Whether to build a search index to be used later on by a JavaScript library
 | 
				
			||||||
 | 
					build_search_index = false
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[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
 | 
				
			||||||
							
								
								
									
										7
									
								
								content/first.md
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								content/first.md
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,7 @@
 | 
				
			||||||
 | 
					+++
 | 
				
			||||||
 | 
					title = "My first post"
 | 
				
			||||||
 | 
					date = 2025-01-31
 | 
				
			||||||
 | 
					updated = 2025-01-31
 | 
				
			||||||
 | 
					+++
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					This is my first blog post testing Zola!.
 | 
				
			||||||
							
								
								
									
										7
									
								
								content/second.md
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								content/second.md
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,7 @@
 | 
				
			||||||
 | 
					+++
 | 
				
			||||||
 | 
					title = "My second post"
 | 
				
			||||||
 | 
					date = 2025-01-31
 | 
				
			||||||
 | 
					updated = 2025-01-31
 | 
				
			||||||
 | 
					+++
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					This is my second blog post.
 | 
				
			||||||
							
								
								
									
										37
									
								
								public/main.css
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										37
									
								
								public/main.css
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,37 @@
 | 
				
			||||||
 | 
					body {
 | 
				
			||||||
 | 
					  font-family:Open Sans,Arial;
 | 
				
			||||||
 | 
					  color:#d9d9d9;
 | 
				
			||||||
 | 
					  /*color:#454545;*/
 | 
				
			||||||
 | 
					  background-color:#000000;
 | 
				
			||||||
 | 
					  font-size:16px;
 | 
				
			||||||
 | 
					  margin:0.5em auto;
 | 
				
			||||||
 | 
					  max-width:800px;
 | 
				
			||||||
 | 
					  padding:1em;
 | 
				
			||||||
 | 
					  line-height: 1.4;
 | 
				
			||||||
 | 
					  -webkit-hyphens:auto;
 | 
				
			||||||
 | 
					  -ms-hyphens:auto;
 | 
				
			||||||
 | 
					  hyphens:auto;
 | 
				
			||||||
 | 
					  text-align: center;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					li {
 | 
				
			||||||
 | 
					  margin-top: 1em;
 | 
				
			||||||
 | 
					  list-style-type: none;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					a {
 | 
				
			||||||
 | 
					  color:#00a2e7
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					a:visited {
 | 
				
			||||||
 | 
					  color:#ca1a70;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.blog-post-date {
 | 
				
			||||||
 | 
					 margin: 0;
 | 
				
			||||||
 | 
					 padding: 0;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#blog-title {
 | 
				
			||||||
 | 
					  margin-bottom: 0;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										37
									
								
								static/main.css
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										37
									
								
								static/main.css
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,37 @@
 | 
				
			||||||
 | 
					body {
 | 
				
			||||||
 | 
					  font-family:Open Sans,Arial;
 | 
				
			||||||
 | 
					  color:#d9d9d9;
 | 
				
			||||||
 | 
					  /*color:#454545;*/
 | 
				
			||||||
 | 
					  background-color:#000000;
 | 
				
			||||||
 | 
					  font-size:16px;
 | 
				
			||||||
 | 
					  margin:0.5em auto;
 | 
				
			||||||
 | 
					  max-width:800px;
 | 
				
			||||||
 | 
					  padding:1em;
 | 
				
			||||||
 | 
					  line-height: 1.4;
 | 
				
			||||||
 | 
					  -webkit-hyphens:auto;
 | 
				
			||||||
 | 
					  -ms-hyphens:auto;
 | 
				
			||||||
 | 
					  hyphens:auto;
 | 
				
			||||||
 | 
					  text-align: center;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					li {
 | 
				
			||||||
 | 
					  margin-top: 1em;
 | 
				
			||||||
 | 
					  list-style-type: none;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					a {
 | 
				
			||||||
 | 
					  color:#00a2e7
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					a:visited {
 | 
				
			||||||
 | 
					  color:#ca1a70;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.blog-post-date {
 | 
				
			||||||
 | 
					 margin: 0;
 | 
				
			||||||
 | 
					 padding: 0;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#blog-title {
 | 
				
			||||||
 | 
					  margin-bottom: 0;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										22
									
								
								templates/base.html
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								templates/base.html
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,22 @@
 | 
				
			||||||
 | 
					<!DOCTYPE html>
 | 
				
			||||||
 | 
					<html lang="en">
 | 
				
			||||||
 | 
					<head>
 | 
				
			||||||
 | 
					  <meta charset="utf-8">
 | 
				
			||||||
 | 
					  <link rel="stylesheet" href=/main.css>
 | 
				
			||||||
 | 
					  <title>🐸 CyberFrog</title>
 | 
				
			||||||
 | 
					</head>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<body>
 | 
				
			||||||
 | 
					  <h1 class="title">Cyberfrog blog</h1>
 | 
				
			||||||
 | 
					  <main id="main-content">
 | 
				
			||||||
 | 
					    <h2 class="title">
 | 
				
			||||||
 | 
					      This is my blog made with Zola!
 | 
				
			||||||
 | 
					    </h2>
 | 
				
			||||||
 | 
					    <h3>It's currently running on Vultr for free with 500MB of RAM and OpenBSD :)</h3>
 | 
				
			||||||
 | 
					    <div class="blog-posts">
 | 
				
			||||||
 | 
					      {% block content %} {% endblock %}
 | 
				
			||||||
 | 
					    </div>
 | 
				
			||||||
 | 
					  </main>
 | 
				
			||||||
 | 
					</body>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					</html>
 | 
				
			||||||
							
								
								
									
										11
									
								
								templates/index.html
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								templates/index.html
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,11 @@
 | 
				
			||||||
 | 
					{% extends "base.html" %}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					{% block content %}
 | 
				
			||||||
 | 
					<ul>
 | 
				
			||||||
 | 
					  <!-- If you are using pagination, section.pages will be empty.
 | 
				
			||||||
 | 
					       You need to use the paginator object -->  
 | 
				
			||||||
 | 
					  {% for page in section.pages %}
 | 
				
			||||||
 | 
					  <li><a href="{{ page.permalink | safe }}">{{ page.title }}</a></li>
 | 
				
			||||||
 | 
					  {% endfor %}
 | 
				
			||||||
 | 
					</ul>
 | 
				
			||||||
 | 
					{% endblock content %}
 | 
				
			||||||
							
								
								
									
										20
									
								
								templates/page.html
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								templates/page.html
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,20 @@
 | 
				
			||||||
 | 
					<!DOCTYPE html>
 | 
				
			||||||
 | 
					<html lang="en">
 | 
				
			||||||
 | 
					<head>
 | 
				
			||||||
 | 
					  <meta charset="utf-8">
 | 
				
			||||||
 | 
					  <link rel="stylesheet" href=/main.css>
 | 
				
			||||||
 | 
					  <title>🐸 CyberFrog</title>
 | 
				
			||||||
 | 
					</head>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<body>
 | 
				
			||||||
 | 
					  <h1 class="title">Cyberfrog blog</h1>
 | 
				
			||||||
 | 
					  <main id="main-content">
 | 
				
			||||||
 | 
					    <h2 id="blog-title">{{ page.title }}</h2>
 | 
				
			||||||
 | 
					    <h4 class="blog-post-date">Published: {{ page.date }} || Last updated: {{ page.updated }}</h4>
 | 
				
			||||||
 | 
					    <div class="blog-posts">
 | 
				
			||||||
 | 
					      {% block content %} {% endblock %}
 | 
				
			||||||
 | 
					    </div>
 | 
				
			||||||
 | 
					  </main>
 | 
				
			||||||
 | 
					</body>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					</html>
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue