Compare commits
2 commits
fd079ae75d
...
47eeb48648
Author | SHA1 | Date | |
---|---|---|---|
千住柱間 | 47eeb48648 | ||
千住柱間 | 74d899b351 |
22
code/blog.el
Normal file
22
code/blog.el
Normal file
|
@ -0,0 +1,22 @@
|
|||
|
||||
;; code for the simple (but powerful) automation of posts creation
|
||||
;; requires ox-hugo
|
||||
|
||||
(defvar blog-org-files-directory "/mnt/Data/Documents/org-files/org/blog/")
|
||||
|
||||
;; where the posts will be converted
|
||||
(setq org-hugo-base-dir "/mnt/Data/watashinoblog/")
|
||||
|
||||
|
||||
(defun generate-blog-file-path ()
|
||||
(concat blog-org-files-directory "/"
|
||||
(format-time-string "%Y-%m-%d-%H-%M-%S") ".org"))
|
||||
|
||||
|
||||
(setq org-capture-templates
|
||||
`(("b" "Blog Post" entry
|
||||
(file ,(lambda () (generate-blog-file-path))) ; Target file path generation
|
||||
"* %?\n#+EXPORT_HUGO_DRAFT: true\n#+EXPORT_HUGO_SECTION_FRAG: \n#+TITLE: %^{Title}\n#+DATE: %U\n#+AUTHOR: Hashirama\n#+FILETAGS: %^{Tags}\n#+UPDATED: %U\n#+CREATED: %<%Y-%m-%d %a %H:%M>\n"
|
||||
:empty-lines 1 ; Ensure an empty line after the captured content
|
||||
:prepend t ; Insert content at the beginning of the file
|
||||
:jump-to-captured t))) ; Jump to the captured position after capture
|
|
@ -1,61 +0,0 @@
|
|||
<!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>
|
|
@ -1,69 +0,0 @@
|
|||
<!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>
|
|
@ -1,11 +0,0 @@
|
|||
<?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>
|
File diff suppressed because one or more lines are too long
|
@ -1,279 +0,0 @@
|
|||
@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;;
|
||||
}
|
||||
}
|
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,82 +0,0 @@
|
|||
<!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>
|
|
@ -1,11 +0,0 @@
|
|||
<?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>
|
|
@ -1,23 +0,0 @@
|
|||
<?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>
|
|
@ -1,69 +0,0 @@
|
|||
<!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>
|
|
@ -1,11 +0,0 @@
|
|||
<?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>
|
63
themes/default/base.tmpl
Normal file
63
themes/default/base.tmpl
Normal file
|
@ -0,0 +1,63 @@
|
|||
{namespace coleslaw.theme.hyde}
|
||||
|
||||
{template base}
|
||||
<!doctype html>{\n}
|
||||
<html lang="{$config.lang}">
|
||||
<head>
|
||||
<title>{$config.title}</title>
|
||||
<meta http-equiv="content-type" content="text/html;" charset="{$config.charset}" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link href="//fonts.googleapis.com/css?family=Vollkorn:regular,italic,bold,bolditalic" rel="stylesheet" type="text/css" />
|
||||
<link href="//fonts.googleapis.com/css?family=Inconsolata" rel="stylesheet" type="text/css" />
|
||||
<link href= "{$config.domain}/css/style.css" rel="stylesheet" type="text/css" />
|
||||
<link rel="alternate" href="{$config.domain}/rss.xml" type="application/rss+xml" />
|
||||
{if $injections.head}
|
||||
{foreach $injection in $injections.head}
|
||||
{$injection |noAutoescape}
|
||||
{/foreach}
|
||||
{/if}
|
||||
</head>
|
||||
<body>
|
||||
<div class="navigation">
|
||||
<a href="{$config.domain}">{$config.title}</a> |
|
||||
{foreach $link in $config.sitenav}
|
||||
{if $link.relative}
|
||||
<a href="{$config.domain}/{$link.url}">{$link.name}</a>
|
||||
{else}
|
||||
<a href="{$link.url}">{$link.name}</a>
|
||||
{/if}
|
||||
{if not isLast($link)} {sp}|{sp} {/if}
|
||||
{/foreach}
|
||||
</div>
|
||||
<div id="content">
|
||||
{$raw |noAutoescape}
|
||||
</div>
|
||||
{if $injections.body}
|
||||
{foreach $injection in $injections.body}
|
||||
{$injection |noAutoescape}
|
||||
{/foreach}
|
||||
{/if}
|
||||
<div class="fineprint">
|
||||
<hr>
|
||||
Unless otherwise credited all material
|
||||
{if $config.license}
|
||||
{$config.license}
|
||||
{else}
|
||||
<a rel="license" href="https://creativecommons.org/licenses/by-nc-nd/4.0/deed.en">
|
||||
<img alt="Creative Commons License" style="border-width:0" src="{$config.domain}/css/cc-by-nc-nd.png" />
|
||||
</a>
|
||||
{/if}
|
||||
by {$config.author}
|
||||
<a id="coleslaw-logo" href="https://github.com/redline6561/coleslaw">
|
||||
<img src="{$config.domain}/css/logo_small.jpg" alt="Coleslaw logo" />
|
||||
</a>
|
||||
|
||||
<a
|
||||
id="lisp-logo" >
|
||||
<img src="{$config.domain}/css/lisp-warning.webp" alt="LISP logo" width="100px" />
|
||||
</a>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
{/template}
|
63
themes/default/base.tmpl~
Normal file
63
themes/default/base.tmpl~
Normal file
|
@ -0,0 +1,63 @@
|
|||
{namespace coleslaw.theme.hyde}
|
||||
|
||||
{template base}
|
||||
<!doctype html>{\n}
|
||||
<html lang="{$config.lang}">
|
||||
<head>
|
||||
<title>{$config.title}</title>
|
||||
<meta http-equiv="content-type" content="text/html;" charset="{$config.charset}" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link href="//fonts.googleapis.com/css?family=Vollkorn:regular,italic,bold,bolditalic" rel="stylesheet" type="text/css" />
|
||||
<link href="//fonts.googleapis.com/css?family=Inconsolata" rel="stylesheet" type="text/css" />
|
||||
<link href= "{$config.domain}/css/style.css" rel="stylesheet" type="text/css" />
|
||||
<link rel="alternate" href="{$config.domain}/rss.xml" type="application/rss+xml" />
|
||||
{if $injections.head}
|
||||
{foreach $injection in $injections.head}
|
||||
{$injection |noAutoescape}
|
||||
{/foreach}
|
||||
{/if}
|
||||
</head>
|
||||
<body>
|
||||
<div class="navigation">
|
||||
<a href="{$config.domain}">{$config.title}</a> |
|
||||
{foreach $link in $config.sitenav}
|
||||
{if $link.relative}
|
||||
<a href="{$config.domain}/{$link.url}">{$link.name}</a>
|
||||
{else}
|
||||
<a href="{$link.url}">{$link.name}</a>
|
||||
{/if}
|
||||
{if not isLast($link)} {sp}|{sp} {/if}
|
||||
{/foreach}
|
||||
</div>
|
||||
<div id="content">
|
||||
{$raw |noAutoescape}
|
||||
</div>
|
||||
{if $injections.body}
|
||||
{foreach $injection in $injections.body}
|
||||
{$injection |noAutoescape}
|
||||
{/foreach}
|
||||
{/if}
|
||||
<div class="fineprint">
|
||||
<hr>
|
||||
Unless otherwise credited all material
|
||||
{if $config.license}
|
||||
{$config.license}
|
||||
{else}
|
||||
<a rel="license" href="https://creativecommons.org/licenses/by-nc-nd/4.0/deed.en">
|
||||
<img alt="Creative Commons License" style="border-width:0" src="{$config.domain}/css/cc-by-nc-nd.png" />
|
||||
</a>
|
||||
{/if}
|
||||
by {$config.author}
|
||||
<a id="coleslaw-logo" href="https://github.com/redline6561/coleslaw">
|
||||
<img src="{$config.domain}/css/logo_small.jpg" alt="Coleslaw logo" />
|
||||
</a>
|
||||
|
||||
<a
|
||||
id="lisp-logo" >
|
||||
<img src="{$config.domain}/css/lisp_warning.webp" alt="LISP logo" width="100px" />
|
||||
</a>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
{/template}
|
BIN
themes/default/css/AsebiMin-Light.otf
Normal file
BIN
themes/default/css/AsebiMin-Light.otf
Normal file
Binary file not shown.
BIN
themes/default/css/cc-by-nc-nd.png
Normal file
BIN
themes/default/css/cc-by-nc-nd.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 461 B |
BIN
themes/default/css/lisp-warning.webp
Normal file
BIN
themes/default/css/lisp-warning.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 22 KiB |
BIN
themes/default/css/logo_large.jpg
Normal file
BIN
themes/default/css/logo_large.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 52 KiB |
BIN
themes/default/css/logo_medium.jpg
Normal file
BIN
themes/default/css/logo_medium.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 26 KiB |
BIN
themes/default/css/logo_small.jpg
Normal file
BIN
themes/default/css/logo_small.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 20 KiB |
101
themes/default/css/style.css
Normal file
101
themes/default/css/style.css
Normal file
|
@ -0,0 +1,101 @@
|
|||
#content { background: #fff; padding-top: 1em }
|
||||
#header { float: right; margin-left: 1em; margin-bottom: 1em }
|
||||
#coleslaw-logo { float: right; }
|
||||
#lisp-logo { float: left; margin-left: 4em; margin-bottom: 1em; margin-top: 1em}
|
||||
a { text-decoration: none; color: #992900 }
|
||||
a.anchor { color: black }
|
||||
.date { font-style: italic }
|
||||
.title { margin-left: 1em }
|
||||
.article-meta { margin-left: 2.2em; margin-bottom: 2.2em }
|
||||
.archive-title { font-size: 1em } .article-title { font-size: 2em }
|
||||
.article-content { margin-left: 2.2em }
|
||||
.fineprint { text-align: center; font-size: .9em; margin-top: .5em }
|
||||
.tag-low { font-size: .8em; font-weight: 200 }
|
||||
.tag-medium { font-size: 1.2em; font-weight: 600 }
|
||||
.tag-high { font-size: 1.8em; font-weight: 800 }
|
||||
.navigation { font-size: 1.2em; border-bottom: 1px solid }
|
||||
body { background-color: white; font-family: Vollkorn; font-size: 14pt }
|
||||
pre { overflow: auto; margin-left: 1em; padding: 0.5em; border-left: 1px dashed;
|
||||
background-color: white; padding: .75em .5em; font-family: (unquote mono-font) }
|
||||
tt { font-size: .9em; font-family: (unquote mono-font) }
|
||||
|
||||
/* Stolen from lisppaste for the colorize output of 3bmd */
|
||||
.paste { background-color: #F4F4F4; color: black; }
|
||||
.paste:hover { background-color: #F4F4F4; color: black; }
|
||||
.symbol { color : #770055; background-color : transparent; border: 0px; margin: 0px;}
|
||||
.special { color : #FF5000; background-color : inherit; }
|
||||
.keyword { color : #770000; background-color : inherit; }
|
||||
.comment { color : #007777; background-color : inherit; }
|
||||
.string { color : #777777; background-color : inherit; }
|
||||
.atom { color : #314F4F; background-color : inherit; }
|
||||
.macro { color : #FF5000; background-color : inherit; }
|
||||
.variable { color : #36648B; background-color : inherit; }
|
||||
.function { color : #8B4789; background-color : inherit; }
|
||||
.attribute { color : #FF5000; background-color : inherit; }
|
||||
.character { color : #0055AA; background-color : inherit; }
|
||||
.syntaxerror { color : #FF0000; background-color : inherit; }
|
||||
.diff-deleted { color : #5F2121; background-color : inherit; }
|
||||
.diff-added { color : #215F21; background-color : inherit; }
|
||||
span.paren1 { background-color : inherit; -webkit-transition: background-color 0.2s linear; }
|
||||
span.paren1:hover { color : inherit; background-color : #BAFFFF; }
|
||||
span.paren2 { background-color : inherit; -webkit-transition: background-color 0.2s linear; }
|
||||
span.paren2:hover { color : inherit; background-color : #FFCACA; }
|
||||
span.paren3 { background-color : inherit; -webkit-transition: background-color 0.2s linear; }
|
||||
span.paren3:hover { color : inherit; background-color : #FFFFBA; }
|
||||
span.paren4 { background-color : inherit; -webkit-transition: background-color 0.2s linear; }
|
||||
span.paren4:hover { color : inherit; background-color : #CACAFF; }
|
||||
span.paren5 { background-color : inherit; -webkit-transition: background-color 0.2s linear; }
|
||||
span.paren5:hover { color : inherit; background-color : #CAFFCA; }
|
||||
span.paren6 { background-color : inherit; -webkit-transition: background-color 0.2s linear; }
|
||||
span.paren6:hover { color : inherit; background-color : #FFBAFF; }
|
||||
|
||||
@media (max-width: 680px) {
|
||||
|
||||
#content {
|
||||
padding-top: 0em
|
||||
}
|
||||
|
||||
.title {
|
||||
margin-left: 0.1em;
|
||||
}
|
||||
|
||||
.article-meta {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
.article-meta, .article-content {
|
||||
float: left;
|
||||
margin-left: 0em;
|
||||
margin-right: 0em;
|
||||
width: 90%;
|
||||
padding-left: 5%;
|
||||
}
|
||||
|
||||
.article, .article-content {
|
||||
margin-left: 0em;
|
||||
text-align: justify;
|
||||
}
|
||||
|
||||
img {
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#coleslaw-logo {
|
||||
float: none;
|
||||
}
|
||||
|
||||
#coleslaw-logo img {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
float: none;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.fineprint a img {
|
||||
width: auto;
|
||||
clear: both;
|
||||
}
|
||||
}
|
101
themes/default/css/style.css~
Normal file
101
themes/default/css/style.css~
Normal file
|
@ -0,0 +1,101 @@
|
|||
#content { background: #fff; padding-top: 1em }
|
||||
#header { float: right; margin-left: 1em; margin-bottom: 1em }
|
||||
#coleslaw-logo { float: right; }
|
||||
#lisp-logo { float: left; margin-left: 5em; margin-bottom: 1em }
|
||||
a { text-decoration: none; color: #992900 }
|
||||
a.anchor { color: black }
|
||||
.date { font-style: italic }
|
||||
.title { margin-left: 1em }
|
||||
.article-meta { margin-left: 2.2em; margin-bottom: 2.2em }
|
||||
.archive-title { font-size: 1em } .article-title { font-size: 2em }
|
||||
.article-content { margin-left: 2.2em }
|
||||
.fineprint { text-align: center; font-size: .9em; margin-top: .5em }
|
||||
.tag-low { font-size: .8em; font-weight: 200 }
|
||||
.tag-medium { font-size: 1.2em; font-weight: 600 }
|
||||
.tag-high { font-size: 1.8em; font-weight: 800 }
|
||||
.navigation { font-size: 1.2em; border-bottom: 1px solid }
|
||||
body { background-color: white; font-family: Vollkorn; font-size: 14pt }
|
||||
pre { overflow: auto; margin-left: 1em; padding: 0.5em; border-left: 1px dashed;
|
||||
background-color: white; padding: .75em .5em; font-family: (unquote mono-font) }
|
||||
tt { font-size: .9em; font-family: (unquote mono-font) }
|
||||
|
||||
/* Stolen from lisppaste for the colorize output of 3bmd */
|
||||
.paste { background-color: #F4F4F4; color: black; }
|
||||
.paste:hover { background-color: #F4F4F4; color: black; }
|
||||
.symbol { color : #770055; background-color : transparent; border: 0px; margin: 0px;}
|
||||
.special { color : #FF5000; background-color : inherit; }
|
||||
.keyword { color : #770000; background-color : inherit; }
|
||||
.comment { color : #007777; background-color : inherit; }
|
||||
.string { color : #777777; background-color : inherit; }
|
||||
.atom { color : #314F4F; background-color : inherit; }
|
||||
.macro { color : #FF5000; background-color : inherit; }
|
||||
.variable { color : #36648B; background-color : inherit; }
|
||||
.function { color : #8B4789; background-color : inherit; }
|
||||
.attribute { color : #FF5000; background-color : inherit; }
|
||||
.character { color : #0055AA; background-color : inherit; }
|
||||
.syntaxerror { color : #FF0000; background-color : inherit; }
|
||||
.diff-deleted { color : #5F2121; background-color : inherit; }
|
||||
.diff-added { color : #215F21; background-color : inherit; }
|
||||
span.paren1 { background-color : inherit; -webkit-transition: background-color 0.2s linear; }
|
||||
span.paren1:hover { color : inherit; background-color : #BAFFFF; }
|
||||
span.paren2 { background-color : inherit; -webkit-transition: background-color 0.2s linear; }
|
||||
span.paren2:hover { color : inherit; background-color : #FFCACA; }
|
||||
span.paren3 { background-color : inherit; -webkit-transition: background-color 0.2s linear; }
|
||||
span.paren3:hover { color : inherit; background-color : #FFFFBA; }
|
||||
span.paren4 { background-color : inherit; -webkit-transition: background-color 0.2s linear; }
|
||||
span.paren4:hover { color : inherit; background-color : #CACAFF; }
|
||||
span.paren5 { background-color : inherit; -webkit-transition: background-color 0.2s linear; }
|
||||
span.paren5:hover { color : inherit; background-color : #CAFFCA; }
|
||||
span.paren6 { background-color : inherit; -webkit-transition: background-color 0.2s linear; }
|
||||
span.paren6:hover { color : inherit; background-color : #FFBAFF; }
|
||||
|
||||
@media (max-width: 680px) {
|
||||
|
||||
#content {
|
||||
padding-top: 0em
|
||||
}
|
||||
|
||||
.title {
|
||||
margin-left: 0.1em;
|
||||
}
|
||||
|
||||
.article-meta {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
.article-meta, .article-content {
|
||||
float: left;
|
||||
margin-left: 0em;
|
||||
margin-right: 0em;
|
||||
width: 90%;
|
||||
padding-left: 5%;
|
||||
}
|
||||
|
||||
.article, .article-content {
|
||||
margin-left: 0em;
|
||||
text-align: justify;
|
||||
}
|
||||
|
||||
img {
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#coleslaw-logo {
|
||||
float: none;
|
||||
}
|
||||
|
||||
#coleslaw-logo img {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
float: none;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.fineprint a img {
|
||||
width: auto;
|
||||
clear: both;
|
||||
}
|
||||
}
|
34
themes/default/index.tmpl
Normal file
34
themes/default/index.tmpl
Normal file
|
@ -0,0 +1,34 @@
|
|||
{namespace coleslaw.theme.hyde}
|
||||
|
||||
{template index}
|
||||
<h1 class="title">{$index.title}</h1>
|
||||
{foreach $obj in $index.content}
|
||||
<div class="article-meta">
|
||||
<a class="article-title" href="{$config.domain}/{$obj.url}">{$obj.title}</a>
|
||||
<div class="date"> posted on {$obj.date}</div>
|
||||
<div class="article">{$obj.excerpt |noAutoescape}</div>
|
||||
</div>
|
||||
{/foreach}
|
||||
<div id="relative-nav">
|
||||
{if $prev} <a href="{$config.domain}/{$prev.url}">Previous</a> {/if}
|
||||
{if $next} <a href="{$config.domain}/{$next.url}">Next</a> {/if}
|
||||
</div>
|
||||
{if $tags}
|
||||
<div id="tagsoup">
|
||||
<p>This blog covers
|
||||
{foreach $tag in $tags}
|
||||
<a href="{$config.domain}/{$tag.url}">{$tag.name}</a>{nil}
|
||||
{if not isLast($tag)},{sp}{/if}
|
||||
{/foreach}
|
||||
</div>
|
||||
{/if}
|
||||
{if $months}
|
||||
<div id="monthsoup">
|
||||
<p>View content from
|
||||
{foreach $month in $months}
|
||||
<a href="{$config.domain}/{$month.url}">{$month.name}</a>{nil}
|
||||
{if not isLast($month)},{sp}{/if}
|
||||
{/foreach}
|
||||
</div>
|
||||
{/if}
|
||||
{/template}
|
27
themes/default/post.tmpl
Normal file
27
themes/default/post.tmpl
Normal file
|
@ -0,0 +1,27 @@
|
|||
{namespace coleslaw.theme.hyde}
|
||||
|
||||
{template post}
|
||||
<div class="article-meta">{\n}
|
||||
<h1 class="title">{$post.title}</h1>{\n}
|
||||
<div class="tags">{\n}
|
||||
{if $post.tags}
|
||||
Tagged as {foreach $tag in $post.tags}
|
||||
<a href="{$config.domain}/{$tag.url}">{$tag.name}</a>{nil}
|
||||
{if not isLast($tag)},{sp}{/if}
|
||||
{/foreach}
|
||||
{/if}
|
||||
</div>{\n}
|
||||
<div class="date">{\n}
|
||||
{if $post.date}
|
||||
Written on {$post.date}
|
||||
{/if}
|
||||
</div>{\n}
|
||||
</div>{\n}
|
||||
<div class="article-content">{\n}
|
||||
{$post.text |noAutoescape}
|
||||
</div>{\n}
|
||||
<div class="relative-nav">{\n}
|
||||
{if $prev} <a href="{$config.domain}/{$prev.url}">Previous</a><br> {/if}{\n}
|
||||
{if $next} <a href="{$config.domain}/{$next.url}">Next</a><br> {/if}{\n}
|
||||
</div>{\n}
|
||||
{/template}
|
|
@ -3,7 +3,7 @@
|
|||
<h1>About</h1>
|
||||
|
||||
<p>
|
||||
Console is a minimal, responsive and light theme for Hugo inspired by Linux console. <a href="about/">(more)</a>
|
||||
<a href="https://ajattix.loophole.site/">ajattix</a> is a organization that cares about preservation of software libre, specially related to language learning.</a>
|
||||
</p>
|
||||
<br/>
|
||||
|
||||
|
@ -39,4 +39,4 @@ Console is a minimal, responsive and light theme for Hugo inspired by Linux cons
|
|||
{{ end }}
|
||||
</div>
|
||||
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
|
42
themes/hugo-theme-console/layouts/index.html~
Normal file
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 }}
|
Loading…
Reference in a new issue