initial commit with stuff from arise
Some checks are pending
Deploy Arise to html branch / Deploy Arise (push) Waiting to run
15
arise-source/config/arise.conf
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#!/bin/bash
|
||||
|
||||
##############################################################
|
||||
# ARISE SITE CONFIG - Edit these variables to fit your website
|
||||
##############################################################
|
||||
|
||||
# Set your base website URL here.
|
||||
export base_url='https://log.thergic.ar'
|
||||
|
||||
# Set the path to your favicon. This should be an absolute path with reference to your siteroot.
|
||||
# This variable is only used for your RSS feed, hence why it only allows up to a singular image to be set. Your primary site favicons should be configured by editing the /config/header.html file.
|
||||
export favicon="/config/favicon/favicon.ico"
|
||||
|
||||
# Set the global human-readable site name for your website. This string is usable in your site header as {{global_name}}. This is also used as the title for your RSS feed.
|
||||
export global_name="Thergic Log"
|
||||
1
arise-source/config/content_header.html
Normal file
|
|
@ -0,0 +1 @@
|
|||
<p class="date">// {{published_date}} // <i>by {{author}}</i></p>
|
||||
BIN
arise-source/config/favicon/android-chrome-192x192.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
arise-source/config/favicon/android-chrome-256x256.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
arise-source/config/favicon/apple-touch-icon.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
9
arise-source/config/favicon/browserconfig.xml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<browserconfig>
|
||||
<msapplication>
|
||||
<tile>
|
||||
<square150x150logo src="/config/favicon/mstile-150x150.png"/>
|
||||
<TileColor>#00aba9</TileColor>
|
||||
</tile>
|
||||
</msapplication>
|
||||
</browserconfig>
|
||||
BIN
arise-source/config/favicon/favicon-16x16.png
Normal file
|
After Width: | Height: | Size: 8.3 KiB |
BIN
arise-source/config/favicon/favicon-32x32.png
Normal file
|
After Width: | Height: | Size: 8.9 KiB |
BIN
arise-source/config/favicon/favicon.ico
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
arise-source/config/favicon/mstile-150x150.png
Normal file
|
After Width: | Height: | Size: 6.5 KiB |
30
arise-source/config/favicon/safari-pinned-tab.svg
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
<?xml version="1.0" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
|
||||
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
|
||||
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
|
||||
width="300.000000pt" height="300.000000pt" viewBox="0 0 300.000000 300.000000"
|
||||
preserveAspectRatio="xMidYMid meet">
|
||||
<metadata>
|
||||
Created by potrace 1.14, written by Peter Selinger 2001-2017
|
||||
</metadata>
|
||||
<g transform="translate(0.000000,300.000000) scale(0.100000,-0.100000)"
|
||||
fill="#000000" stroke="none">
|
||||
<path d="M610 2985 c-304 -65 -532 -294 -594 -597 -24 -116 -24 -1660 0 -1776
|
||||
62 -305 291 -534 596 -596 116 -24 1660 -24 1776 0 305 62 534 291 596 596 24
|
||||
116 24 1660 0 1776 -62 305 -291 534 -596 596 -67 14 -186 16 -895 15 -657 0
|
||||
-831 -3 -883 -14z m340 -645 l0 -120 180 0 c99 0 180 -1 180 -2 0 -2 -18 -50
|
||||
-39 -108 l-39 -105 -141 -3 -141 -3 0 -183 0 -183 63 -6 c131 -11 237 -77 285
|
||||
-179 45 -98 47 -331 2 -450 -44 -118 -141 -187 -276 -196 l-74 -5 0 -128 0
|
||||
-129 -105 0 -105 0 0 130 0 130 -185 0 c-135 0 -185 3 -185 12 0 6 16 56 36
|
||||
109 l36 98 147 3 146 3 3 191 2 191 -73 5 c-138 9 -256 87 -298 198 -16 39
|
||||
-23 86 -27 163 -13 286 87 431 308 446 l85 6 3 118 3 117 104 0 105 0 0 -120z
|
||||
m1649 -127 c0 -5 -21 -55 -47 -113 l-48 -105 -427 -3 -427 -2 0 115 0 115 475
|
||||
0 c261 0 475 -3 474 -7z m-111 -690 l3 -113 -421 0 -420 0 0 115 0 115 418 -2
|
||||
417 -3 3 -112z m82 -608 l0 -115 -460 0 -460 0 0 115 0 115 460 0 460 0 0
|
||||
-115z"/>
|
||||
<path d="M610 1962 c-44 -44 -64 -104 -58 -172 10 -96 58 -150 146 -165 l42
|
||||
-7 0 191 0 191 -46 0 c-40 0 -51 -5 -84 -38z"/>
|
||||
<path d="M950 1217 l0 -205 38 10 c89 25 131 88 132 199 0 108 -46 171 -142
|
||||
194 l-28 7 0 -205z"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.6 KiB |
19
arise-source/config/favicon/site.webmanifest
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"name": "",
|
||||
"short_name": "",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/config/favicon/android-chrome-192x192.png",
|
||||
"sizes": "192x192",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"src": "/config/favicon/android-chrome-256x256.png",
|
||||
"sizes": "256x256",
|
||||
"type": "image/png"
|
||||
}
|
||||
],
|
||||
"theme_color": "#ffffff",
|
||||
"background_color": "#ffffff",
|
||||
"display": "standalone"
|
||||
}
|
||||
10
arise-source/config/footer.html
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
|
||||
<!-- Page Footer -->
|
||||
<div class="footer">
|
||||
<p>Copyleft © 2023 <a href="https://spectrasecu.re">Spectra Secure</a> • All wrongs reserved</p>
|
||||
<p>Built with 💚 using <a href="https://github.com/spectrasecure/arise">Arise</a>, a cloud-native static site generator written in Bash.</p>
|
||||
</div>
|
||||
<!-- End Page Footer -->
|
||||
|
||||
</body>
|
||||
</html>
|
||||
65
arise-source/config/header.html
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
<!doctype html>
|
||||
|
||||
<html lang="{{language}}">
|
||||
<head>
|
||||
<!-- Basic Metadata -->
|
||||
<meta charset="utf-8" />
|
||||
<meta name="HandheldFriendly" content="True" />
|
||||
<meta name="generator" content="Arise" />
|
||||
|
||||
<title>{{title}} · {{global_name}}</title>
|
||||
<meta name="description" content="{{description}}">
|
||||
<meta name="author" content="{{author}}">
|
||||
<!-- End Basic Metadata -->
|
||||
|
||||
<!-- OpenGraph Metadata -->
|
||||
<meta property="og:site_name" content="{{global_name}}" />
|
||||
<meta property="og:type" content="article" />
|
||||
<meta property="og:title" content="{{title}} · {{global_name}}" />
|
||||
<meta property="og:description" content="{{description}}" />
|
||||
<meta property="og:url" content="{{canonical_url}}" />
|
||||
<meta property="og:image" content="{{canonical_url}}{{thumbnail}}" />
|
||||
<meta property="article:published_time" content="{{published_date}}" />
|
||||
<meta property="article:modified_time" content="{{modified_date}}" />
|
||||
<!-- End OpenGraph Metadata -->
|
||||
|
||||
<!-- Twitter Metadata -->
|
||||
<meta name="twitter:card" content="summary_large_image" />
|
||||
<meta name="twitter:title" content="{{title}} · {{global_name}}" />
|
||||
<meta name="twitter:description" content="{{description}}" />
|
||||
<meta name="twitter:url" content="{{canonical_url}}" />
|
||||
<meta name="twitter:image" content="{{canonical_url}}{{thumbnail}}" />
|
||||
<!-- End Twitter Metadata -->
|
||||
|
||||
<!-- Favicon -->
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/config/favicon/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/config/favicon/favicon-32x32.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="/config/favicon/favicon-16x16.png">
|
||||
<link rel="manifest" href="/config/favicon/site.webmanifest">
|
||||
<link rel="mask-icon" href="/config/favicon/safari-pinned-tab.svg" color="#5bbad5">
|
||||
<link rel="shortcut icon" href="/config/favicon/favicon.ico">
|
||||
<meta name="msapplication-TileColor" content="#00aba9">
|
||||
<meta name="msapplication-config" content="/config/favicon/browserconfig.xml">
|
||||
<meta name="theme-color" content="#ffffff">
|
||||
<!-- End Favicon -->
|
||||
|
||||
<!-- Styesheet+Logo -->
|
||||
<style>
|
||||
html * {font-family:monospace,sans-serif;}
|
||||
body {background-color:#121619;margin:40px auto;max-width:650px;padding:0 10px;color:#65f85a;}
|
||||
a {color:#b8f1b4;}
|
||||
hr {color:#65f85a;}
|
||||
.topbar a {color:#65f85a;}
|
||||
</style>
|
||||
<link rel="stylesheet" href="/config/main.css">
|
||||
<div class="logo"><a href="/"><img src="/config/logo.png" /></a></div>
|
||||
<!-- End Styles+Logo -->
|
||||
|
||||
<!-- Navigation -->
|
||||
<nav class="topbar">
|
||||
<a href="/">Home</a> ⟛ <a href="/posts">Posts</a> ⟛ <a href="https://github.com/spectrasecure/arise">GitHub</a>
|
||||
</nav>
|
||||
<!-- End Navigation -->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
BIN
arise-source/config/logo.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
166
arise-source/config/main.css
Normal file
|
|
@ -0,0 +1,166 @@
|
|||
|
||||
/*** Core page styles to set the primary colours and styles to be inherited by everything else ***/
|
||||
|
||||
/* Core Styling */
|
||||
html * {
|
||||
font-family:sans-serif;
|
||||
}
|
||||
body{
|
||||
margin:40px auto;
|
||||
max-width:650px;
|
||||
line-height:1.6;
|
||||
font-size:18px;
|
||||
color:#65f85a;
|
||||
background-color:#121619;
|
||||
padding:0 10px;
|
||||
}
|
||||
/********************************/
|
||||
/********************************/
|
||||
|
||||
/*** Post styling. This section is for defining markup classes to make it easier to write prettier posts. ***/
|
||||
|
||||
img {
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
margin-top:20px;
|
||||
margin-bottom:20px;
|
||||
border-radius:16px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
display: block;
|
||||
}
|
||||
|
||||
code {
|
||||
background-color:#293137;
|
||||
border-radius:16px;
|
||||
padding-left:30px;
|
||||
padding-right:30px;
|
||||
line-height:2em;
|
||||
|
||||
padding-top:1px;
|
||||
padding-bottom:1px;
|
||||
color:#65f85a;
|
||||
font-family:monospace;
|
||||
}
|
||||
|
||||
pre {
|
||||
overflow-x: auto;
|
||||
white-space: pre-wrap;
|
||||
white-space: -moz-pre-wrap;
|
||||
white-space: -pre-wrap;
|
||||
white-space: -o-pre-wrap;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
border-left:1px solid #65f85a;
|
||||
display:block;
|
||||
margin-top: 1em;
|
||||
margin-bottom: 1em;
|
||||
margin-left: 30px;
|
||||
padding-left: 10px;
|
||||
margin-right: 40px;
|
||||
font-style: italic;
|
||||
color:#46ab3e;
|
||||
}
|
||||
|
||||
hr {
|
||||
color:#65f85a;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
max-width: 300px;
|
||||
}
|
||||
|
||||
#endline { /* Special kind of <hr> for spacing out footnotes from the rest of a post */
|
||||
color:#65f85a;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
max-width: 300px;
|
||||
margin-top: 80px;
|
||||
}
|
||||
|
||||
a {
|
||||
color:#b8f1b4
|
||||
}
|
||||
|
||||
h1{
|
||||
line-height:1.2
|
||||
}
|
||||
|
||||
h2,h3{
|
||||
padding-top:24px;
|
||||
line-height:1.2
|
||||
}
|
||||
|
||||
/* Style for inline dates. These are configured via a separate include file in /config/content_header.html. See notes on Arise page creation for more details. */
|
||||
.date {
|
||||
padding-bottom:0;
|
||||
margin-bottom:0;
|
||||
font-size:14px;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 900px) {
|
||||
.date {
|
||||
text-align:right;
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 901px) {
|
||||
.date {
|
||||
float:right;
|
||||
margin-left:30px;
|
||||
}
|
||||
}
|
||||
|
||||
/********************************/
|
||||
/********************************/
|
||||
|
||||
|
||||
/*** Modular component styles. Includes styling for the headers, navigation controls, and footer. ***/
|
||||
|
||||
/* Site logo. Styled to responsively move to either left or be centred, depending if the page is being viewed on desktop or mobile respectively. */
|
||||
.logo {
|
||||
margin-bottom:20px;
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
/* Navbar styling. */
|
||||
.topbar {
|
||||
padding-right:10px;
|
||||
border-top:1px solid #65f85a;
|
||||
border-bottom:1px solid #65f85a;
|
||||
margin-bottom:20px;
|
||||
text-align:center;
|
||||
}
|
||||
.topbar a {
|
||||
color:#65f85a;
|
||||
text-decoration:none;
|
||||
}
|
||||
|
||||
/* Site footer styling */
|
||||
.footer {
|
||||
border-top:2px solid #65f85a;
|
||||
font-size:12px;
|
||||
margin-top:120px;
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
/********************************/
|
||||
/********************************/
|
||||
|
||||
|
||||
/*** Other misc garbage ***/
|
||||
|
||||
/* Arise Index Style */
|
||||
.arise-toc-td {
|
||||
border-width: 1px;
|
||||
border-color: #65f85a;
|
||||
border-top-style: solid;
|
||||
text-align: center;
|
||||
padding-right: 10px;
|
||||
padding-bottom: 5px
|
||||
}
|
||||
.arise-toc-th {
|
||||
padding-bottom: 20px;
|
||||
border-bottom: 1px;
|
||||
border-bottom-style: solid;
|
||||
}
|
||||