initial commit

This commit is contained in:
Atlas Cove 2022-03-24 15:11:03 +00:00
commit 995dbd9536
9 changed files with 72 additions and 0 deletions

6
.editorconfig Normal file
View File

@ -0,0 +1,6 @@
root=true
[*]
charset=utf-8
end_of_line=cr
[*.html]
indent_size=0

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
public

16
config.toml Normal file
View File

@ -0,0 +1,16 @@
# The URL the site will be built for
base_url = "https://atlas48.sdf.org/"
# 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

3
robots.txt Normal file
View File

@ -0,0 +1,3 @@
User-agent: *
Allow: /
Sitemap: {{ get_url(path="sitemap.xml") }}

3
sass/main.sass Normal file
View File

@ -0,0 +1,3 @@
body
background: black
color: white

20
templates/bare.html Normal file
View File

@ -0,0 +1,20 @@
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<title>
{% if page.title %}
{{ page.title }}
{% else %}
{{ site.name }} &mdash; {{ site.description }}
{% endif %}
</title>
{% if site.highlighter %}
<link rel='stylesheet' href='{{ site.url }}/assets/css/syntax.css' type='text/css'>
{% endif %}
<meta name='viewport' content='width=device-width, initial-scale=1'>
</head>
<body>
{{ content }}
</body>
</html>

17
templates/comments.html Normal file
View File

@ -0,0 +1,17 @@
<div>
<div id='disqus_thread'></div>
<script type='text/javascript'>
var disqus_shortname = '{{ site.disqus-id }}';
(function () {
var dsq = document.createElement('script');
dsq.type = 'text/javascript';
dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>Please enable JavaScript to view the <a href='http://disqus.com/?ref_noscript'> comments.</a></noscript>
<a href='http://disqus.com' class='dsq-brlink'>comments powered by<span class='logo-disqus'>Disqus</span></a>
</div>

1
templates/index.html Normal file
View File

@ -0,0 +1 @@
{%- import "macros.html" as m -%} <!DOCTYPE html> <html> <head> <meta charset="utf-8"> {% if title in page %} <title>{{ page.title }}</title> {% else %} <title>{{ extra.name }} &mdash; {{ extra.description }}</title> {% endif %} {% if site.highlighter %} <link rel="stylesheet" href="{{ site.url }}/assets/css/syntax.css" type="text/css" /> {% endif %} <link rel="stylesheet" href="/main.css" type="text/css" /> <meta name="viewport" content="width=device-width, initial-scale=1"> </head> <body> {% block content %} {{ page.content }} {% endblock %} </body> </html>

5
templates/page.html Normal file
View File

@ -0,0 +1,5 @@
---
layout: default
---
<h1>{{ page.title }}{{ page.shortUrl }}</h1>
{{ content }}