diff --git a/config.toml b/config.toml index 090ea5d..4cdff35 100644 --- a/config.toml +++ b/config.toml @@ -1,32 +1,68 @@ base_url = "https://posixlycorrect.com" compile_sass = true build_search_index = true -theme = "terminimal" +theme = "tabi-lean" title = "posixlycorrect" - -[markdown] -highlight_code = true -highlight_theme = "ayu-dark" +default_language = "en" [extra] -accent_color = "orange" -background_color = "dark" -author = "Fabián Montero" -logo_text = "[~] posixlycorrect" -use_full_hack_font = true +date_formats = [ + { lang = "en", long = "%Y-%m-%d", short = "%Y-%m-%d", archive = "%Y-%m-%d" }, +] +post_listing_date = "both" +theme_switcher = false +default_theme = "dark" +skin = "posixlycorrect" +browser_theme_color = "#131a21" +compact_tags = true + +remote_repository_url = "https://git.posixlycorrect.com/fabian/homepage" +remote_repository_git_platform = "Codeberg" +remote_repository_branch = "main" +show_remote_changes = true +show_remote_source = true + +quick_navigation_buttons = true +toc = true +bottom_footnotes = true +copy_button = true +code_block_name_links = true +katex = true +mermaid = true +show_reading_time = false + +copyright = "© $CURRENT_YEAR Fabian Montero $SEPARATOR Unless otherwise noted, the content in this website is available under the [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/) license." + +author = "Fabian Montero" page_titles = "combined" favicon = "/favicon.png" favicon_mimetype = "image/png" -menu_items = [ - {name = "about", url = "$BASE_URL/about"}, - {name = "lib", url = "$BASE_URL/lib"}, - {name = "blog", url = "$BASE_URL/blog"}, - {name = "leaderboard", url = "$BASE_URL/leaderboard"}, - {name = "wiki↗", url = "https://wiki.posixlycorrect.com", newtab = true}, - {name = "git↗", url = "https://git.posixlycorrect.com", newtab = true}, - {name = "notes↗", url = "https://notes.posixlycorrect.com", newtab = true}, - {name = "ebooks↗", url = "https://calibre.posixlycorrect.com", newtab = true}, - {name = "photos↗", url = "https://photos.posixlycorrect.com", newtab = true}, - {name = "recipes↗", url = "https://food.posixlycorrect.com", newtab = true}, +menu = [ + {name = "about", url = "about"}, + {name = "lib", url = "lib"}, + {name = "blog", url = "blog"}, + {name = "leaderboard", url = "leaderboard" }, + {name = "wiki", url = "https://wiki.posixlycorrect.com"}, + {name = "git", url = "https://git.posixlycorrect.com", trailing_slash = false }, + {name = "notes", url = "https://notes.posixlycorrect.com"}, + {name = "ebooks", url = "https://calibre.posixlycorrect.com"}, + {name = "photos", url = "https://photos.posixlycorrect.com"}, + {name = "recipes", url = "https://food.posixlycorrect.com"}, ] + +footer_menu = [ + {url = "https://public.posixlycorrect.com/pki/A8981D346F8F4130CA16A7775517E687FCCE0BB9.asc", name = "gpg key", trailing_slash = true}, +] + +[markdown] +external_links_class = "external" +highlight_code = true +highlight_theme = "ayu-dark" + +[search] +index_format = "elasticlunr_json" # Or the less efficient "elasticlunr_javascript". +include_title = true +include_description = true +include_path = true +include_content = true diff --git a/content/analog_photography.md b/content/analog_photography.md deleted file mode 100644 index 1c8d818..0000000 --- a/content/analog_photography.md +++ /dev/null @@ -1,12 +0,0 @@ -+++ -title = "analog photography" -+++ - -My main hobby is analog photography. I own a couple of *point and shoots* but I -mainly use a Nikon F2 (with the DP-1 meter) and a Minolta XG7. - -Here are some decent photos I have been able to take. - -F353 - -A bunch of photos missing, gotta add more later. diff --git a/content/blog/_index.md b/content/blog/_index.md index 1db40b0..ee71af5 100644 --- a/content/blog/_index.md +++ b/content/blog/_index.md @@ -1,5 +1,5 @@ +++ -title = "blog posts" -template = "blog_index.html" +title = "blog" +sort_by = "date" paginate_by = 10 -+++ \ No newline at end of file ++++ diff --git a/content/leaderboard.md b/content/leaderboard.md index 5a69033..ba6eaab 100644 --- a/content/leaderboard.md +++ b/content/leaderboard.md @@ -1,11 +1,14 @@ +++ title = "boardgame night leaderboard" + +[extra] +toc = false +++ ### Catan: Cities & Knights / Seafarers
-Fabian:  ● ● ◐
+Fabian:  ● ● ●
 Joshua:  ● ●
-Vanessa: ● ◐
+Vanessa: ● ●
 Sofía:   ●
 
diff --git a/content/lib.md b/content/lib/_index.md similarity index 92% rename from content/lib.md rename to content/lib/_index.md index a1454d7..5b50db7 100644 --- a/content/lib.md +++ b/content/lib/_index.md @@ -5,5 +5,4 @@ title = "lib" [two hard things](@/lib/two_hard_things.md)   [visual thinking](@/lib/visual_thinking.md)   [be methodical](@/lib/be_methodical.md)   - -[digital gardening](https://git.posixlycorrect.com/fabian/digital-gardeners)   \ No newline at end of file +[digital gardening](https://git.posixlycorrect.com/fabian/digital-gardeners)   diff --git a/themes/tabi-lean/sass/main.scss b/themes/tabi-lean/sass/main.scss index f541393..6433d2c 100644 --- a/themes/tabi-lean/sass/main.scss +++ b/themes/tabi-lean/sass/main.scss @@ -27,9 +27,9 @@ @use 'parts/_zola-error.scss'; @font-face { - src: local('Hack'), - url('fonts/HackNerdFontMono-Regular.ttf') format("truetype"); - font-family: 'Hack'; + src: local('JetBrainsMono'), + url('fonts/JetBrainsMonoNLNerdFont-Regular.ttf') format("truetype"); + font-family: 'JetBrainsMono'; font-display: swap; } @@ -80,9 +80,9 @@ --small-layout-width: 200px; --paragraph-spacing: max(2.3vmin, 24px); - --sans-serif-font: 'Hack', Helvetica, Arial, sans-serif; - --serif-font: 'Hack', 'Georgia', serif; - --code-font: 'Hack'; + --sans-serif-font: 'JetBrainsMono', Helvetica, Arial, sans-serif; + --serif-font: 'JetBrainsMono', 'Georgia', serif; + --code-font: 'JetBrainsMono'; scrollbar-color: var(--primary-color) transparent; accent-color: var(--primary-color); diff --git a/themes/tabi-lean/sass/parts/_header.scss b/themes/tabi-lean/sass/parts/_header.scss index 414aa82..4640d1b 100644 --- a/themes/tabi-lean/sass/parts/_header.scss +++ b/themes/tabi-lean/sass/parts/_header.scss @@ -1,6 +1,6 @@ header { width: 100%; - font-family: 'Inter Subset', var(--sans-serif-font); + font-family: 'JetBrainsMono', var(--sans-serif-font); } .page-header { diff --git a/themes/tabi-lean/sass/skins/posixlycorrect.scss b/themes/tabi-lean/sass/skins/posixlycorrect.scss new file mode 100644 index 0000000..453d2f3 --- /dev/null +++ b/themes/tabi-lean/sass/skins/posixlycorrect.scss @@ -0,0 +1,25 @@ +// force dark theme +@mixin theme-variables($theme) { + @if $theme =='light' { + --primary-color: #FC9300; + --background-color: #131a21; + } + @else if $theme == 'dark' { + --primary-color: #FC9300; + --background-color: #131a21; + } +} + +:root { + @include theme-variables('light'); +} + +[data-theme='dark'] { + @include theme-variables('dark'); +} + +@media (prefers-color-scheme: dark) { + :root:not([data-theme='light']) { + @include theme-variables('dark'); + } +} diff --git a/themes/tabi-lean/static/fonts/HackNerdFontMono-Bold.ttf b/themes/tabi-lean/static/fonts/HackNerdFontMono-Bold.ttf deleted file mode 100644 index d1795b6..0000000 Binary files a/themes/tabi-lean/static/fonts/HackNerdFontMono-Bold.ttf and /dev/null differ diff --git a/themes/tabi-lean/static/fonts/HackNerdFontMono-BoldItalic.ttf b/themes/tabi-lean/static/fonts/HackNerdFontMono-BoldItalic.ttf deleted file mode 100644 index c737de9..0000000 Binary files a/themes/tabi-lean/static/fonts/HackNerdFontMono-BoldItalic.ttf and /dev/null differ diff --git a/themes/tabi-lean/static/fonts/HackNerdFontMono-Italic.ttf b/themes/tabi-lean/static/fonts/HackNerdFontMono-Italic.ttf deleted file mode 100644 index 83b81a9..0000000 Binary files a/themes/tabi-lean/static/fonts/HackNerdFontMono-Italic.ttf and /dev/null differ diff --git a/themes/tabi-lean/static/fonts/HackNerdFontMono-Regular.ttf b/themes/tabi-lean/static/fonts/HackNerdFontMono-Regular.ttf deleted file mode 100644 index 2dc643c..0000000 Binary files a/themes/tabi-lean/static/fonts/HackNerdFontMono-Regular.ttf and /dev/null differ diff --git a/themes/tabi-lean/static/fonts/JetBrainsMonoNLNerdFont-Bold.ttf b/themes/tabi-lean/static/fonts/JetBrainsMonoNLNerdFont-Bold.ttf new file mode 100644 index 0000000..41365a8 Binary files /dev/null and b/themes/tabi-lean/static/fonts/JetBrainsMonoNLNerdFont-Bold.ttf differ diff --git a/themes/tabi-lean/static/fonts/JetBrainsMonoNLNerdFont-BoldItalic.ttf b/themes/tabi-lean/static/fonts/JetBrainsMonoNLNerdFont-BoldItalic.ttf new file mode 100644 index 0000000..ede5867 Binary files /dev/null and b/themes/tabi-lean/static/fonts/JetBrainsMonoNLNerdFont-BoldItalic.ttf differ diff --git a/themes/tabi-lean/static/fonts/JetBrainsMonoNLNerdFont-ExtraBold.ttf b/themes/tabi-lean/static/fonts/JetBrainsMonoNLNerdFont-ExtraBold.ttf new file mode 100644 index 0000000..7430b4f Binary files /dev/null and b/themes/tabi-lean/static/fonts/JetBrainsMonoNLNerdFont-ExtraBold.ttf differ diff --git a/themes/tabi-lean/static/fonts/JetBrainsMonoNLNerdFont-ExtraBoldItalic.ttf b/themes/tabi-lean/static/fonts/JetBrainsMonoNLNerdFont-ExtraBoldItalic.ttf new file mode 100644 index 0000000..53020b9 Binary files /dev/null and b/themes/tabi-lean/static/fonts/JetBrainsMonoNLNerdFont-ExtraBoldItalic.ttf differ diff --git a/themes/tabi-lean/static/fonts/JetBrainsMonoNLNerdFont-ExtraLight.ttf b/themes/tabi-lean/static/fonts/JetBrainsMonoNLNerdFont-ExtraLight.ttf new file mode 100644 index 0000000..cc99cdf Binary files /dev/null and b/themes/tabi-lean/static/fonts/JetBrainsMonoNLNerdFont-ExtraLight.ttf differ diff --git a/themes/tabi-lean/static/fonts/JetBrainsMonoNLNerdFont-ExtraLightItalic.ttf b/themes/tabi-lean/static/fonts/JetBrainsMonoNLNerdFont-ExtraLightItalic.ttf new file mode 100644 index 0000000..10bcdaa Binary files /dev/null and b/themes/tabi-lean/static/fonts/JetBrainsMonoNLNerdFont-ExtraLightItalic.ttf differ diff --git a/themes/tabi-lean/static/fonts/JetBrainsMonoNLNerdFont-Italic.ttf b/themes/tabi-lean/static/fonts/JetBrainsMonoNLNerdFont-Italic.ttf new file mode 100644 index 0000000..d3857d6 Binary files /dev/null and b/themes/tabi-lean/static/fonts/JetBrainsMonoNLNerdFont-Italic.ttf differ diff --git a/themes/tabi-lean/static/fonts/JetBrainsMonoNLNerdFont-Light.ttf b/themes/tabi-lean/static/fonts/JetBrainsMonoNLNerdFont-Light.ttf new file mode 100644 index 0000000..56d5f65 Binary files /dev/null and b/themes/tabi-lean/static/fonts/JetBrainsMonoNLNerdFont-Light.ttf differ diff --git a/themes/tabi-lean/static/fonts/JetBrainsMonoNLNerdFont-LightItalic.ttf b/themes/tabi-lean/static/fonts/JetBrainsMonoNLNerdFont-LightItalic.ttf new file mode 100644 index 0000000..bcb382c Binary files /dev/null and b/themes/tabi-lean/static/fonts/JetBrainsMonoNLNerdFont-LightItalic.ttf differ diff --git a/themes/tabi-lean/static/fonts/JetBrainsMonoNLNerdFont-Medium.ttf b/themes/tabi-lean/static/fonts/JetBrainsMonoNLNerdFont-Medium.ttf new file mode 100644 index 0000000..ee8c06c Binary files /dev/null and b/themes/tabi-lean/static/fonts/JetBrainsMonoNLNerdFont-Medium.ttf differ diff --git a/themes/tabi-lean/static/fonts/JetBrainsMonoNLNerdFont-MediumItalic.ttf b/themes/tabi-lean/static/fonts/JetBrainsMonoNLNerdFont-MediumItalic.ttf new file mode 100644 index 0000000..f836007 Binary files /dev/null and b/themes/tabi-lean/static/fonts/JetBrainsMonoNLNerdFont-MediumItalic.ttf differ diff --git a/themes/tabi-lean/static/fonts/JetBrainsMonoNLNerdFont-Regular.ttf b/themes/tabi-lean/static/fonts/JetBrainsMonoNLNerdFont-Regular.ttf new file mode 100644 index 0000000..8e9ac86 Binary files /dev/null and b/themes/tabi-lean/static/fonts/JetBrainsMonoNLNerdFont-Regular.ttf differ diff --git a/themes/tabi-lean/static/fonts/JetBrainsMonoNLNerdFont-SemiBold.ttf b/themes/tabi-lean/static/fonts/JetBrainsMonoNLNerdFont-SemiBold.ttf new file mode 100644 index 0000000..8c33920 Binary files /dev/null and b/themes/tabi-lean/static/fonts/JetBrainsMonoNLNerdFont-SemiBold.ttf differ diff --git a/themes/tabi-lean/static/fonts/JetBrainsMonoNLNerdFont-SemiBoldItalic.ttf b/themes/tabi-lean/static/fonts/JetBrainsMonoNLNerdFont-SemiBoldItalic.ttf new file mode 100644 index 0000000..dcd0a9a Binary files /dev/null and b/themes/tabi-lean/static/fonts/JetBrainsMonoNLNerdFont-SemiBoldItalic.ttf differ diff --git a/themes/tabi-lean/static/fonts/JetBrainsMonoNLNerdFont-Thin.ttf b/themes/tabi-lean/static/fonts/JetBrainsMonoNLNerdFont-Thin.ttf new file mode 100644 index 0000000..5a288f4 Binary files /dev/null and b/themes/tabi-lean/static/fonts/JetBrainsMonoNLNerdFont-Thin.ttf differ diff --git a/themes/tabi-lean/static/fonts/JetBrainsMonoNLNerdFont-ThinItalic.ttf b/themes/tabi-lean/static/fonts/JetBrainsMonoNLNerdFont-ThinItalic.ttf new file mode 100644 index 0000000..8410608 Binary files /dev/null and b/themes/tabi-lean/static/fonts/JetBrainsMonoNLNerdFont-ThinItalic.ttf differ diff --git a/themes/tabi-lean/templates/partials/footer.html b/themes/tabi-lean/templates/partials/footer.html index db4bd85..1a5194f 100644 --- a/themes/tabi-lean/templates/partials/footer.html +++ b/themes/tabi-lean/templates/partials/footer.html @@ -100,9 +100,13 @@ {# Shows "Powered by Zola & tabi" notice #} {{ macros_translate::translate(key="powered_by", default="Powered by", language_strings=language_strings) }} + NixOS, + vpsFree, Zola {{ macros_translate::translate(key="and", default="&", language_strings=language_strings) }} - tabi + tabi. + Backed up by + rsync. {# Shows link to remote repository #} {%- if config.extra.remote_repository_url and config.extra.show_remote_source | default(value=true) -%} diff --git a/themes/tabi-lean/theme.toml b/themes/tabi-lean/theme.toml index fa5c4b7..a096a83 100644 --- a/themes/tabi-lean/theme.toml +++ b/themes/tabi-lean/theme.toml @@ -1,4 +1,4 @@ -name = "tabi" +name = "tabi-lean" description = "tabi is an accessible Zola theme with search, multi-language support, optional JavaScript, a perfect Lighthouse score, and comprehensive documentation. Crafted for personal websites and blogs." license = "MIT" homepage = "https://github.com/welpo/tabi" diff --git a/themes/terminimal/LICENSE-Hack.md b/themes/terminimal/LICENSE-Hack.md deleted file mode 100644 index 08927e5..0000000 --- a/themes/terminimal/LICENSE-Hack.md +++ /dev/null @@ -1,45 +0,0 @@ -The work in the Hack project is Copyright 2018 Source Foundry Authors and licensed under the MIT License - -The work in the DejaVu project was committed to the public domain. - -Bitstream Vera Sans Mono Copyright 2003 Bitstream Inc. and licensed under the Bitstream Vera License with Reserved Font Names "Bitstream" and "Vera" - -### MIT License - -Copyright (c) 2018 Source Foundry Authors - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -### BITSTREAM VERA LICENSE - -Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved. Bitstream Vera is a trademark of Bitstream, Inc. - -Permission is hereby granted, free of charge, to any person obtaining a copy of the fonts accompanying this license ("Fonts") and associated documentation files (the "Font Software"), to reproduce and distribute the Font Software, including without limitation the rights to use, copy, merge, publish, distribute, and/or sell copies of the Font Software, and to permit persons to whom the Font Software is furnished to do so, subject to the following conditions: - -The above copyright and trademark notices and this permission notice shall be included in all copies of one or more of the Font Software typefaces. - -The Font Software may be modified, altered, or added to, and in particular the designs of glyphs or characters in the Fonts may be modified and additional glyphs or characters may be added to the Fonts, only if the fonts are renamed to names not containing either the words "Bitstream" or the word "Vera". - -This License becomes null and void to the extent applicable to Fonts or Font Software that has been modified and is distributed under the "Bitstream Vera" names. - -The Font Software may be sold as part of a larger software package but no copy of one or more of the Font Software typefaces may be sold by itself. - -THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL BITSTREAM OR THE GNOME FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE. - -Except as contained in this notice, the names of Gnome, the Gnome Foundation, and Bitstream Inc., shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Font Software without prior written authorization from the Gnome Foundation or Bitstream Inc., respectively. For further information, contact: fonts at gnome dot org. diff --git a/themes/terminimal/LICENSE.md b/themes/terminimal/LICENSE.md deleted file mode 100644 index 9c86862..0000000 --- a/themes/terminimal/LICENSE.md +++ /dev/null @@ -1,48 +0,0 @@ -MIT License - -Copyright (c) 2019 Paweł Romanowski - -Copyright (c) 2019 panr - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ---- - -For hugo-theme-terminal: - -The MIT License (MIT) - -Copyright (c) 2019 panr - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/themes/terminimal/config.toml b/themes/terminimal/config.toml deleted file mode 100644 index 7af0f3d..0000000 --- a/themes/terminimal/config.toml +++ /dev/null @@ -1,91 +0,0 @@ -# Be sure to change these! -base_url = "https://pawroman.github.io/zola-theme-terminimal" -title = "Zola Terminimal theme" - -# Sass compilation is required -compile_sass = true - -# Optional: enable tags -taxonomies = [ - {name = "tags"} -] - -# Code highlighting -[markdown] -highlight_code = true -highlight_theme = "boron" - -[extra] - -# One of: blue, green, orange, pink, red. -# Defaults to blue. -accent_color = "blue" - -# One of: blue, dark, green, orange, pink, red. -# Enabling dark background will also modify primary font color -# to be darker. -# Defaults to accent color (or, if not accent color specified, to blue). -background_color = "blue" - -# The logo text - defaults to "Terminimal theme" -logo_text = "Terminimal theme" - -# The logo link - defaults to base_url. -#logo_home_link = "/take/me/away!" - -# Author name: when specified, modifies the default -# copyright text. Apart from author, it will -# contain current year and a link to the theme. -#author = "My Name" - -# Copyright text in HTML format. If specified, -# entirely replaces default copyright and author. -#copyright_html = "My custom copyright" - -# menu is enabled by adding menu_items (optional) -menu_items = [ - # each of these is optional, name and url are required - # $BASE_URL is going to be substituted by base_url from configuration - {name = "blog", url = "$BASE_URL"}, - - # tags should only be enabled if you have "tags" taxonomy - # see documentation below for more details - {name = "tags", url = "$BASE_URL/tags"}, - {name = "archive", url = "$BASE_URL/archive"}, - {name = "about me", url = "$BASE_URL/about"}, - - # set newtab to true to make the link open in new tab - {name = "github", url = "https://github.com/pawroman/zola-theme-terminimal", newtab = true}, -] - -# Whether to show links to earlier and later (aka. higher/lower) posts -# on each post page (defaults to true). -enable_post_view_navigation = true - -# The text shown at the bottom of a post, -# before earlier/later post links. -# Defaults to "Thanks for reading! Read other posts?" -post_view_navigation_prompt = "Thanks for reading! Read other posts?" - -# Use full Hack character set, not just a subset. -# Switch this to true if you need full unicode support. -# Defaults to false. -use_full_hack_font = false - -# Optional: Global favicon URL and mimetype. -# Mimetype defaults to "image/x-icon". -# The URL should point at a file located -# in your site's "static" directory. -# favicon = "/favicon.png" -# favicon_mimetype = "image/png" - -# Optional: Set how elements are rendered. -# Values: -# - "main_only" -- only the main title (`config.title`) is rendered. -# - "page_only" -- only the page title (if defined) is rendered, -# falling back to `config.title` if not defined or empty. -# - "combined" -- combine like so: "page_title | main_title", -# or if page_title is not defined or empty, fall back to `main_title` -# -# Note that the main (index) page only has the main title. -page_titles = "main_only" diff --git a/themes/terminimal/content/_index.md b/themes/terminimal/content/_index.md deleted file mode 100644 index ba81db4..0000000 --- a/themes/terminimal/content/_index.md +++ /dev/null @@ -1,4 +0,0 @@ -+++ -paginate_by = 2 -sort_by = "date" -+++ diff --git a/themes/terminimal/content/i-dont-like-javascript.md b/themes/terminimal/content/i-dont-like-javascript.md deleted file mode 100644 index c03f85e..0000000 --- a/themes/terminimal/content/i-dont-like-javascript.md +++ /dev/null @@ -1,26 +0,0 @@ -+++ -title = "I don't like JavaScript" -date = 2019-02-02 - -[taxonomies] -tags = ["javascript", "rant"] -+++ - -Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc eu feugiat sapien. - -[wtfjs.com](https://wtfjs.com) - -```javascript ->>> [1, 2, 3, 15, 30, 7, 5, 45, 60].sort() -[1, 15, 2, 3, 30, 45, 5, 60, 7] -``` - -<!-- more --> - -Ut luctus dolor ut tortor hendrerit, sed hendrerit augue scelerisque. Suspendisse quis sodales dui, at tempus ante. Nulla at tempor metus. Aliquam vitae rutrum diam. Curabitur iaculis massa dui, quis varius nulla finibus a. Praesent eu blandit justo. Suspendisse pharetra, arcu in rhoncus rutrum, magna magna viverra erat, eget vestibulum enim tellus id dui. Nunc vel dui et arcu posuere maximus. Mauris quam quam, bibendum sed libero nec, tempus hendrerit arcu. Suspendisse sed gravida orci. Fusce tempor arcu ac est pretium porttitor. Aenean consequat risus venenatis sem aliquam, at sollicitudin nulla semper. Aenean bibendum cursus hendrerit. Nulla congue urna nec finibus bibendum. Donec porta tincidunt ligula non ultricies. - -Sed vulputate tristique elit, eget pharetra elit sodales sed. Proin dignissim ipsum lorem, at porta eros malesuada sed. Proin tristique eros eu quam ornare, suscipit luctus mauris lobortis. Phasellus ut placerat enim. Donec egestas faucibus maximus. Nam quis efficitur eros. Cras tincidunt, lacus ac pretium porta, dui dolor varius elit, eget laoreet justo justo vitae metus. Morbi eget nisi ut ex scelerisque lobortis ut in lorem. Vestibulum et lorem quis ipsum feugiat varius. Mauris nec nulla viverra nisi porttitor efficitur. Morbi vel purus eleifend, finibus erat non, placerat ipsum. Mauris et augue vel nisi volutpat aliquam. Curabitur malesuada tortor est, at condimentum neque eleifend in. - -Morbi id ornare lacus. Suspendisse ultrices rutrum posuere. Nullam porttitor libero quis ligula finibus semper. Mauris iaculis magna et nisl tristique, eget maximus ex feugiat. Nam eu felis leo. Quisque ultrices varius purus in molestie. Duis non accumsan ligula. Vivamus dignissim malesuada metus, vel hendrerit tellus viverra id. Curabitur posuere, mauris vitae dignissim dictum, velit mi condimentum lorem, nec varius velit arcu a mi. In dolor sapien, condimentum sed aliquam at, dignissim id purus. Cras lorem leo, vulputate ac ante sed, molestie tempus lectus. Curabitur efficitur libero quam, rhoncus faucibus libero pharetra nec. Curabitur lobortis ullamcorper nisl eu imperdiet. Duis porttitor interdum magna, ac eleifend orci consequat vitae. Aliquam augue felis, faucibus vel blandit sed, maximus non turpis. - -Quisque viverra a eros id auctor. Proin id nibh ut nisl dignissim pellentesque et ac mi. Nullam mattis urna quis consequat bibendum. Donec pretium dui elit, a semper purus tristique et. Mauris euismod nisl eu vehicula facilisis. Maecenas facilisis non massa non scelerisque. Integer malesuada cursus erat eu viverra. Duis ligula mi, eleifend vel justo id, laoreet porttitor ex. Etiam ultricies lacus lorem, sed aliquam nulla blandit in. Maecenas vel facilisis neque, vitae fringilla eros. In justo nibh, pellentesque sed faucibus nec, varius sit amet risus. diff --git a/themes/terminimal/content/learning-javascript.md b/themes/terminimal/content/learning-javascript.md deleted file mode 100644 index 08f6120..0000000 --- a/themes/terminimal/content/learning-javascript.md +++ /dev/null @@ -1,19 +0,0 @@ -+++ -title = "Learning JavaScript" -date = 2019-01-03 - -[taxonomies] -tags = ["javascript"] -+++ - -Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc eu feugiat sapien. Aenean ligula nunc, laoreet id sem in, interdum bibendum felis. Donec vel dui neque. Praesent ac sem ut justo volutpat rutrum a imperdiet tellus. Nam lobortis massa non hendrerit hendrerit. Vivamus porttitor dignissim turpis, eget aliquam urna tincidunt non. Aliquam et fringilla turpis. Nullam eros est, eleifend in ornare sed, hendrerit eget est. Aliquam tellus felis, suscipit vitae ex vel, fringilla tempus massa. Nulla facilisi. Pellentesque lobortis consequat lectus. Maecenas ac libero elit. - -<!-- more --> - -Ut luctus dolor ut tortor hendrerit, sed hendrerit augue scelerisque. Suspendisse quis sodales dui, at tempus ante. Nulla at tempor metus. Aliquam vitae rutrum diam. Curabitur iaculis massa dui, quis varius nulla finibus a. Praesent eu blandit justo. Suspendisse pharetra, arcu in rhoncus rutrum, magna magna viverra erat, eget vestibulum enim tellus id dui. Nunc vel dui et arcu posuere maximus. Mauris quam quam, bibendum sed libero nec, tempus hendrerit arcu. Suspendisse sed gravida orci. Fusce tempor arcu ac est pretium porttitor. Aenean consequat risus venenatis sem aliquam, at sollicitudin nulla semper. Aenean bibendum cursus hendrerit. Nulla congue urna nec finibus bibendum. Donec porta tincidunt ligula non ultricies. - -Sed vulputate tristique elit, eget pharetra elit sodales sed. Proin dignissim ipsum lorem, at porta eros malesuada sed. Proin tristique eros eu quam ornare, suscipit luctus mauris lobortis. Phasellus ut placerat enim. Donec egestas faucibus maximus. Nam quis efficitur eros. Cras tincidunt, lacus ac pretium porta, dui dolor varius elit, eget laoreet justo justo vitae metus. Morbi eget nisi ut ex scelerisque lobortis ut in lorem. Vestibulum et lorem quis ipsum feugiat varius. Mauris nec nulla viverra nisi porttitor efficitur. Morbi vel purus eleifend, finibus erat non, placerat ipsum. Mauris et augue vel nisi volutpat aliquam. Curabitur malesuada tortor est, at condimentum neque eleifend in. - -Morbi id ornare lacus. Suspendisse ultrices rutrum posuere. Nullam porttitor libero quis ligula finibus semper. Mauris iaculis magna et nisl tristique, eget maximus ex feugiat. Nam eu felis leo. Quisque ultrices varius purus in molestie. Duis non accumsan ligula. Vivamus dignissim malesuada metus, vel hendrerit tellus viverra id. Curabitur posuere, mauris vitae dignissim dictum, velit mi condimentum lorem, nec varius velit arcu a mi. In dolor sapien, condimentum sed aliquam at, dignissim id purus. Cras lorem leo, vulputate ac ante sed, molestie tempus lectus. Curabitur efficitur libero quam, rhoncus faucibus libero pharetra nec. Curabitur lobortis ullamcorper nisl eu imperdiet. Duis porttitor interdum magna, ac eleifend orci consequat vitae. Aliquam augue felis, faucibus vel blandit sed, maximus non turpis. - -Quisque viverra a eros id auctor. Proin id nibh ut nisl dignissim pellentesque et ac mi. Nullam mattis urna quis consequat bibendum. Donec pretium dui elit, a semper purus tristique et. Mauris euismod nisl eu vehicula facilisis. Maecenas facilisis non massa non scelerisque. Integer malesuada cursus erat eu viverra. Duis ligula mi, eleifend vel justo id, laoreet porttitor ex. Etiam ultricies lacus lorem, sed aliquam nulla blandit in. Maecenas vel facilisis neque, vitae fringilla eros. In justo nibh, pellentesque sed faucibus nec, varius sit amet risus. diff --git a/themes/terminimal/content/more-ranting.md b/themes/terminimal/content/more-ranting.md deleted file mode 100644 index 115619a..0000000 --- a/themes/terminimal/content/more-ranting.md +++ /dev/null @@ -1,19 +0,0 @@ -+++ -title = "More ranting" -date = 2019-02-03 - -[taxonomies] -tags = ["rant"] -+++ - -Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc eu feugiat sapien. Aenean ligula nunc, laoreet id sem in, interdum bibendum felis. Donec vel dui neque. Praesent ac sem ut justo volutpat rutrum a imperdiet tellus. Nam lobortis massa non hendrerit hendrerit. Vivamus porttitor dignissim turpis, eget aliquam urna tincidunt non. Aliquam et fringilla turpis. Nullam eros est, eleifend in ornare sed, hendrerit eget est. Aliquam tellus felis, suscipit vitae ex vel, fringilla tempus massa. Nulla facilisi. Pellentesque lobortis consequat lectus. Maecenas ac libero elit. - -<!-- more --> - -Ut luctus dolor ut tortor hendrerit, sed hendrerit augue scelerisque. Suspendisse quis sodales dui, at tempus ante. Nulla at tempor metus. Aliquam vitae rutrum diam. Curabitur iaculis massa dui, quis varius nulla finibus a. Praesent eu blandit justo. Suspendisse pharetra, arcu in rhoncus rutrum, magna magna viverra erat, eget vestibulum enim tellus id dui. Nunc vel dui et arcu posuere maximus. Mauris quam quam, bibendum sed libero nec, tempus hendrerit arcu. Suspendisse sed gravida orci. Fusce tempor arcu ac est pretium porttitor. Aenean consequat risus venenatis sem aliquam, at sollicitudin nulla semper. Aenean bibendum cursus hendrerit. Nulla congue urna nec finibus bibendum. Donec porta tincidunt ligula non ultricies. - -Sed vulputate tristique elit, eget pharetra elit sodales sed. Proin dignissim ipsum lorem, at porta eros malesuada sed. Proin tristique eros eu quam ornare, suscipit luctus mauris lobortis. Phasellus ut placerat enim. Donec egestas faucibus maximus. Nam quis efficitur eros. Cras tincidunt, lacus ac pretium porta, dui dolor varius elit, eget laoreet justo justo vitae metus. Morbi eget nisi ut ex scelerisque lobortis ut in lorem. Vestibulum et lorem quis ipsum feugiat varius. Mauris nec nulla viverra nisi porttitor efficitur. Morbi vel purus eleifend, finibus erat non, placerat ipsum. Mauris et augue vel nisi volutpat aliquam. Curabitur malesuada tortor est, at condimentum neque eleifend in. - -Morbi id ornare lacus. Suspendisse ultrices rutrum posuere. Nullam porttitor libero quis ligula finibus semper. Mauris iaculis magna et nisl tristique, eget maximus ex feugiat. Nam eu felis leo. Quisque ultrices varius purus in molestie. Duis non accumsan ligula. Vivamus dignissim malesuada metus, vel hendrerit tellus viverra id. Curabitur posuere, mauris vitae dignissim dictum, velit mi condimentum lorem, nec varius velit arcu a mi. In dolor sapien, condimentum sed aliquam at, dignissim id purus. Cras lorem leo, vulputate ac ante sed, molestie tempus lectus. Curabitur efficitur libero quam, rhoncus faucibus libero pharetra nec. Curabitur lobortis ullamcorper nisl eu imperdiet. Duis porttitor interdum magna, ac eleifend orci consequat vitae. Aliquam augue felis, faucibus vel blandit sed, maximus non turpis. - -Quisque viverra a eros id auctor. Proin id nibh ut nisl dignissim pellentesque et ac mi. Nullam mattis urna quis consequat bibendum. Donec pretium dui elit, a semper purus tristique et. Mauris euismod nisl eu vehicula facilisis. Maecenas facilisis non massa non scelerisque. Integer malesuada cursus erat eu viverra. Duis ligula mi, eleifend vel justo id, laoreet porttitor ex. Etiam ultricies lacus lorem, sed aliquam nulla blandit in. Maecenas vel facilisis neque, vitae fringilla eros. In justo nibh, pellentesque sed faucibus nec, varius sit amet risus. diff --git a/themes/terminimal/content/pages/_index.md b/themes/terminimal/content/pages/_index.md deleted file mode 100644 index 800a244..0000000 --- a/themes/terminimal/content/pages/_index.md +++ /dev/null @@ -1,3 +0,0 @@ -+++ -render = false -+++ diff --git a/themes/terminimal/content/pages/about.md b/themes/terminimal/content/pages/about.md deleted file mode 100644 index 054e57c..0000000 --- a/themes/terminimal/content/pages/about.md +++ /dev/null @@ -1,6 +0,0 @@ -+++ -title = "About Me" -path = "about" -+++ - -Hello, World! diff --git a/themes/terminimal/content/pages/archive.md b/themes/terminimal/content/pages/archive.md deleted file mode 100644 index 2c032c0..0000000 --- a/themes/terminimal/content/pages/archive.md +++ /dev/null @@ -1,5 +0,0 @@ -+++ -title = "Archive" -path = "archive" -template = "archive.html" -+++ diff --git a/themes/terminimal/content/welcome-terminimal-theme.md b/themes/terminimal/content/welcome-terminimal-theme.md deleted file mode 100644 index 32a356e..0000000 --- a/themes/terminimal/content/welcome-terminimal-theme.md +++ /dev/null @@ -1,101 +0,0 @@ -+++ -title = "Welcome to Terminimal Theme for Zola" -date = 2019-02-04 - -[taxonomies] -tags = ["zola", "theme", "showcase"] -+++ - -Welcome to Terminimal! This is a theme showcase post. - -Code block (using "boron" theme): - -```python -#!/usr/bin/python3 - -class HelloPrinter: - def __init__(self, thing): - self.thing = thing - - def __call__(self): - print(f"Hello, {self.thing}!") - - -printer = HelloPrinter("World") -printer() - -# prints: Hello, World! -``` - -Inline code: `print("Hello world!")`. - -Basic typography: - -*Italic text*. **Bold text**. _**Italic bold**_. Link: [click me](#) - -# Header 1 -## Header 2 -### Header 3 -#### Header 4 - -Quote: - -> "Theory is when you know everything but nothing works. -Practice is when everything works but no one knows why. -In our lab, theory and practice are combined: nothing works and no one knows why." - -Lists: - -- A -- B -- CDEF - - Nested Item - - And more nesting - - GHIJ - - -1. One -2. Two -3. Three - -Horizontal line: - ---- - -This is where the post summary ends. - -<!-- more --> - -The second part follows here. - -## Shortcodes - -`figure` shortcode: - -``` -figure(src="http://rustacean.net/assets/rustacean-flat-gesture.png", - style="width: 25%;", - position="center", - caption_position="left", - caption="Ferris, the (unofficial) Rust mascot", - caption_style="font-weight: bold; font-style: italic;") -``` - -{{ figure(src="http://rustacean.net/assets/rustacean-flat-gesture.png", - style="width: 25%;", - position="center", - caption_position="left", - caption="Ferris, the (unofficial) Rust mascot", - caption_style="font-weight: bold; font-style: italic;") }} - ---- - -`image` shortcode: - -``` -image(src="https://upload.wikimedia.org/wikipedia/commons/3/35/Tux.svg", - position="left") -``` - -{{ image(src="https://upload.wikimedia.org/wikipedia/commons/3/35/Tux.svg", - position="left") }} diff --git a/themes/terminimal/content/zola-is-nice.md b/themes/terminimal/content/zola-is-nice.md deleted file mode 100644 index cdbe22b..0000000 --- a/themes/terminimal/content/zola-is-nice.md +++ /dev/null @@ -1,19 +0,0 @@ -+++ -title = "Zola is nice" -date = 2019-02-01 - -[taxonomies] -tags = ["zola", "nice"] -+++ - -Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc eu feugiat sapien. Aenean ligula nunc, laoreet id sem in, interdum bibendum felis. Donec vel dui neque. Praesent ac sem ut justo volutpat rutrum a imperdiet tellus. Nam lobortis massa non hendrerit hendrerit. Vivamus porttitor dignissim turpis, eget aliquam urna tincidunt non. Aliquam et fringilla turpis. Nullam eros est, eleifend in ornare sed, hendrerit eget est. Aliquam tellus felis, suscipit vitae ex vel, fringilla tempus massa. Nulla facilisi. Pellentesque lobortis consequat lectus. Maecenas ac libero elit. - -<!-- more --> - -Ut luctus dolor ut tortor hendrerit, sed hendrerit augue scelerisque. Suspendisse quis sodales dui, at tempus ante. Nulla at tempor metus. Aliquam vitae rutrum diam. Curabitur iaculis massa dui, quis varius nulla finibus a. Praesent eu blandit justo. Suspendisse pharetra, arcu in rhoncus rutrum, magna magna viverra erat, eget vestibulum enim tellus id dui. Nunc vel dui et arcu posuere maximus. Mauris quam quam, bibendum sed libero nec, tempus hendrerit arcu. Suspendisse sed gravida orci. Fusce tempor arcu ac est pretium porttitor. Aenean consequat risus venenatis sem aliquam, at sollicitudin nulla semper. Aenean bibendum cursus hendrerit. Nulla congue urna nec finibus bibendum. Donec porta tincidunt ligula non ultricies. - -Sed vulputate tristique elit, eget pharetra elit sodales sed. Proin dignissim ipsum lorem, at porta eros malesuada sed. Proin tristique eros eu quam ornare, suscipit luctus mauris lobortis. Phasellus ut placerat enim. Donec egestas faucibus maximus. Nam quis efficitur eros. Cras tincidunt, lacus ac pretium porta, dui dolor varius elit, eget laoreet justo justo vitae metus. Morbi eget nisi ut ex scelerisque lobortis ut in lorem. Vestibulum et lorem quis ipsum feugiat varius. Mauris nec nulla viverra nisi porttitor efficitur. Morbi vel purus eleifend, finibus erat non, placerat ipsum. Mauris et augue vel nisi volutpat aliquam. Curabitur malesuada tortor est, at condimentum neque eleifend in. - -Morbi id ornare lacus. Suspendisse ultrices rutrum posuere. Nullam porttitor libero quis ligula finibus semper. Mauris iaculis magna et nisl tristique, eget maximus ex feugiat. Nam eu felis leo. Quisque ultrices varius purus in molestie. Duis non accumsan ligula. Vivamus dignissim malesuada metus, vel hendrerit tellus viverra id. Curabitur posuere, mauris vitae dignissim dictum, velit mi condimentum lorem, nec varius velit arcu a mi. In dolor sapien, condimentum sed aliquam at, dignissim id purus. Cras lorem leo, vulputate ac ante sed, molestie tempus lectus. Curabitur efficitur libero quam, rhoncus faucibus libero pharetra nec. Curabitur lobortis ullamcorper nisl eu imperdiet. Duis porttitor interdum magna, ac eleifend orci consequat vitae. Aliquam augue felis, faucibus vel blandit sed, maximus non turpis. - -Quisque viverra a eros id auctor. Proin id nibh ut nisl dignissim pellentesque et ac mi. Nullam mattis urna quis consequat bibendum. Donec pretium dui elit, a semper purus tristique et. Mauris euismod nisl eu vehicula facilisis. Maecenas facilisis non massa non scelerisque. Integer malesuada cursus erat eu viverra. Duis ligula mi, eleifend vel justo id, laoreet porttitor ex. Etiam ultricies lacus lorem, sed aliquam nulla blandit in. Maecenas vel facilisis neque, vitae fringilla eros. In justo nibh, pellentesque sed faucibus nec, varius sit amet risus. diff --git a/themes/terminimal/sass/buttons.scss b/themes/terminimal/sass/buttons.scss deleted file mode 100644 index 7a864b0..0000000 --- a/themes/terminimal/sass/buttons.scss +++ /dev/null @@ -1,92 +0,0 @@ -.button-container { - display: table; - margin-left: auto; - margin-right: auto; -} - -button, -.button, -a.button { - position: relative; - display: flex; - align-items: center; - justify-content: center; - padding: 8px 18px; - margin-bottom: 5px; - text-align: center; - border-radius: 8px; - border: 1px solid transparent; - appearance: none; - cursor: pointer; - outline: none; - - /* variants */ - - &.outline { - background: transparent; - box-shadow: none; - padding: 8px 18px; - - :hover { - transform: none; - box-shadow: none; - } - } - - &.primary { - box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08); - - &:hover { - box-shadow: 0 2px 6px rgba(50, 50, 93, .21), 0 1px 3px rgba(0, 0, 0, .08); - } - } - - &.link { - background: none; - font-size: 1rem; - } - - - /* sizes */ - - &.small { - font-size: .8rem; - } - - &.wide { - min-width: 200px; - padding: 14px 24px; - } -} - -a.read-more, -a.read-more:hover, -a.read-more:active { - display: inline-flex; - background: none; - box-shadow: none; - padding: 0; - margin: 20px 0; - max-width: 100%; -} - -.code-toolbar { - margin-bottom: 20px; - - .toolbar-item a { - position: relative; - display: inline-flex; - align-items: center; - justify-content: center; - padding: 3px 8px; - margin-bottom: 5px; - text-align: center; - font-size: 13px; - font-weight: 500; - border-radius: 8px; - border: 1px solid transparent; - appearance: none; - cursor: pointer; - outline: none; - } -} diff --git a/themes/terminimal/sass/color/background_dark.scss b/themes/terminimal/sass/color/background_dark.scss deleted file mode 100644 index e2ec037..0000000 --- a/themes/terminimal/sass/color/background_dark.scss +++ /dev/null @@ -1,5 +0,0 @@ -:root { - --background: #131a21; - - --color: #A9B7C6; -} diff --git a/themes/terminimal/sass/color/background_orange.scss b/themes/terminimal/sass/color/background_orange.scss deleted file mode 100644 index ea0ef7d..0000000 --- a/themes/terminimal/sass/color/background_orange.scss +++ /dev/null @@ -1,3 +0,0 @@ -:root { - --background: #222129; -} diff --git a/themes/terminimal/sass/color/orange.scss b/themes/terminimal/sass/color/orange.scss deleted file mode 100644 index 290e6fb..0000000 --- a/themes/terminimal/sass/color/orange.scss +++ /dev/null @@ -1,9 +0,0 @@ -:root { - --accent: rgb(252, 147, 0); - --accent-alpha-70: rgba(255,168,106,.7); - --accent-alpha-20: rgba(255,168,106,.2); - - --background: #222129; - --color: white; - --border-color: rgba(255, 255, 255, .1); -} \ No newline at end of file diff --git a/themes/terminimal/sass/font-hack-subset.scss b/themes/terminimal/sass/font-hack-subset.scss deleted file mode 100644 index 31281aa..0000000 --- a/themes/terminimal/sass/font-hack-subset.scss +++ /dev/null @@ -1,34 +0,0 @@ -/*! - * Hack typeface https://github.com/source-foundry/Hack - * License: https://github.com/source-foundry/Hack/blob/master/LICENSE.md - */ -/* FONT PATHS - * -------------------------- */ -@font-face { - font-family: 'Hack'; - /* Use full version (not a subset) for unicode icon support */ - src: url('fonts/hack-regular.woff2?sha=3114f1256') format('woff2'), url('fonts/hack-regular.woff?sha=3114f1256') format('woff'); - font-weight: 400; - font-style: normal; -} - -@font-face { - font-family: 'Hack'; - src: url('fonts/hack-bold-subset.woff2?sha=3114f1256') format('woff2'), url('fonts/hack-bold-subset.woff?sha=3114f1256') format('woff'); - font-weight: 700; - font-style: normal; -} - -@font-face { - font-family: 'Hack'; - src: url('fonts/hack-italic-subset.woff2?sha=3114f1256') format('woff2'), url('fonts/hack-italic-webfont.woff?sha=3114f1256') format('woff'); - font-weight: 400; - font-style: italic; -} - -@font-face { - font-family: 'Hack'; - src: url('fonts/hack-bolditalic-subset.woff2?sha=3114f1256') format('woff2'), url('fonts/hack-bolditalic-subset.woff?sha=3114f1256') format('woff'); - font-weight: 700; - font-style: italic; -} diff --git a/themes/terminimal/sass/font-hack.scss b/themes/terminimal/sass/font-hack.scss deleted file mode 100644 index fef7588..0000000 --- a/themes/terminimal/sass/font-hack.scss +++ /dev/null @@ -1,33 +0,0 @@ -/*! - * Hack typeface https://github.com/source-foundry/Hack - * License: https://github.com/source-foundry/Hack/blob/master/LICENSE.md - */ -/* FONT PATHS - * -------------------------- */ -@font-face { - font-family: 'Hack'; - src: url('fonts/hack-regular.woff2?sha=3114f1256') format('woff2'), url('fonts/hack-regular.woff?sha=3114f1256') format('woff'); - font-weight: 400; - font-style: normal; -} - -@font-face { - font-family: 'Hack'; - src: url('fonts/hack-bold.woff2?sha=3114f1256') format('woff2'), url('fonts/hack-bold.woff?sha=3114f1256') format('woff'); - font-weight: 700; - font-style: normal; -} - -@font-face { - font-family: 'Hack'; - src: url('fonts/hack-italic.woff2?sha=3114f1256') format('woff2'), url('fonts/hack-italic.woff?sha=3114f1256') format('woff'); - font-weight: 400; - font-style: italic; -} - -@font-face { - font-family: 'Hack'; - src: url('fonts/hack-bolditalic.woff2?sha=3114f1256') format('woff2'), url('fonts/hack-bolditalic.woff?sha=3114f1256') format('woff'); - font-weight: 700; - font-style: italic; -} diff --git a/themes/terminimal/sass/footer.scss b/themes/terminimal/sass/footer.scss deleted file mode 100644 index 21be315..0000000 --- a/themes/terminimal/sass/footer.scss +++ /dev/null @@ -1,64 +0,0 @@ -@import "variables"; - -.footer { - padding: 40px 0; - flex-grow: 0; - opacity: .5; - - &__inner { - display: flex; - align-items: center; - justify-content: space-between; - margin: 0; - width: 760px; - max-width: 100%; - - @media (max-width: $tablet-max-width) { - flex-direction: column; - } - } - - a { - color: inherit; - } - - .copyright { - display: flex; - flex-direction: row; - align-items: center; - font-size: 1rem; - color: var(--light-color-secondary); - - &--user { - margin: auto; - text-align: center; - } - - & > *:first-child:not(:only-child) { - margin-right: 10px; - - @media (max-width: $tablet-max-width) { - border: none; - padding: 0; - margin: 0; - } - } - - @media (max-width: $tablet-max-width) { - flex-direction: column; - margin-top: 10px; - } - } - - .copyright-theme-sep { - @media (max-width: $tablet-max-width) { - display: none; - } - } - - .copyright-theme { - @media (max-width: $tablet-max-width) { - font-size: 0.75rem; - } - } -} diff --git a/themes/terminimal/sass/header.scss b/themes/terminimal/sass/header.scss deleted file mode 100644 index 5779ab2..0000000 --- a/themes/terminimal/sass/header.scss +++ /dev/null @@ -1,78 +0,0 @@ -@import "variables"; - -@mixin menu { - position: absolute; - background: var(--background); - box-shadow: var(--shadow); - color: white; - border: 2px solid; - margin: 0; - padding: 10px; - list-style: none; - z-index: 99; -} - -.header { - display: flex; - flex-direction: column; - position: relative; - - &__inner { - display: flex; - align-items: center; - justify-content: space-between; - } - - .menu { - margin: 20px 0; - - &__inner { - display: flex; - flex-wrap: wrap; - list-style: none; - margin: 0; - padding: 0; - - li { - &.active { - color: var(--accent-alpha-70); - } - - &:not(:last-of-type) { - margin-right: 20px; - margin-bottom: 10px; - flex: 0 0 auto; - } - } - } - - &__sub-inner { - position: relative; - list-style: none; - padding: 0; - margin: 0; - - &:not(:only-child) { - margin-left: 20px; - } - - &-more { - @include menu; - top: 35px; - left: 0; - - &-trigger { - color: var(--accent); - user-select: none; - cursor: pointer; - } - - li { - margin: 0; - padding: 5px; - white-space: nowrap; - } - } - } - } -} diff --git a/themes/terminimal/sass/logo.scss b/themes/terminimal/sass/logo.scss deleted file mode 100644 index d455cc7..0000000 --- a/themes/terminimal/sass/logo.scss +++ /dev/null @@ -1,8 +0,0 @@ -.logo { - display: flex; - align-items: center; - text-decoration: none; - background: var(--accent); - color: black; - padding: 5px 10px; -} diff --git a/themes/terminimal/sass/main.scss b/themes/terminimal/sass/main.scss deleted file mode 100644 index 453bc18..0000000 --- a/themes/terminimal/sass/main.scss +++ /dev/null @@ -1,248 +0,0 @@ -@import "variables"; - -html { - box-sizing: border-box; -} - -*, -*:before, -*:after { - box-sizing: inherit; -} - -body { - margin: 0; - padding: 0; - font-family: Hack, DejaVu Sans Mono, Monaco, Consolas, Ubuntu Mono, monospace; - font-size: 1rem; - line-height: 1.54; - background-color: var(--background); - color: var(--color); - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - -webkit-overflow-scrolling: touch; - -webkit-text-size-adjust: 100%; - - @media (max-width: $phone-max-width) { - font-size: 1rem; - } -} - -h1, h2, h3, h4, h5, h6 { - display: flex; - align-items: center; - font-weight: bold; - line-height: 1.3; -} - -h1 { - font-size: 1.4rem; -} - -h2 { - font-size: 1.3rem; -} - -h3 { - font-size: 1.2rem; -} - -h4, h5, h6 { - font-size: 1.15rem; -} - - -a { - color: inherit; -} - -img { - display: block; - max-width: 100%; - - &.left { - margin-right: auto; - } - - &.center { - margin-left: auto; - margin-right: auto; - } - - &.right { - margin-left: auto; - } -} - -p { - margin-bottom: 20px; -} - -figure { - display: table; - max-width: 100%; - margin: 25px 0; - - &.left, img { - margin-right: auto; - } - - &.center, img { - margin-left: auto; - margin-right: auto; - } - - &.right, img { - margin-left: auto; - } - - figcaption { - font-size: 14px; - padding: 5px 10px; - margin-top: 5px; - background: var(--accent); - color: var(--background); - - &.left { - text-align: left; - } - - &.center { - text-align: center; - } - - &.right { - text-align: right; - } - } -} - -code { - font-family: Hack, DejaVu Sans Mono, Monaco, Consolas, Ubuntu Mono, monospace; - font-feature-settings: normal; - background: var(--accent-alpha-20); - padding: 1px 6px; - margin: 0 2px; - font-size: .95rem; -} - -pre { - font-family: Hack, DejaVu Sans Mono, Monaco, Consolas, Ubuntu Mono, monospace; - padding: 20px; - font-size: .95rem; - overflow: auto; - border-top: 1px solid rgba(255, 255, 255, .1); - border-bottom: 1px solid rgba(255, 255, 255, .1); - - @media (max-width: $phone-max-width) { - white-space: pre-wrap; - word-wrap: break-word; - } - - code { - padding: 0; - margin: 0; - background: none; - } -} - -blockquote { - border-top: 1px solid var(--accent); - border-bottom: 1px solid var(--accent); - margin: 40px 0; - padding: 25px; - - @media (max-width: $phone-max-width) { - padding-right: 0; - } - - &:before { - content: '”'; - font-family: Georgia, serif; - font-size: 3.875rem; - position: absolute; - left: -40px; - top: -20px; - } - - p:first-of-type { - margin-top: 0; - } - - p:last-of-type { - margin-bottom: 0; - } - - p { - position: relative; - } - - p:before { - content: '>'; - display: block; - position: absolute; - left: -25px; - color: var(--accent); - } -} - -table { - table-layout: fixed; - border-collapse: collapse; - width: 100%; - margin: 40px 0; -} - -table, th, td { - border: 1px dashed var(--accent); - padding: 10px; -} - -th { - color: var(--accent); -} - -ul, ol { - margin-left: 30px; - padding: 0; - - li { - position: relative; - } - - @media (max-width: $phone-max-width) { - margin-left: 20px; - } -} - -ol ol { - list-style-type: lower-alpha; -} - -.container { - display: flex; - flex-direction: column; - padding: 40px; - max-width: 864px; - min-height: 100vh; - margin: 0 auto; - - @media (max-width: $phone-max-width) { - padding: 20px; - } -} - -.content { - display: flex; -} - -hr { - width: 100%; - border: none; - background: var(--border-color); - height: 1px; -} - -.hidden { - display: none; -} diff --git a/themes/terminimal/sass/pagination.scss b/themes/terminimal/sass/pagination.scss deleted file mode 100644 index 566005b..0000000 --- a/themes/terminimal/sass/pagination.scss +++ /dev/null @@ -1,77 +0,0 @@ -@import 'variables'; - -.pagination { - margin-top: 50px; - - &__title { - display: flex; - text-align: center; - position: relative; - margin: 100px 0 20px; - - &-h { - text-align: center; - margin: 0 auto; - padding: 5px 10px; - background: var(--background); - font-size: .8rem; - text-transform: uppercase; - letter-spacing: .1em; - z-index: 1; - } - - hr { - position: absolute; - left: 0; - right: 0; - width: 100%; - margin-top: 15px; - z-index: 0; - } - } - - &__buttons { - display: flex; - align-items: center; - justify-content: center; - - @media (max-width: $phone-max-width) { - flex-direction: column; - } - } -} - -.button { - position: relative; - display: inline-flex; - align-items: center; - justify-content: center; - font-size: 1rem; - border-radius: 8px; - max-width: 40%; - padding: 0; - cursor: pointer; - appearance: none; - - @media (max-width: $phone-max-width) { - max-width: 80%; - } - - + .button { - margin-left: 10px; - } - - a { - display: flex; - padding: 8px 16px; - text-overflow: ellipsis; - white-space: nowrap; - overflow: hidden; - } - - &__text { - text-overflow: ellipsis; - white-space: nowrap; - overflow: hidden; - } -} diff --git a/themes/terminimal/sass/post.scss b/themes/terminimal/sass/post.scss deleted file mode 100644 index 8b0e1a9..0000000 --- a/themes/terminimal/sass/post.scss +++ /dev/null @@ -1,135 +0,0 @@ -@import "variables"; - -.posts { - width: 100%; - margin: 0 auto; -} - -.post { - width: 100%; - text-align: left; - margin: 20px auto; - padding: 20px 0; - - @media (max-width: $tablet-max-width) { - max-width: 660px; - } - - &:not(:last-of-type) { - border-bottom: 1px solid var(--border-color); - } - - %meta { - font-size: 1rem; - margin-bottom: 10px; - color: var(--accent-alpha-70); - } - - &-meta { - @extend %meta; - } - - &-meta-inline { - @extend %meta; - - display: inline; - } - - &-title { - --border: 2px dashed var(--accent); - position: relative; - color: var(--accent); - margin: 0 0 15px; - padding-bottom: 15px; - border-bottom: var(--border); - font-weight: normal; - - a { - text-decoration: none; - } - } - - %tags { - margin-bottom: 20px; - font-size: 1rem; - opacity: .5; - } - - &-tags { - @extend %tags; - - display: block; - } - - &-tags-inline { - @extend %tags; - - display: inline; - - @media (max-width: $phone-max-width) { - display: block; - } - } - - &-content { - margin-top: 30px; - } - - &-cover { - border: 20px solid var(--accent); - background: transparent; - margin: 40px 0; - padding: 20px; - - @media (max-width: $phone-max-width) { - padding: 10px; - border-width: 10px; - } - } - - ul { - list-style: none; - - li:before { - content: '►'; - position: absolute; - left: -20px; - color: var(--accent); - } - } -} - -.post--regulation { - h1 { - justify-content: center; - } - - h2 { - justify-content: center; - margin-bottom: 10px; - - &+ h2 { - margin-top: -10px; - margin-bottom: 20px; - } - } -} - -.post-list { - .post-date { - color: var(--accent-alpha-70); - text-decoration: none; - } - - a { - text-decoration: none; - } - - .post-list-title { - text-decoration: underline; - } - - .post-tag { - text-decoration: underline; - } -} diff --git a/themes/terminimal/sass/style.scss b/themes/terminimal/sass/style.scss deleted file mode 100644 index 3a289d7..0000000 --- a/themes/terminimal/sass/style.scss +++ /dev/null @@ -1,8 +0,0 @@ -@import 'buttons'; - -@import 'header'; -@import 'logo'; -@import 'main'; -@import 'post'; -@import 'pagination'; -@import 'footer'; diff --git a/themes/terminimal/sass/variables.scss b/themes/terminimal/sass/variables.scss deleted file mode 100644 index 3b95a9c..0000000 --- a/themes/terminimal/sass/variables.scss +++ /dev/null @@ -1,2 +0,0 @@ -$phone-max-width: 683px; -$tablet-max-width: 899px; diff --git a/themes/terminimal/static/fonts/hack-bold-subset.woff b/themes/terminimal/static/fonts/hack-bold-subset.woff deleted file mode 100644 index a47c8aa..0000000 Binary files a/themes/terminimal/static/fonts/hack-bold-subset.woff and /dev/null differ diff --git a/themes/terminimal/static/fonts/hack-bold-subset.woff2 b/themes/terminimal/static/fonts/hack-bold-subset.woff2 deleted file mode 100644 index 93d425e..0000000 Binary files a/themes/terminimal/static/fonts/hack-bold-subset.woff2 and /dev/null differ diff --git a/themes/terminimal/static/fonts/hack-bold.woff b/themes/terminimal/static/fonts/hack-bold.woff deleted file mode 100644 index 368b913..0000000 Binary files a/themes/terminimal/static/fonts/hack-bold.woff and /dev/null differ diff --git a/themes/terminimal/static/fonts/hack-bold.woff2 b/themes/terminimal/static/fonts/hack-bold.woff2 deleted file mode 100644 index 1155477..0000000 Binary files a/themes/terminimal/static/fonts/hack-bold.woff2 and /dev/null differ diff --git a/themes/terminimal/static/fonts/hack-bolditalic-subset.woff b/themes/terminimal/static/fonts/hack-bolditalic-subset.woff deleted file mode 100644 index 0da4750..0000000 Binary files a/themes/terminimal/static/fonts/hack-bolditalic-subset.woff and /dev/null differ diff --git a/themes/terminimal/static/fonts/hack-bolditalic-subset.woff2 b/themes/terminimal/static/fonts/hack-bolditalic-subset.woff2 deleted file mode 100644 index 236b7de..0000000 Binary files a/themes/terminimal/static/fonts/hack-bolditalic-subset.woff2 and /dev/null differ diff --git a/themes/terminimal/static/fonts/hack-bolditalic.woff b/themes/terminimal/static/fonts/hack-bolditalic.woff deleted file mode 100644 index ce87fe2..0000000 Binary files a/themes/terminimal/static/fonts/hack-bolditalic.woff and /dev/null differ diff --git a/themes/terminimal/static/fonts/hack-bolditalic.woff2 b/themes/terminimal/static/fonts/hack-bolditalic.woff2 deleted file mode 100644 index 46ff1c4..0000000 Binary files a/themes/terminimal/static/fonts/hack-bolditalic.woff2 and /dev/null differ diff --git a/themes/terminimal/static/fonts/hack-italic-subset.woff b/themes/terminimal/static/fonts/hack-italic-subset.woff deleted file mode 100644 index 1d1f511..0000000 Binary files a/themes/terminimal/static/fonts/hack-italic-subset.woff and /dev/null differ diff --git a/themes/terminimal/static/fonts/hack-italic-subset.woff2 b/themes/terminimal/static/fonts/hack-italic-subset.woff2 deleted file mode 100644 index b6f5fc9..0000000 Binary files a/themes/terminimal/static/fonts/hack-italic-subset.woff2 and /dev/null differ diff --git a/themes/terminimal/static/fonts/hack-italic.woff b/themes/terminimal/static/fonts/hack-italic.woff deleted file mode 100644 index bd545e4..0000000 Binary files a/themes/terminimal/static/fonts/hack-italic.woff and /dev/null differ diff --git a/themes/terminimal/static/fonts/hack-italic.woff2 b/themes/terminimal/static/fonts/hack-italic.woff2 deleted file mode 100644 index 1e7630c..0000000 Binary files a/themes/terminimal/static/fonts/hack-italic.woff2 and /dev/null differ diff --git a/themes/terminimal/static/fonts/hack-regular-subset.woff b/themes/terminimal/static/fonts/hack-regular-subset.woff deleted file mode 100644 index 85583a5..0000000 Binary files a/themes/terminimal/static/fonts/hack-regular-subset.woff and /dev/null differ diff --git a/themes/terminimal/static/fonts/hack-regular-subset.woff2 b/themes/terminimal/static/fonts/hack-regular-subset.woff2 deleted file mode 100644 index 1e3abb9..0000000 Binary files a/themes/terminimal/static/fonts/hack-regular-subset.woff2 and /dev/null differ diff --git a/themes/terminimal/static/fonts/hack-regular.woff b/themes/terminimal/static/fonts/hack-regular.woff deleted file mode 100644 index e835381..0000000 Binary files a/themes/terminimal/static/fonts/hack-regular.woff and /dev/null differ diff --git a/themes/terminimal/static/fonts/hack-regular.woff2 b/themes/terminimal/static/fonts/hack-regular.woff2 deleted file mode 100644 index 524465c..0000000 Binary files a/themes/terminimal/static/fonts/hack-regular.woff2 and /dev/null differ diff --git a/themes/terminimal/templates/404.html b/themes/terminimal/templates/404.html deleted file mode 100644 index b081fbc..0000000 --- a/themes/terminimal/templates/404.html +++ /dev/null @@ -1,16 +0,0 @@ -{% extends "index.html" %} - -{% block title %} -404 -{% endblock title %} - -{% block header_menu %} -{{ menu_macros::menu_for(config=config, current_item="") }} -{% endblock header_menu %} - -{% block content %} -<div class="post"> - <h1 class="post-title">{% block heading %}Lost?{% endblock heading %}</h1> - <p>{% block message %}This page does not exist.{% endblock message %}</p> -</div> -{% endblock content %} diff --git a/themes/terminimal/templates/archive.html b/themes/terminimal/templates/archive.html deleted file mode 100644 index af9df6e..0000000 --- a/themes/terminimal/templates/archive.html +++ /dev/null @@ -1,15 +0,0 @@ -{% extends "index.html" %} - -{%- block title -%} -{{ title_macros::title(page_title=page.title, main_title=config.title) }} -{%- endblock -%} - -{% block content %} - <div class="post"> - <h1 class="post-title">{{ page.title }}</h1> - - {% set section = get_section(path="_index.md") %} - - {{ post_macros::list_posts(pages=section.pages) }} - </div> -{% endblock content %} diff --git a/themes/terminimal/templates/blog_index.html b/themes/terminimal/templates/blog_index.html deleted file mode 100644 index 272db3d..0000000 --- a/themes/terminimal/templates/blog_index.html +++ /dev/null @@ -1,128 +0,0 @@ -{% import "macros/date.html" as date_macros -%} -{% import "macros/head.html" as head_macros -%} -{% import "macros/menu.html" as menu_macros -%} -{% import "macros/post.html" as post_macros -%} -{% import "macros/title.html" as title_macros -%} - -<!DOCTYPE html> -<html lang="{%- if config.default_language -%}{{ config.default_language }}{%- else -%}en{%- endif -%}"> -<head> - <title>{% block title -%}{{ section.title | default(value=config.title) }}{%- endblock title %} - {{ head_macros::head(config=config) }} - - {%- if config.generate_feed %} - - {% endif -%} - - {%- if config.extra.favicon %} - - {% endif -%} - - {%- block extra_head %} - - {% endblock extra_head -%} - - - -
- {% block header %} -
-
- -
- - {% block header_menu %} - {{ menu_macros::menu(config=config, current_path=current_path) }} - {% endblock header_menu %} -
- {% endblock header %} - -
- {% block content %} -
-
-

{{ section.title | default(value="Blog") }}

- {% if section.description %}

{{ section.description }}

{% endif %} -
- - {% if paginator %} - {% set items = paginator.pages %} - {% else %} - {% set items = section.pages | sort(attribute="date") | reverse %} - {% endif %} - -
    - {% for p in items %} - {% if not p.draft %} -
  • - {{ p.title }} - {% if p.date %} - · - - {% endif %} -
  • - {% endif %} - {% endfor %} -
- - {% if paginator %} - - {% endif %} -
- {% endblock content %} -
- - {% block footer %} - - {% endblock footer %} -
- -{%- block extra_body %}{% endblock extra_body -%} - - diff --git a/themes/terminimal/templates/index.html b/themes/terminimal/templates/index.html deleted file mode 100644 index 82c3958..0000000 --- a/themes/terminimal/templates/index.html +++ /dev/null @@ -1,96 +0,0 @@ -{% import "macros/date.html" as date_macros -%} -{% import "macros/head.html" as head_macros -%} -{% import "macros/menu.html" as menu_macros -%} -{% import "macros/post.html" as post_macros -%} -{% import "macros/title.html" as title_macros -%} - - - - - - {%- block title %}{{ config.title }}{% endblock title -%} - {{ head_macros::head(config=config) }} - - {%- if config.generate_feed %} - - {% endif -%} - - {%- if config.extra.favicon %} - - {% endif -%} - - {%- block extra_head %} - {% endblock extra_head -%} - - - -
- {% block header %} -
-
- -
- - {% block header_menu %} - {{ menu_macros::menu(config=config, current_path=current_path) }} - {% endblock header_menu %} -
- {% endblock header %} - -
- {% block content %} -
- Hi! :) You have reached the root endpoint of the posixlycorrect server, - my home server. -
- {% endblock content %} -
- - {% block footer %} - - {% endblock footer %} - -
-{%- block extra_body %} -{% endblock extra_body -%} - - - diff --git a/themes/terminimal/templates/macros/date.html b/themes/terminimal/templates/macros/date.html deleted file mode 100644 index e793735..0000000 --- a/themes/terminimal/templates/macros/date.html +++ /dev/null @@ -1,3 +0,0 @@ -{% macro now_year() %} - {{ now() | date(format="%Y") }} -{% endmacro %} diff --git a/themes/terminimal/templates/macros/head.html b/themes/terminimal/templates/macros/head.html deleted file mode 100644 index 187c57c..0000000 --- a/themes/terminimal/templates/macros/head.html +++ /dev/null @@ -1,26 +0,0 @@ -{% macro head(config) %} - - - - - - -{%- if config.extra.accent_color %} - -{% else %} - -{% endif -%} - -{%- if config.extra.background_color %} - {%- if config.extra.accent_color and config.extra.background_color != config.extra.accent_color %} - - {% endif -%} -{% endif -%} - -{%- if config.extra.use_full_hack_font %} - -{% else %} - -{% endif -%} - -{% endmacro head %} diff --git a/themes/terminimal/templates/macros/menu.html b/themes/terminimal/templates/macros/menu.html deleted file mode 100644 index 090388f..0000000 --- a/themes/terminimal/templates/macros/menu.html +++ /dev/null @@ -1,52 +0,0 @@ -{% macro menu(config, current_path) %} - {%- set current_item = false -%} - {%- if config.extra.menu_items %} - {%- set menu_items = config.extra.menu_items -%} - - {%- for item in menu_items %} - {%- set abs_item_url = item.url | replace(from="$BASE_URL", to=config.base_url) -%} - {%- set is_current = current_url == abs_item_url ~ "/" - or current_url is starting_with(abs_item_url) - -%} - {%- set is_base = abs_item_url == config.base_url - or abs_item_url == config.base_url ~ "/" - -%} - - {%- if is_base %} - {%- set_global base_item = item -%} - {% endif -%} - - {%- if is_current and not is_base %} - {%- set_global current_item = item -%} - {% endif -%} - {% endfor -%} - - {%- if not current_item and base_item %} - {# Did not match any menu URLs -- assume it's a blog post #} - {%- set current_item = base_item -%} - {% endif -%} - - {{ menu_macros::menu_for(config=config, current_item=current_item) }} - {% endif -%} -{% endmacro menu %} - -{% macro menu_for(config, current_item) %} - {%- if config.extra.menu_items %} - {%- set menu_items = config.extra.menu_items -%} - - - {% endif -%} -{% endmacro menu %} - diff --git a/themes/terminimal/templates/macros/post.html b/themes/terminimal/templates/macros/post.html deleted file mode 100644 index 799ab2b..0000000 --- a/themes/terminimal/templates/macros/post.html +++ /dev/null @@ -1,103 +0,0 @@ -{% macro content(page, summary) %} - {%- if summary and page.summary %} -
- {{ page.summary | safe }} -
-
- - - Read more  - ↩︎ - -
- {% else %} -
- {{ page.content | safe }} -
- {%- endif %} -{% endmacro content %} - - -{% macro date(page) %} - - {%- if page.date %} - {{ page.date | date(format="%Y-%m-%d") }} - {% endif -%} - -{% endmacro post_date %} - - -{% macro earlier_later(page) %} - {%- if config.extra.enable_post_view_navigation and page.lower or page.higher %} - - {% endif -%} -{% endmacro earlier_later %} - - -{% macro header(page) %} -

{{ page.title }}

-
- {{ post_macros::date(page=page) }} -
- - {{ post_macros::tags(page=page) }} -{% endmacro header %} - - -{% macro list_posts(pages) %} - -{% endmacro list_posts %} - - -{% macro tags(page, short=false) %} - {%- if page.taxonomies and page.taxonomies.tags %} - - {%- if short %} - :: - {%- set sep = "," -%} - {% else %} - :: tags:  - {%- set sep = " " -%} - {% endif -%} - {%- for tag in page.taxonomies.tags | sort | unique(case_sensitive=false) %} - #{{ tag }} - {%- if not loop.last %}{{ sep | safe }}{% endif -%} - {% endfor -%} - - {% endif -%} -{% endmacro tags %} diff --git a/themes/terminimal/templates/macros/title.html b/themes/terminimal/templates/macros/title.html deleted file mode 100644 index 56472f9..0000000 --- a/themes/terminimal/templates/macros/title.html +++ /dev/null @@ -1,17 +0,0 @@ -{% macro title(page_title, main_title) %} - {%- if config.extra.page_titles == "combined" -%} - {%- if page_title -%} - [{{ main_title }}/{{ page_title }}] - {%- else -%} - [{{ main_title }}] - {%- endif -%} - {%- elif config.extra.page_titles == "page_only" -%} - {%- if page_title -%} - {{ page_title }} - {%- else -%} - [{{ main_title }}] - {%- endif -%} - {%- else -%} - [{{ main_title }}] - {%- endif -%} -{% endmacro title %} diff --git a/themes/terminimal/templates/page.html b/themes/terminimal/templates/page.html deleted file mode 100644 index f59d965..0000000 --- a/themes/terminimal/templates/page.html +++ /dev/null @@ -1,13 +0,0 @@ -{% extends "index.html" %} - -{%- block title -%} -{{ title_macros::title(page_title=page.title, main_title=config.title) }} -{%- endblock -%} - -{% block content %} -
- {{ post_macros::header(page=page) }} - {{ post_macros::content(page=page, summary=false) }} - {{ post_macros::earlier_later(page=page) }} -
-{% endblock content %} diff --git a/themes/terminimal/templates/shortcodes/figure.html b/themes/terminimal/templates/shortcodes/figure.html deleted file mode 100644 index b9de271..0000000 --- a/themes/terminimal/templates/shortcodes/figure.html +++ /dev/null @@ -1,8 +0,0 @@ -{% if src %} -
- - {% if caption %} -
{{ caption }}
- {% endif %} -
-{% endif %} diff --git a/themes/terminimal/templates/shortcodes/image.html b/themes/terminimal/templates/shortcodes/image.html deleted file mode 100644 index 091eeb8..0000000 --- a/themes/terminimal/templates/shortcodes/image.html +++ /dev/null @@ -1,8 +0,0 @@ -{% if src %} - {# If the image's URL is internal to the site... #} - {% if src is not starting_with("http") %} - {# ... then prepend the site's base URL to the image's URL. #} - {% set src = config.base_url ~ src %} - {% endif %} - -{% endif %} diff --git a/themes/terminimal/templates/tags/list.html b/themes/terminimal/templates/tags/list.html deleted file mode 100644 index 98cd693..0000000 --- a/themes/terminimal/templates/tags/list.html +++ /dev/null @@ -1,21 +0,0 @@ -{% extends "index.html" %} - -{%- block title -%} -{{ title_macros::title(page_title="Tags", main_title=config.title) }} -{%- endblock -%} - -{% block content %} -
-

all tags

- - -
-{% endblock content %} diff --git a/themes/terminimal/templates/tags/single.html b/themes/terminimal/templates/tags/single.html deleted file mode 100644 index 92183b6..0000000 --- a/themes/terminimal/templates/tags/single.html +++ /dev/null @@ -1,21 +0,0 @@ -{% extends "index.html" %} - -{%- block title -%} -{% set title = "Tag: " ~ term.name %} -{{ title_macros::title(page_title=title, main_title=config.title) }} -{%- endblock -%} - -{% block content %} -
-

- tag: #{{ term.name }} - ({{ term.pages | length }} post{{ term.pages | length | pluralize }}) -

- - - Show all tags - - - {{ post_macros::list_posts(pages=term.pages) }} -
-{% endblock content %} diff --git a/themes/terminimal/theme.toml b/themes/terminimal/theme.toml deleted file mode 100644 index 5bcbdb0..0000000 --- a/themes/terminimal/theme.toml +++ /dev/null @@ -1,45 +0,0 @@ -name = "terminimal" -description = "A simple, minimal retro theme" -license = "MIT" -homepage = "https://github.com/pawroman/zola-theme-terminimal" -min_version = "0.11.0" - -# An optional live demo URL -demo = "https://pawroman.github.io/zola-theme-terminimal/" - -[author] -name = "Paweł Romanowski" -homepage = "https://github.com/pawroman" - -# The original theme this one's been forked off. -[original] -author = "Radosław Kozieł" -homepage = "https://radoslawkoziel.pl/" -repo = "https://github.com/panr/hugo-theme-terminal" - -[extra] - -# One of: blue, green, orange, pink, red. -accent_color = "blue" - -# One of: blue, dark, green, orange, pink, red. -# Enabling dark background will also modify primary font color -# to be darker. -# Defaults to accent color (or, if not accent color specified, to blue). -background_color = "blue" - -# The logo text - defaults to 2 non-breaking spaces. -logo_text = "Terminimal theme" - -# Whether to show links to earlier and later posts -# on each post page. -enable_post_view_navigation = true - -# The text shown at the bottom of a post, -# before earlier/later post links. -post_view_navigation_prompt = "Thanks for reading! Read other posts?" - -# Use full Hack character set, not just a subset. -# Switch this to true if you need full unicode support. -# Defaults to false. -use_full_hack_font = false