Create initial blog skeleton
commit
57270ab118
@ -0,0 +1 @@
|
||||
public
|
@ -0,0 +1,3 @@
|
||||
[submodule "themes/after-dark"]
|
||||
path = themes/after-dark
|
||||
url = git@github.com:getzola/after-dark.git
|
@ -0,0 +1,35 @@
|
||||
# The URL the site will be built for
|
||||
base_url = "https://blog.trivernis.net"
|
||||
|
||||
# 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
|
||||
|
||||
theme = "after-dark"
|
||||
|
||||
generate_feed = true
|
||||
|
||||
taxonomies = [
|
||||
# You can enable/disable RSS
|
||||
{name = "categories", feed = true},
|
||||
{name = "tags", feed = 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
|
||||
author = "Trivernis"
|
||||
after_dark_menu = [
|
||||
{url = "$BASE_URL", name = "Home"},
|
||||
{url = "$BASE_URL/categories", name = "Categories"},
|
||||
{url = "$BASE_URL/tags", name = "Tags"},
|
||||
{url = "https://trivernis.net", name = "Website"},
|
||||
{url = "https://git.trivernis.net", name = "Git"},
|
||||
]
|
||||
after_dark_title = "My Awesome Blog"
|
@ -0,0 +1,3 @@
|
||||
+++
|
||||
paginate_by = 5
|
||||
+++
|
@ -0,0 +1,27 @@
|
||||
@use "../themes/after-dark/sass/site.scss";
|
||||
|
||||
$primary-color: #bd5ec2;
|
||||
$secondary-color: #f862a7;
|
||||
|
||||
body.dark,html {
|
||||
background-color: #16001a;
|
||||
}
|
||||
|
||||
nav a.active {
|
||||
background-color: $secondary-color;
|
||||
color: #fff;
|
||||
}
|
||||
a {
|
||||
color: $primary-color;
|
||||
border-bottom: 1px solid $secondary-color
|
||||
}
|
||||
a:hover {
|
||||
background-color: $secondary-color;
|
||||
}
|
||||
a[itemprop="url"] {
|
||||
color: $primary-color;
|
||||
}
|
||||
a[href*="://"]::after,
|
||||
a[rel*="external"] {
|
||||
content: " " url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20class='i-external'%20viewBox='0%200%2032%2032'%20width='14'%20height='14'%20fill='none'%20stroke='%23bd5ec2'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-width='9.38%'%3E%3Cpath%20d='M14%209%20L3%209%203%2029%2023%2029%2023%2018%20M18%204%20L28%204%2028%2014%20M28%204%20L14%2018'/%3E%3C/svg%3E");
|
||||
}
|
@ -0,0 +1 @@
|
||||
Subproject commit d2c563e1ee464c24c17f8122b968bdfe50ab1fb0
|
Loading…
Reference in New Issue