begin
5
archetypes/default.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
+++
|
||||
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
|
||||
date = {{ .Date }}
|
||||
draft = true
|
||||
+++
|
4
hugo.toml
Normal file
|
@ -0,0 +1,4 @@
|
|||
baseURL = 'https://ajattix.neocities.org/'
|
||||
languageCode = 'ja-JP'
|
||||
title = 'ajattix'
|
||||
theme = "hugo-theme-console"
|
112
index.html
|
@ -1,112 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
|
||||
|
||||
<html lang="ja">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=1024">
|
||||
<title>Responsive Background Image with Vertical Text</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: Arial, sans-serif;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
background-color: #d2d3d5;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 100vh;
|
||||
}
|
||||
#background_container {
|
||||
position: relative;
|
||||
width: 80%; /* Adjust width of container */
|
||||
max-width: 800px; /* Maximum width of container */
|
||||
perspective: 30cm; /* Apply perspective to container */
|
||||
padding: 20px; /* Add padding around the container */
|
||||
display: flex;
|
||||
justify-content: space-between; /* Space items evenly */
|
||||
align-items: center;
|
||||
}
|
||||
#background_image {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
display: block;
|
||||
border-radius: 8px; /* Optional: Rounded corners for image */
|
||||
transform-style: preserve-3d; /* Preserve 3D transformations for child elements */
|
||||
}
|
||||
|
||||
.vertical-text {
|
||||
position: absolute;
|
||||
font-size: 3em; /* Adjust font size of vertical text */
|
||||
writing-mode: vertical-rl; /* Vertical right-to-left writing mode */
|
||||
text-orientation: upright; /* Display characters upright */
|
||||
color: #0a2b60; /* Text color (white in this example) */
|
||||
z-index: 1; /* Ensure text appears above the image */
|
||||
transform: rotateX(-2180deg) rotateY(-26deg); /* Apply perspective transformation to text only */
|
||||
transform-origin: center center; /* Set transformation origin */
|
||||
|
||||
}
|
||||
.perspective-box-roman {
|
||||
font-size: 150%; /* Adjust font size for Roman vertical text */
|
||||
color: #0a2b60; /* Set text color for Roman vertical text */
|
||||
/* Apply perspective transformation to Roman vertical text */
|
||||
transform: perspective(30cm) rotateX(-2180deg) rotateY(-40deg) rotateZ(90deg);
|
||||
transform-origin: center center; /* Set transformation origin */
|
||||
margin-top: -10px; /* Add top margin for spacing between text elements */
|
||||
margin-right: 200px;
|
||||
|
||||
}
|
||||
.text-container-top {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin-left: -900px; /* Adjust left margin to move text closer to image */
|
||||
align-items: flex-start; /* Align items to the start of the container */
|
||||
padding-bottom: -160px;
|
||||
padding-left: -50px;
|
||||
padding-right: 350px;
|
||||
padding-top: 100px;
|
||||
letter-spacing: 0.1em;
|
||||
}
|
||||
.text-container-bottom {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin-right: -700px; /* Adjust left margin to move text closer to image */
|
||||
align-items: flex-start; /* Align items to the start of the container */
|
||||
padding-bottom: -500px;
|
||||
padding-left: -90px;
|
||||
padding-right: -40px;
|
||||
letter-spacing: 0.1em;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="background_container">
|
||||
|
||||
<img id="background_image" src="wiped2.jpeg" alt="Image">
|
||||
<div class="text-container-top">
|
||||
<div class="vertical-text" style="top: 30%; right: 45%;">千住柱間</div>
|
||||
<div class="vertical-text" style="top: 30%; right: 15%;">チョコミント</div>
|
||||
<div class="vertical-text" style="top: 7%; right: 26%;">絶対</div>
|
||||
<div class="perspective-box-roman">Hashirama</div>
|
||||
<br></br><br></br>
|
||||
<div class="perspective-box-roman">Madara</div>
|
||||
<br></br><br></br>
|
||||
<div class="perspective-box-roman">Choze</div>
|
||||
<!-- Add more vertical text elements as needed -->
|
||||
<br></br><br></br>
|
||||
<div class="perspective-box-roman">Eduardo</div>
|
||||
<div class="perspective-box-roman">ainda da pra escrever</div>
|
||||
<div class="perspective-box-roman">mas sera msm?</div>
|
||||
<br></br> <br></br>
|
||||
<br></br> <br></br>
|
||||
<div class="perspective-box-roman">human nature</div>
|
||||
<br></br> <br></br>
|
||||
<br></br> <br></br>
|
||||
<div class="perspective-box-roman">human nature</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
BIN
landscape.jpg
Before Width: | Height: | Size: 100 KiB |
BIN
landscape.xcf
61
public/404.html
Normal file
|
@ -0,0 +1,61 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="ja-JP">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>ajattix/404.html</title>
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="robots" content="all,follow">
|
||||
<meta name="googlebot" content="index,follow,snippet,archive">
|
||||
<link rel="stylesheet" href="https://ajattix.neocities.org/hugo-theme-console/css/terminal-0.7.2.min.css">
|
||||
<link rel="stylesheet" href="https://ajattix.neocities.org/hugo-theme-console/css/animate-4.1.1.min.css">
|
||||
<link rel="stylesheet" href="https://ajattix.neocities.org/hugo-theme-console/css/console.css">
|
||||
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
|
||||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
<meta property="og:title" content="404 Page not found" />
|
||||
<meta property="og:description" content="" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://ajattix.neocities.org/404.html" />
|
||||
|
||||
|
||||
<meta name="twitter:title" content="404 Page not found"/>
|
||||
<meta name="twitter:description" content=""/>
|
||||
|
||||
|
||||
|
||||
|
||||
</head>
|
||||
<body class="terminal">
|
||||
<div class="container">
|
||||
<div class="terminal-nav">
|
||||
<header class="terminal-logo">
|
||||
<div class="logo terminal-prompt">
|
||||
|
||||
|
||||
<a href="https://ajattix.neocities.org/" class="no-style ">ajattix</a>:~#
|
||||
<a href='https://ajattix.neocities.org/404.html'>404.html</a>/</div></header>
|
||||
<nav class="terminal-menu">
|
||||
<ul vocab="https://schema.org/" typeof="BreadcrumbList">
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container " >
|
||||
|
||||
<h1>Page not found</h1>
|
||||
<p><a href="https://ajattix.neocities.org/">Return to the home page</a>.</p>
|
||||
|
||||
<div class="footer">
|
||||
Powered by <a href="https://www.gnu.org/software/emacs/">Emacs</a> &
|
||||
<a href="https://guix.gnu.org/">Guix</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
69
public/categories/index.html
Normal file
|
@ -0,0 +1,69 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="ja-JP">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>ajattix/categories/</title>
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="robots" content="all,follow">
|
||||
<meta name="googlebot" content="index,follow,snippet,archive">
|
||||
<link rel="stylesheet" href="https://ajattix.neocities.org/hugo-theme-console/css/terminal-0.7.2.min.css">
|
||||
<link rel="stylesheet" href="https://ajattix.neocities.org/hugo-theme-console/css/animate-4.1.1.min.css">
|
||||
<link rel="stylesheet" href="https://ajattix.neocities.org/hugo-theme-console/css/console.css">
|
||||
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
|
||||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
<link href="https://ajattix.neocities.org/categories/index.xml" rel="alternate" type="application/rss+xml" title="ajattix" />
|
||||
<meta property="og:title" content="Categories" />
|
||||
<meta property="og:description" content="" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://ajattix.neocities.org/categories/" />
|
||||
|
||||
|
||||
<meta name="twitter:title" content="Categories"/>
|
||||
<meta name="twitter:description" content=""/>
|
||||
|
||||
|
||||
|
||||
|
||||
</head>
|
||||
<body class="terminal">
|
||||
<div class="container">
|
||||
<div class="terminal-nav">
|
||||
<header class="terminal-logo">
|
||||
<div class="logo terminal-prompt">
|
||||
|
||||
|
||||
<a href="https://ajattix.neocities.org/" class="no-style ">ajattix</a>:~#
|
||||
<a href='https://ajattix.neocities.org/categories'>categories</a>/</div></header>
|
||||
<nav class="terminal-menu">
|
||||
<ul vocab="https://schema.org/" typeof="BreadcrumbList">
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container " >
|
||||
|
||||
<h1>Categories</h1>
|
||||
<br/>
|
||||
|
||||
|
||||
<div class="posts-list">
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer">
|
||||
Powered by <a href="https://www.gnu.org/software/emacs/">Emacs</a> &
|
||||
<a href="https://guix.gnu.org/">Guix</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
11
public/categories/index.xml
Normal file
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>Categories on ajattix</title>
|
||||
<link>https://ajattix.neocities.org/categories/</link>
|
||||
<description>Recent content in Categories on ajattix</description>
|
||||
<generator>Hugo 0.125.1</generator>
|
||||
<language>ja-JP</language>
|
||||
<atom:link href="https://ajattix.neocities.org/categories/index.xml" rel="self" type="application/rss+xml" />
|
||||
</channel>
|
||||
</rss>
|
7
public/hugo-theme-console/css/animate-4.1.1.min.css
vendored
Normal file
279
public/hugo-theme-console/css/console.css
Normal file
|
@ -0,0 +1,279 @@
|
|||
@font-face {
|
||||
font-family: 'Roboto Mono';
|
||||
src: url('../font/RobotoMono-Regular.ttf') format('truetype');
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
text-rendering: optimizeLegibility;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Roboto Mono';
|
||||
src: url('../font/RobotoMono-Italic.ttf') format('truetype');
|
||||
font-style: italic;
|
||||
font-weight: 400;
|
||||
text-rendering: optimizeLegibility;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Roboto Mono';
|
||||
src: url('../font/RobotoMono-Bold.ttf') format('truetype');
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
text-rendering: optimizeLegibility;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Roboto Mono';
|
||||
src: url('../font/RobotoMono-BoldItalic.ttf') format('truetype');
|
||||
font-style: italic;
|
||||
font-weight: 700;
|
||||
text-rendering: optimizeLegibility;
|
||||
}
|
||||
|
||||
:root {
|
||||
--global-font-size: 16px;
|
||||
--global-font-color: #444;
|
||||
--mono-font-stack: Roboto Mono, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
|
||||
--font-stack: Roboto Mono, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
|
||||
--global-line-height: 1.6em;
|
||||
--page-width: 70em;
|
||||
--display-h1-decoration: 1;
|
||||
--code-bg-color: #fff;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 850px) {
|
||||
:root {
|
||||
--global-font-size: 14px;
|
||||
--global-font-color: #444;
|
||||
--global-line-height: 1.6em;
|
||||
--page-width: 70em;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.sidebar-heading {
|
||||
text-transform: none;
|
||||
letter-spacing: 0;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.box-masonry .box-masonry-image {
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.box-masonry,
|
||||
.box-masonry:hover {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.label {
|
||||
font-family: var(--font-stack);
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: var(--font-stack);
|
||||
font-size: var(--global-font-size);
|
||||
background-color: #fff;
|
||||
margin-bottom: 75px;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6,
|
||||
.h1,
|
||||
.h2,
|
||||
.h3,
|
||||
.h4,
|
||||
.h5,
|
||||
.h6 {
|
||||
font-family: var(--font-stack);
|
||||
clear: both;
|
||||
}
|
||||
|
||||
h1 {
|
||||
margin-bottom: 150px;
|
||||
}
|
||||
|
||||
.content-column-content p,
|
||||
.content-column-content li {
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.btn-ghost {
|
||||
color: #666;
|
||||
background-color: transparent;
|
||||
border-color: #333;
|
||||
font-weight: 400;
|
||||
font-family: var(--font-stack);
|
||||
padding: 6px 12px;
|
||||
font-size: 18px;
|
||||
line-height: 1.55;
|
||||
border-radius: 0;
|
||||
margin-left: 0;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.content-column-content .command {
|
||||
color: #aaa;
|
||||
}
|
||||
|
||||
p.social a {
|
||||
margin: 0 0 10px 0;
|
||||
color: #fff;
|
||||
display: inline-block;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
border: none;
|
||||
line-height: 30px;
|
||||
font-size: 25px;
|
||||
text-align: center;
|
||||
vertical-align: bottom;
|
||||
color: #999999;
|
||||
-webkit-transition: all 0.2s ease-out;
|
||||
-moz-transition: all 0.2s ease-out;
|
||||
transition: all 0.2s ease-out;
|
||||
}
|
||||
|
||||
.active a {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
strong {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.logo {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.terminal-menu li {
|
||||
margin-right: 30px;
|
||||
}
|
||||
|
||||
figure {
|
||||
margin-top: 15px;
|
||||
margin-bottom: 15px;
|
||||
margin-left: 60px;
|
||||
margin-right: 60px;
|
||||
}
|
||||
|
||||
.footer {
|
||||
clear: both;
|
||||
margin-top: 100px;
|
||||
padding-top: 10px;;
|
||||
border-top: 1px solid var(--secondary-color);
|
||||
color: var(--global-font-color);
|
||||
}
|
||||
|
||||
.image-grid {
|
||||
display: grid;
|
||||
grid-template-rows: auto;
|
||||
display: grid;
|
||||
grid-gap: 1em;
|
||||
grid-template-rows: auto;
|
||||
grid-template-columns: repeat(auto-fit,
|
||||
minmax(calc(var(--page-width) / 4), 1fr));
|
||||
}
|
||||
|
||||
.terminal-prompt::after {
|
||||
-webkit-animation: cursor 1s infinite;
|
||||
animation: cursor 1s infinite;
|
||||
width: 10px;
|
||||
}
|
||||
|
||||
.terminal-prompt::before {
|
||||
content: none;
|
||||
}
|
||||
|
||||
.gallery-image {
|
||||
margin-top: 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.posts-list {
|
||||
position: relative;
|
||||
padding-left: 130px;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.post h1, .post h2 {
|
||||
padding-top: 0;
|
||||
margin: 0;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.posts-list .date {
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
width: 130px;
|
||||
z-index: 400;
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 850px) {
|
||||
.site-name {
|
||||
width: 2ch;
|
||||
overflow: hidden;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.terminal-nav {
|
||||
align-items: flex-start;
|
||||
flex-direction: column;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.terminal-menu ul {
|
||||
align-items: flex-start;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: left;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.terminal-menu li {
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
.logo {
|
||||
padding: calc(var(--global-space) * 1) 0 calc(var(--global-space) * 1);
|
||||
}
|
||||
|
||||
figure {
|
||||
margin-top: 5px;
|
||||
margin-bottom: 5px;
|
||||
margin-left: 30px;
|
||||
margin-right: 30px;
|
||||
}
|
||||
|
||||
.posts-list {
|
||||
position: relative;
|
||||
padding-left: 0;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.post h1, .post h2 {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.posts-list .date {
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
width: 150px;
|
||||
z-index: 400;
|
||||
font-weight: bold;
|
||||
padding-top: 0;
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
.footer {
|
||||
margin-top: 50px;
|
||||
padding-top: 5px;;
|
||||
}
|
||||
}
|
1
public/hugo-theme-console/css/terminal-0.7.2.min.css
vendored
Normal file
BIN
public/hugo-theme-console/font/RobotoMono-Bold.ttf
Normal file
BIN
public/hugo-theme-console/font/RobotoMono-BoldItalic.ttf
Normal file
BIN
public/hugo-theme-console/font/RobotoMono-Italic.ttf
Normal file
BIN
public/hugo-theme-console/font/RobotoMono-Regular.ttf
Normal file
82
public/index.html
Normal file
|
@ -0,0 +1,82 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="ja-JP">
|
||||
<head>
|
||||
<meta name="generator" content="Hugo 0.125.1">
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>ajattix/</title>
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="robots" content="all,follow">
|
||||
<meta name="googlebot" content="index,follow,snippet,archive">
|
||||
<link rel="stylesheet" href="https://ajattix.neocities.org/hugo-theme-console/css/terminal-0.7.2.min.css">
|
||||
<link rel="stylesheet" href="https://ajattix.neocities.org/hugo-theme-console/css/animate-4.1.1.min.css">
|
||||
<link rel="stylesheet" href="https://ajattix.neocities.org/hugo-theme-console/css/console.css">
|
||||
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
|
||||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
<link href="https://ajattix.neocities.org/index.xml" rel="alternate" type="application/rss+xml" title="ajattix" />
|
||||
<meta property="og:title" content="ajattix" />
|
||||
<meta property="og:description" content="" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://ajattix.neocities.org/" />
|
||||
|
||||
|
||||
<meta name="twitter:title" content="ajattix"/>
|
||||
<meta name="twitter:description" content=""/>
|
||||
|
||||
|
||||
|
||||
|
||||
</head>
|
||||
<body class="terminal">
|
||||
<div class="container">
|
||||
<div class="terminal-nav">
|
||||
<header class="terminal-logo">
|
||||
<div class="logo terminal-prompt">
|
||||
|
||||
|
||||
<a href="https://ajattix.neocities.org/" class="no-style ">ajattix</a>:~#
|
||||
</div></header>
|
||||
<nav class="terminal-menu">
|
||||
<ul vocab="https://schema.org/" typeof="BreadcrumbList">
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container " >
|
||||
|
||||
|
||||
<h1>About</h1>
|
||||
|
||||
<p>
|
||||
<a href="https://ajattix.loophole.site/">ajattix</a> is a organization that cares about preservation of software libre, specially related to language learning <a href="about/">(more)</a>
|
||||
</p>
|
||||
<br/>
|
||||
|
||||
<h1>Latest posts</h1>
|
||||
|
||||
<div class="posts-list">
|
||||
|
||||
</div>
|
||||
|
||||
<h1>Latest photos</h1>
|
||||
|
||||
<div class="image-grid">
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer">
|
||||
Powered by <a href="https://www.gnu.org/software/emacs/">Emacs</a> &
|
||||
<a href="https://guix.gnu.org/">Guix</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
11
public/index.xml
Normal file
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>ajattix</title>
|
||||
<link>https://ajattix.neocities.org/</link>
|
||||
<description>Recent content on ajattix</description>
|
||||
<generator>Hugo 0.125.1</generator>
|
||||
<language>ja-JP</language>
|
||||
<atom:link href="https://ajattix.neocities.org/index.xml" rel="self" type="application/rss+xml" />
|
||||
</channel>
|
||||
</rss>
|
23
public/sitemap.xml
Normal file
|
@ -0,0 +1,23 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
||||
xmlns:xhtml="http://www.w3.org/1999/xhtml">
|
||||
|
||||
|
||||
<url>
|
||||
<loc>https://ajattix.neocities.org/</loc>
|
||||
</url>
|
||||
|
||||
|
||||
|
||||
<url>
|
||||
<loc>https://ajattix.neocities.org/categories/</loc>
|
||||
</url>
|
||||
|
||||
|
||||
|
||||
<url>
|
||||
<loc>https://ajattix.neocities.org/tags/</loc>
|
||||
</url>
|
||||
|
||||
|
||||
</urlset>
|
69
public/tags/index.html
Normal file
|
@ -0,0 +1,69 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="ja-JP">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>ajattix/tags/</title>
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="robots" content="all,follow">
|
||||
<meta name="googlebot" content="index,follow,snippet,archive">
|
||||
<link rel="stylesheet" href="https://ajattix.neocities.org/hugo-theme-console/css/terminal-0.7.2.min.css">
|
||||
<link rel="stylesheet" href="https://ajattix.neocities.org/hugo-theme-console/css/animate-4.1.1.min.css">
|
||||
<link rel="stylesheet" href="https://ajattix.neocities.org/hugo-theme-console/css/console.css">
|
||||
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
|
||||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
<link href="https://ajattix.neocities.org/tags/index.xml" rel="alternate" type="application/rss+xml" title="ajattix" />
|
||||
<meta property="og:title" content="Tags" />
|
||||
<meta property="og:description" content="" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://ajattix.neocities.org/tags/" />
|
||||
|
||||
|
||||
<meta name="twitter:title" content="Tags"/>
|
||||
<meta name="twitter:description" content=""/>
|
||||
|
||||
|
||||
|
||||
|
||||
</head>
|
||||
<body class="terminal">
|
||||
<div class="container">
|
||||
<div class="terminal-nav">
|
||||
<header class="terminal-logo">
|
||||
<div class="logo terminal-prompt">
|
||||
|
||||
|
||||
<a href="https://ajattix.neocities.org/" class="no-style ">ajattix</a>:~#
|
||||
<a href='https://ajattix.neocities.org/tags'>tags</a>/</div></header>
|
||||
<nav class="terminal-menu">
|
||||
<ul vocab="https://schema.org/" typeof="BreadcrumbList">
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container " >
|
||||
|
||||
<h1>Tags</h1>
|
||||
<br/>
|
||||
|
||||
|
||||
<div class="posts-list">
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer">
|
||||
Powered by <a href="https://www.gnu.org/software/emacs/">Emacs</a> &
|
||||
<a href="https://guix.gnu.org/">Guix</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
11
public/tags/index.xml
Normal file
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>Tags on ajattix</title>
|
||||
<link>https://ajattix.neocities.org/tags/</link>
|
||||
<description>Recent content in Tags on ajattix</description>
|
||||
<generator>Hugo 0.125.1</generator>
|
||||
<language>ja-JP</language>
|
||||
<atom:link href="https://ajattix.neocities.org/tags/index.xml" rel="self" type="application/rss+xml" />
|
||||
</channel>
|
||||
</rss>
|
1
themes/hugo-theme-console/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.DS_Store
|
21
themes/hugo-theme-console/LICENSE
Normal file
|
@ -0,0 +1,21 @@
|
|||
MIT License
|
||||
|
||||
Copyright (c) 2020 Marcin Mierzejewski
|
||||
|
||||
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.
|
46
themes/hugo-theme-console/README.md
Normal file
|
@ -0,0 +1,46 @@
|
|||
# Hugo Theme: Console
|
||||
|
||||
A minimal, responsive and light theme for Hugo inspired by Linux console.
|
||||
|
||||
![Console](https://github.com/mrmierzejewski/hugo-theme-console/blob/master/images/preview.png?raw=true)
|
||||
|
||||
## Live demo
|
||||
|
||||
* https://themes.gohugo.io/themes/hugo-theme-console/
|
||||
|
||||
## Installation
|
||||
|
||||
```sh
|
||||
$ mkdir themes
|
||||
$ cd themes
|
||||
$ git submodule add https://github.com/mrmierzejewski/hugo-theme-console.git hugo-theme-console
|
||||
```
|
||||
|
||||
See the [Hugo documentation](https://gohugo.io/themes/installing/) for more information.
|
||||
|
||||
## Configuration
|
||||
|
||||
Set theme parameter in your config file:
|
||||
|
||||
```
|
||||
theme = "hugo-theme-console"
|
||||
```
|
||||
|
||||
## Example Site
|
||||
|
||||
To run the example site, please type the following command:
|
||||
|
||||
```
|
||||
make hugo-server
|
||||
```
|
||||
|
||||
### Start page
|
||||
|
||||
The default start page template is located at ```themes/hugo-theme-console/layouts/index.html```. To change the page content, you to need to copy this file to
|
||||
your website top-level ```layouts``` folder (```layouts/index.html```).
|
||||
|
||||
## License
|
||||
|
||||
Copyright © 2021 [Marcin Mierzejewski](https://mrmierzejewski.com/)
|
||||
|
||||
The theme is released under the MIT License. Check the [original theme license](https://github.com/panr/hugo-theme-terminal/blob/master/LICENSE.md) for additional licensing information.
|
1
themes/hugo-theme-console/exampleSite/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
resources
|
24
themes/hugo-theme-console/exampleSite/config.toml
Normal file
|
@ -0,0 +1,24 @@
|
|||
baseurl = "https://example.com/"
|
||||
title = "console-demo"
|
||||
theme = "hugo-theme-console"
|
||||
languageCode = "en-us"
|
||||
|
||||
[params]
|
||||
# Cutting off the page title to two chars for mobile (console-demo -> co)
|
||||
titleCutting = true
|
||||
|
||||
# Set the animation style -- https://animate.style/
|
||||
# To disable animations, please remove or comment animationStyle parameter
|
||||
animateStyle = "animated zoomIn fast"
|
||||
|
||||
[[params.navlinks]]
|
||||
name = "about/"
|
||||
url = "about/"
|
||||
|
||||
[[params.navlinks]]
|
||||
name = "posts/"
|
||||
url = "posts/"
|
||||
|
||||
[[params.navlinks]]
|
||||
name = "photos/"
|
||||
url = "photos/"
|
32
themes/hugo-theme-console/exampleSite/content/about/index.md
Normal file
|
@ -0,0 +1,32 @@
|
|||
+++
|
||||
date = "2016-11-05T21:05:33+05:30"
|
||||
title = "About"
|
||||
+++
|
||||
|
||||
A minimal, responsive and light theme for Hugo inspired by Linux console.
|
||||
|
||||
![Console](https://github.com/mrmierzejewski/hugo-theme-console/blob/master/images/preview.png?raw=true)
|
||||
|
||||
## Installation
|
||||
|
||||
```
|
||||
$ mkdir themes
|
||||
$ cd themes
|
||||
$ git submodule add https://github.com/mrmierzejewski/hugo-theme-console.git hugo-theme-console
|
||||
```
|
||||
|
||||
See the [Hugo documentation](https://gohugo.io/themes/installing/) for more information.
|
||||
|
||||
## Configuration
|
||||
|
||||
Set theme parameter in your config file:
|
||||
|
||||
```
|
||||
theme = "hugo-theme-console"
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
Copyright © 2020 [Marcin Mierzejewski](https://mrmierzejewski.com/)
|
||||
|
||||
The theme is released under the MIT License. Check the [original theme license](https://github.com/panr/hugo-theme-terminal/blob/master/LICENSE.md) for additional licensing information.
|
|
@ -0,0 +1,6 @@
|
|||
+++
|
||||
title = "Photos"
|
||||
type = "gallery"
|
||||
+++
|
||||
|
||||
|
After Width: | Height: | Size: 469 KiB |
|
@ -0,0 +1,10 @@
|
|||
+++
|
||||
image = "arizona-us.jpg"
|
||||
date = "2020-01-21"
|
||||
title = "Arizona, US"
|
||||
type = "gallery"
|
||||
+++
|
||||
|
||||
The [Grand Canyon](https://en.wikipedia.org/w/index.php?title=Grand_Canyon&oldid=952699432)
|
||||
is a steep-sided canyon carved by the Colorado River in Arizona, United States.
|
||||
The canyon is 277 miles (446 km) long, up to 18 miles (29 km) wide and attains a depth of over a mile (6,093 feet or 1,857 meters).
|
After Width: | Height: | Size: 463 KiB |
|
@ -0,0 +1,8 @@
|
|||
+++
|
||||
image = "chicago-us.jpg"
|
||||
date = "2020-01-21"
|
||||
title = "Chicago, US"
|
||||
type = "gallery"
|
||||
+++
|
||||
|
||||
[Chicago](https://en.wikipedia.org/w/index.php?title=Chicago&oldid=953376675), officially the City of Chicago, is the most populous city in the U.S. state of Illinois, and the third-most-populous city in the United States. With an estimated population of 2,705,994 (2018), it is also the most populous city in the Midwestern United States. Chicago is the county seat of Cook County, the second-most-populous county in the US, with a small portion of the northwest side of the city extending into DuPage County near O'Hare Airport. Chicago is the principal city of the Chicago metropolitan area, often referred to as Chicagoland. At nearly 10 million people, the metropolitan area is the third most populous in the United States.
|
After Width: | Height: | Size: 490 KiB |
|
@ -0,0 +1,9 @@
|
|||
+++
|
||||
image = "hel-poland-2.jpg"
|
||||
date = "2020-01-23"
|
||||
title = "Hel, Poland"
|
||||
type = "gallery"
|
||||
+++
|
||||
|
||||
[Hel Peninsula](https://en.wikipedia.org/w/index.php?title=Hel_Peninsula&oldid=939640541) (Polish: Mierzeja Helska) is a 35-km-long sand bar peninsula in northern Poland separating the Bay of Puck from the open Baltic Sea.
|
||||
The width of the peninsula varies from approximately 300 m near Jurata, through 100 m in the most narrow part to over 3 km at the tip. Since the peninsula was formed entirely of sand, it is frequently turned into an island by winter storms. Until the 17th century the peninsula was a chain of islands that formed a strip of land only during the summer.
|
After Width: | Height: | Size: 338 KiB |
|
@ -0,0 +1,9 @@
|
|||
+++
|
||||
image = "hel-poland-3.jpg"
|
||||
date = "2020-02-06"
|
||||
title = "Hel, Poland"
|
||||
type = "gallery"
|
||||
+++
|
||||
|
||||
[Hel Peninsula](https://en.wikipedia.org/w/index.php?title=Hel_Peninsula&oldid=939640541) (Polish: Mierzeja Helska) is a 35-km-long sand bar peninsula in northern Poland separating the Bay of Puck from the open Baltic Sea.
|
||||
The width of the peninsula varies from approximately 300 m near Jurata, through 100 m in the most narrow part to over 3 km at the tip. Since the peninsula was formed entirely of sand, it is frequently turned into an island by winter storms. Until the 17th century the peninsula was a chain of islands that formed a strip of land only during the summer.
|
|
@ -0,0 +1,8 @@
|
|||
+++
|
||||
image = "panaji-india-2.jpg"
|
||||
date = "2020-01-07"
|
||||
title = "Panaji, India"
|
||||
type = "gallery"
|
||||
+++
|
||||
|
||||
[Panaji](https://en.wikipedia.org/w/index.php?title=Panaji&oldid=949879387), formerly Panjim, is the capital of the Indian state of Goa and the headquarters of North Goa district. It lies on the banks of the Mandovi River estuary in the Ilhas de Goa sub-district (taluka). With a population of 114,759 in the metropolitan area, Panjim is Goa's largest urban agglomeration, ahead of Margão and Vasco da Gama.
|
After Width: | Height: | Size: 450 KiB |
|
@ -0,0 +1,9 @@
|
|||
+++
|
||||
image = "warsaw-poland.jpg"
|
||||
date = "2020-02-09"
|
||||
title = "Warsaw, Poland"
|
||||
type = "gallery"
|
||||
+++
|
||||
|
||||
[Palace of Culture and Science](https://en.wikipedia.org/w/index.php?title=Palace_of_Culture_and_Science&oldid=945815549) (Polish: Pałac Kultury i Nauki), is a notable high-rise building in central Warsaw, Poland. With a total height of 237 metres (778 ft) it is the tallest building in Poland, the 5th-tallest building in the European Union (including spire) and one of the tallest on the European continent.
|
||||
Constructed in 1955, it houses various public and cultural institutions such as cinemas, theatres, libraries, sports clubs, university faculties and authorities of the Polish Academy of Sciences.
|
After Width: | Height: | Size: 462 KiB |
|
@ -0,0 +1,3 @@
|
|||
+++
|
||||
title = "Posts"
|
||||
+++
|
|
@ -0,0 +1,12 @@
|
|||
+++
|
||||
title = "What is Hugo"
|
||||
date = "2019-07-01"
|
||||
+++
|
||||
|
||||
Hugo is a fast and modern static site generator written in Go, and designed to make website creation fun again.
|
||||
<!--more-->
|
||||
Hugo is a general-purpose website framework. Technically speaking, Hugo is a static site generator. Unlike systems that dynamically build a page with each visitor request, Hugo builds pages when you create or update your content. Since websites are viewed far more often than they are edited, Hugo is designed to provide an optimal viewing experience for your website’s end users and an ideal writing experience for website authors.
|
||||
|
||||
Websites built with Hugo are extremely fast and secure. Hugo sites can be hosted anywhere, including Netlify, Heroku, GoDaddy, DreamHost, GitHub Pages, GitLab Pages, Surge, Aerobatic, Firebase, Google Cloud Storage, Amazon S3, Rackspace, Azure, and CloudFront and work well with CDNs. Hugo sites run without the need for a database or dependencies on expensive runtimes like Ruby, Python, or PHP.
|
||||
|
||||
We think of Hugo as the ideal website creation tool with nearly instant build times, able to rebuild whenever a change is made.
|
|
@ -0,0 +1,45 @@
|
|||
+++
|
||||
title = "Introduction"
|
||||
date = "2019-08-03"
|
||||
+++
|
||||
|
||||
Hugo is an open-source project and lives by the work of its contributors. There are plenty of open issues, and we need your help to make Hugo even more awesome. You don't need to be a Go guru to contribute to the project's development.
|
||||
|
||||
<!--more-->
|
||||
|
||||
## Assumptions
|
||||
|
||||
This contribution guide takes a step-by-step approach in hopes of helping newcomers. Therefore, we only assume the following:
|
||||
|
||||
* You are new to Git or open-source projects in general
|
||||
* You are a fan of Hugo and enthusiastic about contributing to the project
|
||||
|
||||
## Install Go
|
||||
|
||||
The installation of Go should take only a few minutes. You have more than one option to get Go up and running on your machine.
|
||||
|
||||
If you are having trouble following the installation guides for Go, check out Go Bootcamp, which contains setups for every platform or reach out to the Hugo community in the Hugo Discussion Forums.
|
||||
|
||||
### Install Go From Source
|
||||
|
||||
Download the latest stable version of Go and follow the official Go installation guide.
|
||||
|
||||
Once you're finished installing Go, let's confirm everything is working correctly. Open a terminal---or command line under Windows--and type the following:
|
||||
|
||||
```
|
||||
go version
|
||||
```
|
||||
|
||||
You should see something similar to the following written to the console. Note that the version here reflects the most recent version of Go as of the last update for this page:
|
||||
|
||||
```
|
||||
go version go1.12 darwin/amd64
|
||||
```
|
||||
|
||||
Next, make sure that you set up your `GOPATH` as described in the installation guide.
|
||||
|
||||
You can print the `GOPATH` with `echo $GOPATH`. You should see a non-empty string containing a valid path to your Go workspace; for example:
|
||||
|
||||
```
|
||||
/Users/<yourusername>/Code/go
|
||||
```
|
BIN
themes/hugo-theme-console/images/preview.png
Normal file
After Width: | Height: | Size: 963 KiB |
BIN
themes/hugo-theme-console/images/screenshot.png
Normal file
After Width: | Height: | Size: 568 KiB |
BIN
themes/hugo-theme-console/images/tn.png
Normal file
After Width: | Height: | Size: 246 KiB |
4
themes/hugo-theme-console/layouts/404.html
Normal file
|
@ -0,0 +1,4 @@
|
|||
{{ define "main" }}
|
||||
<h1>Page not found</h1>
|
||||
<p><a href="{{ .Site.BaseURL }}">Return to the home page</a>.</p>
|
||||
{{ end }}
|
56
themes/hugo-theme-console/layouts/_default/baseof.html
Normal file
|
@ -0,0 +1,56 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="{{ .Site.LanguageCode }}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>{{ .Site.Title }}{{ $url := urls.Parse .Page.Permalink }}{{ $url.Path }}</title>
|
||||
{{ with .Site.Params.description }}<meta name="description" content="{{ . }}">{{ end }}
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="robots" content="all,follow">
|
||||
<meta name="googlebot" content="index,follow,snippet,archive">
|
||||
<link rel="stylesheet" href="{{ "hugo-theme-console/css/terminal-0.7.2.min.css" | absURL }}">
|
||||
<link rel="stylesheet" href="{{ "hugo-theme-console/css/animate-4.1.1.min.css" | absURL }}">
|
||||
<link rel="stylesheet" href="{{ "hugo-theme-console/css/console.css" | absURL }}">
|
||||
{{ `
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
|
||||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
` | safeHTML }}
|
||||
|
||||
{{- partial "favicon.html" . -}}
|
||||
{{ with .OutputFormats.Get "RSS" }}
|
||||
{{ printf `<link href="%s" rel="%s" type="%s" title="%s" />` .Permalink .Rel .MediaType.Type $.Site.Title | safeHTML }}
|
||||
{{ end }}
|
||||
{{- partial "opengraph.html" . -}}
|
||||
{{- partial "twitter_cards.html" . -}}
|
||||
{{ template "_internal/google_analytics.html" . }}
|
||||
|
||||
{{- partial "header.html" . -}}
|
||||
</head>
|
||||
<body class="terminal">
|
||||
<div class="container">
|
||||
<div class="terminal-nav">
|
||||
<header class="terminal-logo">
|
||||
<div class="logo terminal-prompt">
|
||||
{{ $url := replace .Permalink ( printf "%s" .Site.BaseURL) "" }}
|
||||
{{ $.Scratch.Add "path" .Site.BaseURL }}
|
||||
<a href="{{ .Site.BaseURL }}" class="no-style {{ with .Site.Params.TitleCutting }}site-name{{ end }}">{{ .Site.Title }}</a>:~#
|
||||
{{ range $index, $element := split $url "/" }}{{ $.Scratch.Add "path" $element }}{{ if ne $element "" }}<a href='{{ $.Scratch.Get "path" | absURL }}'>{{ . }}</a>/{{ $.Scratch.Add "path" "/" }}{{ end }}{{ end }}</div></header>
|
||||
<nav class="terminal-menu">
|
||||
<ul vocab="https://schema.org/" typeof="BreadcrumbList">
|
||||
{{ range .Site.Params.navlinks }}
|
||||
<li><a href="{{ absURL .url }}" typeof="ListItem">{{ .name }}</a></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container {{ .Site.Params.animateStyle }}" >
|
||||
{{ block "main" . }}
|
||||
{{ end }}
|
||||
{{ partial "footer.html" . }}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
20
themes/hugo-theme-console/layouts/_default/list.html
Normal file
|
@ -0,0 +1,20 @@
|
|||
{{ define "main" }}
|
||||
<h1>{{ .Page.Title }}</h1>
|
||||
<br/>
|
||||
{{ .Content }}
|
||||
|
||||
<div class="posts-list">
|
||||
{{ range sort .Data.Pages "Date" "desc" }}
|
||||
{{ if not .Params.private }}
|
||||
<div class="post">
|
||||
<p>
|
||||
<div class="date">{{ .PublishDate.Format "Jan. 2, 2006" }}</div>
|
||||
<h1><a href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title }}</a></h1>
|
||||
{{ .Summary }}
|
||||
</p>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
{{ end }}
|
4
themes/hugo-theme-console/layouts/_default/single.html
Normal file
|
@ -0,0 +1,4 @@
|
|||
{{ define "main" }}
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ .Content }}
|
||||
{{ end }}
|
17
themes/hugo-theme-console/layouts/gallery/list.html
Normal file
|
@ -0,0 +1,17 @@
|
|||
{{ define "main" }}
|
||||
<h1>{{ .Page.Title }}</h1>
|
||||
{{ .Content }}
|
||||
<div class="image-grid">
|
||||
{{ range sort .Data.Pages "Date" "desc" }}
|
||||
{{ if and (isset .Params "image") .Params.image }}
|
||||
<a href="{{ .Permalink }}" title="{{ .Title }}">
|
||||
{{ $image := .Page.Resources.GetMatch .Params.image }}
|
||||
{{ with $image }}
|
||||
{{ $thumb := .Resize "400x" }}
|
||||
<img src="{{ $thumb.RelPermalink }}" alt="{{ .Title }}" class="img-responsive">
|
||||
{{end}}
|
||||
</a>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
15
themes/hugo-theme-console/layouts/gallery/single.html
Normal file
|
@ -0,0 +1,15 @@
|
|||
{{ define "main" }}
|
||||
<h1>{{ .Page.Title }}</h1>
|
||||
|
||||
{{ if and (isset .Params "image") .Params.image }}
|
||||
{{ $image := .Page.Resources.GetMatch .Params.image }}
|
||||
{{ with $image }}
|
||||
{{ $thumb := .Resize "1000x" }}
|
||||
{{ printf `<img src="%s" alt="%s" class="img-responsive gallery-image">` $thumb.RelPermalink .Title | safeHTML }}
|
||||
{{end}}
|
||||
{{ end }}
|
||||
|
||||
{{ .Content }}
|
||||
{{ template "_internal/disqus.html" . }}
|
||||
|
||||
{{ end }}
|
42
themes/hugo-theme-console/layouts/index.html
Normal file
|
@ -0,0 +1,42 @@
|
|||
{{ define "main" }}
|
||||
|
||||
<h1>About</h1>
|
||||
|
||||
<p>
|
||||
Console is a minimal, responsive and light theme for Hugo inspired by Linux console. <a href="about/">(more)</a>
|
||||
</p>
|
||||
<br/>
|
||||
|
||||
<h1>Latest posts</h1>
|
||||
|
||||
<div class="posts-list">
|
||||
{{ with .Site.GetPage "/posts" }}
|
||||
{{ range first 3 (sort .Data.Pages "Date" "desc" (where .Pages ".Params.private" "!=" true))}}
|
||||
<div class="post">
|
||||
<p>
|
||||
<div class="date">{{ .PublishDate.Format "Jan. 2, 2006" }}</div>
|
||||
<h1><a href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title }}</a></h1>
|
||||
{{ .Summary }}
|
||||
</p>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
<h1>Latest photos</h1>
|
||||
|
||||
<div class="image-grid">
|
||||
{{ with .Site.GetPage "/photos" }}
|
||||
{{ range first 3 (sort .Data.Pages "Date" "desc")}}
|
||||
<a href="{{ .Permalink }}" title="{{ .Title }}">
|
||||
{{ $image := .Page.Resources.GetMatch .Params.image }}
|
||||
{{ with $image }}
|
||||
{{ $thumb := .Resize "400x" }}
|
||||
<img src="{{ $thumb.RelPermalink }}" alt="{{ .Title }}" class="img-responsive">
|
||||
{{end}}
|
||||
</a>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
{{ end }}
|
1
themes/hugo-theme-console/layouts/partials/favicon.html
Normal file
|
@ -0,0 +1 @@
|
|||
|
4
themes/hugo-theme-console/layouts/partials/footer.html
Normal file
|
@ -0,0 +1,4 @@
|
|||
<div class="footer">
|
||||
Powered by <a href="https://www.gnu.org/software/emacs/">Emacs</a> &
|
||||
<a href="https://guix.gnu.org/">Guix</a>.
|
||||
</div>
|
1
themes/hugo-theme-console/layouts/partials/header.html
Normal file
|
@ -0,0 +1 @@
|
|||
<!-- Keep - override to add code to <header /> tag -->
|
49
themes/hugo-theme-console/layouts/partials/opengraph.html
Normal file
|
@ -0,0 +1,49 @@
|
|||
<meta property="og:title" content="{{ .Title }}" />
|
||||
<meta property="og:description" content="{{ with .Description }}{{ . }}{{ else }}{{if .IsPage}}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end }}" />
|
||||
<meta property="og:type" content="{{ if .IsPage }}article{{ else }}website{{ end }}" />
|
||||
<meta property="og:url" content="{{ .Permalink }}" />
|
||||
|
||||
{{- with .Params.image }}
|
||||
{{ $image := $.Resources.GetMatch . }}
|
||||
{{ with $image }}
|
||||
{{ $thumb := .Resize "400x" }}
|
||||
<meta property="og:image" content="{{ $thumb.Permalink }}">
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{- $iso8601 := "2006-01-02T15:04:05-07:00" -}}
|
||||
{{- if .IsPage }}
|
||||
{{- if not .PublishDate.IsZero }}<meta property="article:published_time" {{ .PublishDate.Format $iso8601 | printf "content=%q" | safeHTMLAttr }} />
|
||||
{{ else if not .Date.IsZero }}<meta property="article:published_time" {{ .Date.Format $iso8601 | printf "content=%q" | safeHTMLAttr }} />
|
||||
{{ end }}
|
||||
{{- end }}{{/* .IsPage */}}
|
||||
|
||||
{{- with .Params.audio }}<meta property="og:audio" content="{{ . }}" />{{ end }}
|
||||
{{- with .Params.locale }}<meta property="og:locale" content="{{ . }}" />{{ end }}
|
||||
{{- with .Site.Params.title }}<meta property="og:site_name" content="{{ . }}" />{{ end }}
|
||||
{{- with .Params.videos }}
|
||||
{{- range . }}
|
||||
<meta property="og:video" content="{{ . | absURL }}" />
|
||||
{{ end }}{{ end }}
|
||||
|
||||
{{- /* If it is part of a series, link to related articles */}}
|
||||
{{- $permalink := .Permalink }}
|
||||
{{- $siteSeries := .Site.Taxonomies.series }}{{ with .Params.series }}
|
||||
{{- range $name := . }}
|
||||
{{- $series := index $siteSeries $name }}
|
||||
{{- range $page := first 6 $series.Pages }}
|
||||
{{- if ne $page.Permalink $permalink }}<meta property="og:see_also" content="{{ $page.Permalink }}" />{{ end }}
|
||||
{{- end }}
|
||||
{{ end }}{{ end }}
|
||||
|
||||
{{- if .IsPage }}
|
||||
{{- range .Site.Authors }}{{ with .Social.facebook }}
|
||||
<meta property="article:author" content="https://www.facebook.com/{{ . }}" />{{ end }}{{ with .Site.Social.facebook }}
|
||||
<meta property="article:publisher" content="https://www.facebook.com/{{ . }}" />{{ end }}
|
||||
<meta property="article:section" content="{{ .Section }}" />
|
||||
{{- with .Params.tags }}{{ range first 6 . }}
|
||||
<meta property="article:tag" content="{{ . }}" />{{ end }}{{ end }}
|
||||
{{- end }}{{ end }}
|
||||
|
||||
{{- /* Facebook Page Admin ID for Domain Insights */}}
|
||||
{{- with .Site.Social.facebook_admin }}<meta property="fb:admins" content="{{ . }}" />{{ end }}
|
|
@ -0,0 +1,19 @@
|
|||
{{- with .Params.image }}
|
||||
{{ $image := $.Resources.GetMatch . }}
|
||||
{{ with $image }}
|
||||
{{ $thumb := .Resize "400x" }}
|
||||
<meta name="twitter:card" content="summary_large_image"/>
|
||||
<meta name="twitter:image" content="{{ $thumb.Permalink }}">
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
<meta name="twitter:title" content="{{ .Title }}"/>
|
||||
<meta name="twitter:description" content="{{ with .Description }}{{ . }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end -}}"/>
|
||||
{{ with .Site.Social.twitter -}}
|
||||
<meta name="twitter:site" content="@{{ . }}"/>
|
||||
{{ end -}}
|
||||
{{ range .Site.Authors }}
|
||||
{{ with .twitter -}}
|
||||
<meta name="twitter:creator" content="@{{ . }}"/>
|
||||
{{ end -}}
|
||||
{{ end -}}
|
14
themes/hugo-theme-console/layouts/posts/single.html
Normal file
|
@ -0,0 +1,14 @@
|
|||
{{ define "main" }}
|
||||
<h1>{{ .Title }}</h1>
|
||||
|
||||
{{ .PublishDate.Format "Jan. 2, 2006" }}
|
||||
{{ with .Params.linkedin }}
|
||||
// <a href="{{ . }}">Linkedin</a>
|
||||
{{ end }}
|
||||
{{ with .Params.twitter }}
|
||||
// <a href="{{ . }}">Twitter</a>
|
||||
{{ end }}
|
||||
<br/><br/>
|
||||
{{ .Content }}
|
||||
{{ template "_internal/disqus.html" . }}
|
||||
{{ end }}
|
16
themes/hugo-theme-console/layouts/sitemap.xml
Normal file
|
@ -0,0 +1,16 @@
|
|||
{{ printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\" ?>" | safeHTML }}
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
||||
xmlns:xhtml="http://www.w3.org/1999/xhtml">
|
||||
{{ range .Data.Pages }}
|
||||
{{ if not .Params.private }}
|
||||
<url>
|
||||
<loc>{{ .Permalink }}</loc>{{ if not .Lastmod.IsZero }}
|
||||
<lastmod>{{ safeHTML ( .Lastmod.Format "2006-01-02T15:04:05-07:00" ) }}</lastmod>{{ end }}{{ with .Sitemap.ChangeFreq }}
|
||||
<changefreq>{{ . }}</changefreq>{{ end }}{{ if ge .Sitemap.Priority 0.0 }}
|
||||
<priority>{{ .Sitemap.Priority }}</priority>{{ end }}{{ if .IsTranslated }}{{ range .Translations }}
|
||||
<xhtml:link rel="alternate" hreflang="{{ .Lang }}" href="{{ .Permalink }}"/>{{ end }}
|
||||
<xhtml:link rel="alternate" hreflang="{{ .Lang }}" href="{{ .Permalink }}"/>{{ end }}
|
||||
</url>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</urlset>
|
12
themes/hugo-theme-console/makefile
Normal file
|
@ -0,0 +1,12 @@
|
|||
PWD ?= $(shell pwd)/
|
||||
|
||||
usage: ### Usage (default)
|
||||
@echo
|
||||
@echo "USAGE:"
|
||||
@echo " make command [options]"
|
||||
@echo
|
||||
@echo "COMMANDS:"
|
||||
@fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed 's/^/ /' | sed -e 's/\\$$//' | sed -e 's/#/ /g'
|
||||
|
||||
hugo-server: ## Run Hugo web server and serve the example site
|
||||
cd exampleSite; hugo server --cleanDestinationDir --themesDir ../../ -t hugo-theme-console
|
31
themes/hugo-theme-console/netlify.toml
Normal file
|
@ -0,0 +1,31 @@
|
|||
[build]
|
||||
base = "exampleSite"
|
||||
publish = "public"
|
||||
command = "hugo --gc --minify --themesDir ../../ -t repo -b $URL"
|
||||
|
||||
[context.production.environment]
|
||||
HUGO_VERSION = "0.81.0"
|
||||
HUGO_ENV = "production"
|
||||
HUGO_ENABLEGITINFO = "true"
|
||||
|
||||
[context.split1]
|
||||
command = "hugo --gc --minify --enableGitInfo -b $DEPLOY_PRIME_URL --themesDir ../../ -t repo"
|
||||
|
||||
[context.split1.environment]
|
||||
HUGO_VERSION = "0.81.0"
|
||||
HUGO_ENV = "production"
|
||||
|
||||
[context.deploy-preview]
|
||||
command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL --themesDir ../../ -t repo"
|
||||
|
||||
[context.deploy-preview.environment]
|
||||
HUGO_VERSION = "0.81.0"
|
||||
|
||||
[context.branch-deploy]
|
||||
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL --themesDir ../../ -t repo"
|
||||
|
||||
[context.branch-deploy.environment]
|
||||
HUGO_VERSION = "0.81.0"
|
||||
|
||||
[context.next.environment]
|
||||
HUGO_ENABLEGITINFO = "true"
|
7
themes/hugo-theme-console/static/hugo-theme-console/css/animate-4.1.1.min.css
vendored
Normal file
|
@ -0,0 +1,279 @@
|
|||
@font-face {
|
||||
font-family: 'Roboto Mono';
|
||||
src: url('../font/RobotoMono-Regular.ttf') format('truetype');
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
text-rendering: optimizeLegibility;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Roboto Mono';
|
||||
src: url('../font/RobotoMono-Italic.ttf') format('truetype');
|
||||
font-style: italic;
|
||||
font-weight: 400;
|
||||
text-rendering: optimizeLegibility;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Roboto Mono';
|
||||
src: url('../font/RobotoMono-Bold.ttf') format('truetype');
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
text-rendering: optimizeLegibility;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Roboto Mono';
|
||||
src: url('../font/RobotoMono-BoldItalic.ttf') format('truetype');
|
||||
font-style: italic;
|
||||
font-weight: 700;
|
||||
text-rendering: optimizeLegibility;
|
||||
}
|
||||
|
||||
:root {
|
||||
--global-font-size: 16px;
|
||||
--global-font-color: #444;
|
||||
--mono-font-stack: Roboto Mono, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
|
||||
--font-stack: Roboto Mono, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
|
||||
--global-line-height: 1.6em;
|
||||
--page-width: 70em;
|
||||
--display-h1-decoration: 1;
|
||||
--code-bg-color: #fff;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 850px) {
|
||||
:root {
|
||||
--global-font-size: 14px;
|
||||
--global-font-color: #444;
|
||||
--global-line-height: 1.6em;
|
||||
--page-width: 70em;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.sidebar-heading {
|
||||
text-transform: none;
|
||||
letter-spacing: 0;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.box-masonry .box-masonry-image {
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.box-masonry,
|
||||
.box-masonry:hover {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.label {
|
||||
font-family: var(--font-stack);
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: var(--font-stack);
|
||||
font-size: var(--global-font-size);
|
||||
background-color: #fff;
|
||||
margin-bottom: 75px;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6,
|
||||
.h1,
|
||||
.h2,
|
||||
.h3,
|
||||
.h4,
|
||||
.h5,
|
||||
.h6 {
|
||||
font-family: var(--font-stack);
|
||||
clear: both;
|
||||
}
|
||||
|
||||
h1 {
|
||||
margin-bottom: 150px;
|
||||
}
|
||||
|
||||
.content-column-content p,
|
||||
.content-column-content li {
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.btn-ghost {
|
||||
color: #666;
|
||||
background-color: transparent;
|
||||
border-color: #333;
|
||||
font-weight: 400;
|
||||
font-family: var(--font-stack);
|
||||
padding: 6px 12px;
|
||||
font-size: 18px;
|
||||
line-height: 1.55;
|
||||
border-radius: 0;
|
||||
margin-left: 0;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.content-column-content .command {
|
||||
color: #aaa;
|
||||
}
|
||||
|
||||
p.social a {
|
||||
margin: 0 0 10px 0;
|
||||
color: #fff;
|
||||
display: inline-block;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
border: none;
|
||||
line-height: 30px;
|
||||
font-size: 25px;
|
||||
text-align: center;
|
||||
vertical-align: bottom;
|
||||
color: #999999;
|
||||
-webkit-transition: all 0.2s ease-out;
|
||||
-moz-transition: all 0.2s ease-out;
|
||||
transition: all 0.2s ease-out;
|
||||
}
|
||||
|
||||
.active a {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
strong {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.logo {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.terminal-menu li {
|
||||
margin-right: 30px;
|
||||
}
|
||||
|
||||
figure {
|
||||
margin-top: 15px;
|
||||
margin-bottom: 15px;
|
||||
margin-left: 60px;
|
||||
margin-right: 60px;
|
||||
}
|
||||
|
||||
.footer {
|
||||
clear: both;
|
||||
margin-top: 100px;
|
||||
padding-top: 10px;;
|
||||
border-top: 1px solid var(--secondary-color);
|
||||
color: var(--global-font-color);
|
||||
}
|
||||
|
||||
.image-grid {
|
||||
display: grid;
|
||||
grid-template-rows: auto;
|
||||
display: grid;
|
||||
grid-gap: 1em;
|
||||
grid-template-rows: auto;
|
||||
grid-template-columns: repeat(auto-fit,
|
||||
minmax(calc(var(--page-width) / 4), 1fr));
|
||||
}
|
||||
|
||||
.terminal-prompt::after {
|
||||
-webkit-animation: cursor 1s infinite;
|
||||
animation: cursor 1s infinite;
|
||||
width: 10px;
|
||||
}
|
||||
|
||||
.terminal-prompt::before {
|
||||
content: none;
|
||||
}
|
||||
|
||||
.gallery-image {
|
||||
margin-top: 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.posts-list {
|
||||
position: relative;
|
||||
padding-left: 130px;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.post h1, .post h2 {
|
||||
padding-top: 0;
|
||||
margin: 0;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.posts-list .date {
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
width: 130px;
|
||||
z-index: 400;
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 850px) {
|
||||
.site-name {
|
||||
width: 2ch;
|
||||
overflow: hidden;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.terminal-nav {
|
||||
align-items: flex-start;
|
||||
flex-direction: column;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.terminal-menu ul {
|
||||
align-items: flex-start;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: left;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.terminal-menu li {
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
.logo {
|
||||
padding: calc(var(--global-space) * 1) 0 calc(var(--global-space) * 1);
|
||||
}
|
||||
|
||||
figure {
|
||||
margin-top: 5px;
|
||||
margin-bottom: 5px;
|
||||
margin-left: 30px;
|
||||
margin-right: 30px;
|
||||
}
|
||||
|
||||
.posts-list {
|
||||
position: relative;
|
||||
padding-left: 0;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.post h1, .post h2 {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.posts-list .date {
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
width: 150px;
|
||||
z-index: 400;
|
||||
font-weight: bold;
|
||||
padding-top: 0;
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
.footer {
|
||||
margin-top: 50px;
|
||||
padding-top: 5px;;
|
||||
}
|
||||
}
|
1
themes/hugo-theme-console/static/hugo-theme-console/css/terminal-0.7.2.min.css
vendored
Normal file
18
themes/hugo-theme-console/theme.toml
Normal file
|
@ -0,0 +1,18 @@
|
|||
name = "hugo-theme-console"
|
||||
license = "MIT"
|
||||
licenselink = "https://github.com/mrmierzejewski/hugo-theme-console/blob/master/LICENSE"
|
||||
description = "A minimal, responsive and light theme for Hugo inspired by Linux console."
|
||||
homepage = "https://github.com/mrmierzejewski/hugo-theme-console"
|
||||
tags = ["blog", "gallery", "portfolio", "console", "terminal", "clean", "personal", "minimal", "monotone", "simple", "technical", "responsive", "mobile", "minimalist", "retro", "animation"]
|
||||
features = ["disqus", "responsive", "google analytics"]
|
||||
min_version = "0.81.0"
|
||||
|
||||
[author]
|
||||
name = "Marcin Mierzejewski"
|
||||
homepage = "https://mrmierzejewski.com"
|
||||
github = "https://github.com/mrmierzejewski"
|
||||
|
||||
[original]
|
||||
author = "Jonas D."
|
||||
homepage = "https://terminalcss.xyz/"
|
||||
repo = "https://github.com/Gioni06/terminal.css"
|
BIN
wiped.jpeg
Before Width: | Height: | Size: 147 KiB |
BIN
wiped2.jpeg
Before Width: | Height: | Size: 147 KiB |