Custom Solarized Theme #1
|
@ -3,7 +3,7 @@ Vertical Bars In Graphite
|
||||||
:date: 2012-02-08 15:10
|
:date: 2012-02-08 15:10
|
||||||
:author: tyrel
|
:author: tyrel
|
||||||
:category: Tech
|
:category: Tech
|
||||||
:tags: graphite, txStatsD
|
:tags: graphite, statsd
|
||||||
:slug: vertical-bars-in-graphite
|
:slug: vertical-bars-in-graphite
|
||||||
:status: published
|
:status: published
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@ CFEngine3 Install on CentOS 5.7
|
||||||
###############################
|
###############################
|
||||||
:date: 2012-05-25 03:57
|
:date: 2012-05-25 03:57
|
||||||
:author: tyrel
|
:author: tyrel
|
||||||
:category: outdated
|
:category: Outdated
|
||||||
:tags: cfengine, centos
|
:tags: cfengine, centos
|
||||||
:slug: cfengine3-install-on-centos-5-7
|
:slug: cfengine3-install-on-centos-5-7
|
||||||
:status: published
|
:status: published
|
||||||
|
|
|
@ -2,8 +2,8 @@ Garage Door Opener
|
||||||
##################
|
##################
|
||||||
:date: 2022-01-09 22:46
|
:date: 2022-01-09 22:46
|
||||||
:author: tyrel
|
:author: tyrel
|
||||||
:category: Tech,
|
:category: Tech
|
||||||
:tags: HomeAssistant, home
|
:tags: home-assistant, home
|
||||||
:slug: garage-door-opener
|
:slug: garage-door-opener
|
||||||
:status: published
|
:status: published
|
||||||
|
|
||||||
|
|
|
@ -2,16 +2,18 @@ from pathlib import Path
|
||||||
|
|
||||||
pwd = Path.cwd()
|
pwd = Path.cwd()
|
||||||
AUTHOR = 'Tyrel Souza'
|
AUTHOR = 'Tyrel Souza'
|
||||||
SITENAME = "Tyrel Souza's Blog"
|
SITENAME = "Tyrel's Blog"
|
||||||
TWITTER_USERNAME = 'tyrelsouza'
|
TWITTER_USERNAME = 'tyrelsouza'
|
||||||
SITEURL = ''
|
SITEURL = ''
|
||||||
SITESUBTITLE = 'Code, Tech, Home Automation, Personal Blog'
|
SITESUBTITLE = 'Code, Tech, Automation'
|
||||||
|
|
||||||
|
SITEBASE = ""
|
||||||
|
|
||||||
|
|
||||||
MENUITEMS = [
|
MENUITEMS = [
|
||||||
('Home', '/blog/'),
|
('Home', f'{SITEBASE}/'),
|
||||||
('Tags', '/blog/tags.html'),
|
('Tags', f'{SITEBASE}/tags.html'),
|
||||||
('Categories', '/blog/categories.html'),
|
('Categories', f'{SITEBASE}/categories.html'),
|
||||||
]
|
]
|
||||||
LINKS = (
|
LINKS = (
|
||||||
('Code', 'https://gitea.tyrel.dev/'),
|
('Code', 'https://gitea.tyrel.dev/'),
|
||||||
|
@ -40,10 +42,15 @@ TRANSLATION_FEED_ATOM = None
|
||||||
AUTHOR_FEED_ATOM = None
|
AUTHOR_FEED_ATOM = None
|
||||||
AUTHOR_FEED_RSS = None
|
AUTHOR_FEED_RSS = None
|
||||||
|
|
||||||
|
FEED_ATOM = 'tyrel-dev.atom.xml'
|
||||||
|
FEED_RSS = 'tyrel-dev.rss'
|
||||||
|
FEED_ALL_ATOM = 'tyrel-dev.all.xml'
|
||||||
|
FEED_ALL_RSS = 'tyrel-dev.all.rss'
|
||||||
|
|
||||||
PLUGINS = [ ]
|
|
||||||
|
|
||||||
DEFAULT_PAGINATION = 10
|
PLUGINS = ["webassets"]
|
||||||
|
|
||||||
|
DEFAULT_PAGINATION = False
|
||||||
DISPLAY_CATEGORIES_ON_MENU = False
|
DISPLAY_CATEGORIES_ON_MENU = False
|
||||||
DELETE_OUTPUT_DIRECTORY = True
|
DELETE_OUTPUT_DIRECTORY = True
|
||||||
|
|
||||||
|
@ -65,4 +72,4 @@ DEFAULT_METADATA = {
|
||||||
'extras/favicon.ico': {'path': 'favicon.ico'},
|
'extras/favicon.ico': {'path': 'favicon.ico'},
|
||||||
}
|
}
|
||||||
|
|
||||||
THEME = "./themes/custom"
|
THEME = "./themes/simple"
|
||||||
|
|
|
@ -5,6 +5,7 @@ import os
|
||||||
import sys
|
import sys
|
||||||
sys.path.append(os.curdir)
|
sys.path.append(os.curdir)
|
||||||
from pelicanconf import *
|
from pelicanconf import *
|
||||||
|
SITEBASE = "/blog"
|
||||||
|
|
||||||
# If your site is available via HTTPS, make sure SITEURL begins with https://
|
# If your site is available via HTTPS, make sure SITEURL begins with https://
|
||||||
SITEURL = 'https://tyrel.dev/blog'
|
SITEURL = 'https://tyrel.dev/blog'
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
@import url("reset.css");
|
@import url("reset.css");
|
||||||
|
@import url("pygment.css");
|
||||||
|
|
||||||
body {
|
body {
|
||||||
font-size: 87.5%; /* Base font size: 14px */
|
font-family: 'Lato', 'Trebuchet MS', Trebuchet, 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
|
||||||
font-family: 'Trebuchet MS', Trebuchet, 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
|
|
||||||
line-height: 1.429;
|
line-height: 1.429;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
@ -12,6 +12,7 @@ body {
|
||||||
p {
|
p {
|
||||||
color: rgb(131, 148, 150);
|
color: rgb(131, 148, 150);
|
||||||
margin: 0 10 0 10;
|
margin: 0 10 0 10;
|
||||||
|
padding-left: 0.75rem;
|
||||||
line-height: 1.2rem;
|
line-height: 1.2rem;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
text-align: left
|
text-align: left
|
||||||
|
@ -27,16 +28,25 @@ p {
|
||||||
}
|
}
|
||||||
|
|
||||||
.literal-block {
|
.literal-block {
|
||||||
width: 100%;
|
width: 95%;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
-moz-border-radius: 5px;
|
-moz-border-radius: 5px;
|
||||||
-webkit-border-radius: 5px;
|
-webkit-border-radius: 5px;
|
||||||
|
background-color: #eee8d5;
|
||||||
border: 1px solid #BCBEC0;
|
border: 1px solid #BCBEC0;
|
||||||
padding: 0.5rem;
|
padding: 0.5rem;
|
||||||
margin: 0.75rem;
|
margin: 0.75rem;
|
||||||
font:12px Monaco,Consolas,"Andale Mono","DejaVu Sans Mono",monospace
|
font:12px Monaco,Consolas,"Andale Mono","DejaVu Sans Mono",monospace
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
article h2 {
|
||||||
|
line-height: 2rem;
|
||||||
|
}
|
||||||
|
article ul {
|
||||||
|
margin-left: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
.caps {font-size:.92em;}
|
.caps {font-size:.92em;}
|
||||||
.amp {color:#666; font-size:1.05em;font-family:"Warnock Pro", "Goudy Old Style","Palatino","Book Antiqua",serif; font-style:italic;}
|
.amp {color:#666; font-size:1.05em;font-family:"Warnock Pro", "Goudy Old Style","Palatino","Book Antiqua",serif; font-style:italic;}
|
||||||
.dquo {margin-left:-.38em;}
|
.dquo {margin-left:-.38em;}
|
||||||
|
@ -52,6 +62,7 @@ p {
|
||||||
|
|
||||||
}
|
}
|
||||||
.right-panel-content img {
|
.right-panel-content img {
|
||||||
|
margin: 1rem;
|
||||||
max-width: 50rem;
|
max-width: 50rem;
|
||||||
}
|
}
|
||||||
.left-panel {
|
.left-panel {
|
||||||
|
@ -71,7 +82,7 @@ p {
|
||||||
font-size: 1.25rem;
|
font-size: 1.25rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
hr.article-split {
|
hr {
|
||||||
border: 2px dotted #b58900;;
|
border: 2px dotted #b58900;;
|
||||||
border-style: none none dashed;
|
border-style: none none dashed;
|
||||||
}
|
}
|
||||||
|
@ -83,3 +94,20 @@ hr.article-split {
|
||||||
hr.end {
|
hr.end {
|
||||||
padding-top: 1rem;
|
padding-top: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.indent {
|
||||||
|
font-size: 0.6rem;
|
||||||
|
margin-left: 5.1rem;
|
||||||
|
/*border-bottom: 2px dotted #b58900;*/
|
||||||
|
}
|
||||||
|
|
||||||
|
h3.entry-title{
|
||||||
|
border-bottom: 1px dotted #b58900;
|
||||||
|
padding-bottom: 0.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.permalink {
|
||||||
|
float:right;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:link.permalink { text-decoration: none; }
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h1>Archives for {{ SITENAME }}</h1>
|
<h1>Archives for {{ SITENAME }}</h1>
|
||||||
|
<hr class="article-split">
|
||||||
|
|
||||||
<dl>
|
<dl>
|
||||||
{% for article in dates %}
|
{% for article in dates %}
|
||||||
|
|
|
@ -24,14 +24,15 @@
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<header>
|
<header>
|
||||||
<h1 class="entry-title">
|
<h1 class="entry-title">
|
||||||
<a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark"
|
{{ article.title }}
|
||||||
title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h1>
|
</h1>
|
||||||
{% import 'translations.html' as translations with context %}
|
{% import 'translations.html' as translations with context %}
|
||||||
{{ translations.translations_for(article) }}
|
{{ translations.translations_for(article) }}
|
||||||
|
<hr class="article-split">
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<footer class="post-info">
|
<footer class="post-info">
|
||||||
<hr class="article-split">
|
<a class="permalink" href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}"> 🔗 </a>
|
||||||
<time class="published" datetime="{{ article.date.isoformat() }}">
|
<time class="published" datetime="{{ article.date.isoformat() }}">
|
||||||
<h3>{{ article.locale_date }}</h3>
|
<h3>{{ article.locale_date }}</h3>
|
||||||
</time>
|
</time>
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h1>Categories on {{ SITENAME }}</h1>
|
<h1>Categories on {{ SITENAME }}</h1>
|
||||||
|
<hr class="article-split">
|
||||||
<ul>
|
<ul>
|
||||||
{% for category, articles in categories|sort %}
|
{% for category, articles in categories|sort %}
|
||||||
<li><a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a> ({{ articles|count }})</li>
|
<li><a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a> ({{ articles|count }})</li>
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
{% block title %}{{ SITENAME }} - {{ category }} category{% endblock %}
|
{% block title %}{{ SITENAME }} - {{ category }} category{% endblock %}
|
||||||
|
|
||||||
{% block content_title %}
|
{% block content_title %}
|
||||||
<h1>Articles in the {{ category }} category</h1>
|
<h1>Articles in the {{ category }} category</h1>
|
||||||
|
<hr class="article-split">
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
<section id="content">
|
<section id="content">
|
||||||
{% block content_title %}
|
{% block content_title %}
|
||||||
<h1>All articles</h1>
|
<h1>All articles</h1>
|
||||||
|
<hr class="article-split">
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
<ul id="post-list">
|
<ul id="post-list">
|
||||||
|
@ -11,8 +12,17 @@
|
||||||
<article class="hentry">
|
<article class="hentry">
|
||||||
<header>
|
<header>
|
||||||
<h3 class="entry-title">
|
<h3 class="entry-title">
|
||||||
|
<div>
|
||||||
<span class="small"><time class="published" datetime="{{ article.date.isoformat() }}"> {{ article.date.isoformat().split("T")[0] }} </time></span>
|
<span class="small"><time class="published" datetime="{{ article.date.isoformat() }}"> {{ article.date.isoformat().split("T")[0] }} </time></span>
|
||||||
<span class="article-list-title"><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></span>
|
<span class="article-list-title"><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></span>
|
||||||
|
</div>
|
||||||
|
<span class="small indent">
|
||||||
|
<span class="category">{{ article.category }}</span>
|
||||||
|
<span class="">
|
||||||
|
{% for tag in article.tags|sort %}
|
||||||
|
<a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a>
|
||||||
|
{% endfor %}</span>
|
||||||
|
</span>
|
||||||
</h3>
|
</h3>
|
||||||
</header>
|
</header>
|
||||||
</article>
|
</article>
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h1>{{ page.title }}</h1>
|
<h1>{{ page.title }}</h1>
|
||||||
|
<hr class="article-split">
|
||||||
{% import 'translations.html' as translations with context %}
|
{% import 'translations.html' as translations with context %}
|
||||||
{{ translations.translations_for(page) }}
|
{{ translations.translations_for(page) }}
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h1>Tags for {{ SITENAME }}</h1>
|
<h1>Tags for {{ SITENAME }}</h1>
|
||||||
|
<hr class="article-split">
|
||||||
<ul>
|
<ul>
|
||||||
{% for tag, articles in tags|sort %}
|
{% for tag, articles in tags|sort %}
|
||||||
<li><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a> ({{ articles|count }})</li>
|
<li><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a> ({{ articles|count }})</li>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user