mirror of
https://github.com/JimenezJC/mshj_blog.git
synced 2025-12-06 05:09:55 -05:00
Initial Blog Commit
This commit is contained in:
commit
07775036ce
92 changed files with 4980 additions and 0 deletions
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
[submodule "themes/ananke"]
|
||||
path = themes/ananke
|
||||
url = https://github.com/theNewDynamic/gohugo-theme-ananke.git
|
||||
0
.hugo_build.lock
Normal file
0
.hugo_build.lock
Normal file
10
archetypes/default.md
Normal file
10
archetypes/default.md
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
title: "{{ replace .Name "-" " " | title }}"
|
||||
date: {{ .Date }}
|
||||
draft: true
|
||||
description: ""
|
||||
image: ""
|
||||
categories: []
|
||||
|
||||
---
|
||||
|
||||
12
content/posts/hi-post.md
Normal file
12
content/posts/hi-post.md
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
---
|
||||
title: "Hello World"
|
||||
date: 2024-04-04T02:46:07-04:00
|
||||
draft: false
|
||||
categories: ["Terminal", "Hugo"]
|
||||
tags: ["css", "terminal-style", "tutorial"]
|
||||
description: "this is quick description of this post"
|
||||
|
||||
---
|
||||
|
||||
# yoooo
|
||||
this is one of my first articles homies. so i wil try my best to write it the best i can
|
||||
8
content/posts/new-test-post.md
Normal file
8
content/posts/new-test-post.md
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
title: "New Test Post"
|
||||
date: 2024-04-04T02:35:21-04:00
|
||||
draft: false
|
||||
params:
|
||||
topic: Games
|
||||
---
|
||||
|
||||
12
content/posts/test-post.md
Normal file
12
content/posts/test-post.md
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
---
|
||||
title: "Test Post"
|
||||
date: 2023-07-22T23:03:09-04:00
|
||||
draft: False
|
||||
categories: ['Games']
|
||||
---
|
||||
|
||||
## Introduction
|
||||
|
||||
This is **bold** text, and this is *emphasized* text.
|
||||
|
||||
Visit the [Hugo](https://gohugo.io) website!
|
||||
5
content/projects/project.md
Normal file
5
content/projects/project.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Project uno
|
||||
date: 2024-04-04T02:35:21-04:00
|
||||
description: this is a description of my project very very nice
|
||||
---
|
||||
14
hugo.toml
Normal file
14
hugo.toml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
baseURL = '/'
|
||||
languageCode = 'en-us'
|
||||
title = 'mshj.net'
|
||||
theme = 'terminal'
|
||||
|
||||
# Enable tags and categories
|
||||
[taxonomies]
|
||||
category = "categories"
|
||||
tag = "tags"
|
||||
|
||||
# Define permalinks (important for taxonomy URLs)
|
||||
[permalinks]
|
||||
tags = "/tags/:slug/"
|
||||
categories = "/categories/:slug/"
|
||||
79
public/2023/07/test-post/index.html
Normal file
79
public/2023/07/test-post/index.html
Normal file
|
|
@ -0,0 +1,79 @@
|
|||
<!DOCTYPE html>
|
||||
<html><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script><meta name="theme-color" content="#ffffff">
|
||||
<link rel="stylesheet" href="https://unpkg.com/terminal.css@0.7.2/dist/terminal.min.css" />
|
||||
<link rel="stylesheet" href="/css/styles.css"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head><body><header class="homepage-header">
|
||||
|
||||
</header><div id="content"><header class="homepage-header">
|
||||
<div class="container">
|
||||
<div class = "header-container">
|
||||
<h1><a href="/">mshj.net</a></h1>
|
||||
<span id="mini-header" class="mini-header"></span>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<script src="js/topbar.js"></script>
|
||||
<main>
|
||||
<div class="container">
|
||||
|
||||
<div class="components components-grid">
|
||||
<div>
|
||||
<aside id="menu">
|
||||
<img src="/images/punpun.jpg" alt="keeper pfp">
|
||||
</aside>
|
||||
<h3>go home</h3>
|
||||
<nav>
|
||||
<ul>
|
||||
<li>blog posts</li>
|
||||
<br>
|
||||
<li>categories</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/games/">Games</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/hugo/">Hugo</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/terminal/">Terminal</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<div>
|
||||
<main>
|
||||
<article class="card-container">
|
||||
<header><h1>Test Post</h1></header>
|
||||
<div class="content-wrapper">
|
||||
|
||||
<p>2023-07-22</p>
|
||||
<div class="tag-list">
|
||||
<strong>Categories:</strong>
|
||||
|
||||
<a href="/categories/games" class="tag-link">Games</a>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<br>
|
||||
|
||||
<h2 id="introduction">Introduction</h2>
|
||||
<p>This is <strong>bold</strong> text, and this is <em>emphasized</em> text.</p>
|
||||
<p>Visit the <a href="https://gohugo.io">Hugo</a> website!</p>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</div></body>
|
||||
|
||||
</html>
|
||||
91
public/2024/04/hello-world/index.html
Normal file
91
public/2024/04/hello-world/index.html
Normal file
|
|
@ -0,0 +1,91 @@
|
|||
<!DOCTYPE html>
|
||||
<html><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script><meta name="theme-color" content="#ffffff">
|
||||
<link rel="stylesheet" href="https://unpkg.com/terminal.css@0.7.2/dist/terminal.min.css" />
|
||||
<link rel="stylesheet" href="/css/styles.css"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head><body><header class="homepage-header">
|
||||
|
||||
</header><div id="content"><header class="homepage-header">
|
||||
<div class="container">
|
||||
<div class = "header-container">
|
||||
<h1><a href="/">mshj.net</a></h1>
|
||||
<span id="mini-header" class="mini-header"></span>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<script src="js/topbar.js"></script>
|
||||
<main>
|
||||
<div class="container">
|
||||
|
||||
<div class="components components-grid">
|
||||
<div>
|
||||
<aside id="menu">
|
||||
<img src="/images/punpun.jpg" alt="keeper pfp">
|
||||
</aside>
|
||||
<h3>go home</h3>
|
||||
<nav>
|
||||
<ul>
|
||||
<li>blog posts</li>
|
||||
<br>
|
||||
<li>categories</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/games/">Games</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/hugo/">Hugo</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/terminal/">Terminal</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<div>
|
||||
<main>
|
||||
<article class="card-container">
|
||||
<header><h1>Hello World</h1></header>
|
||||
<div class="content-wrapper">
|
||||
|
||||
<p>2024-04-04</p>
|
||||
<div class="tag-list">
|
||||
<strong>Categories:</strong>
|
||||
|
||||
<a href="/categories/terminal" class="tag-link">Terminal</a>
|
||||
|
||||
<a href="/categories/hugo" class="tag-link">Hugo</a>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="tag-list">
|
||||
<strong>Tags:</strong>
|
||||
|
||||
<a href="/tags/css" class="tag-link">css</a>
|
||||
|
||||
<a href="/tags/terminal-style" class="tag-link">terminal-style</a>
|
||||
|
||||
<a href="/tags/tutorial" class="tag-link">tutorial</a>
|
||||
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
<h1 id="yoooo">yoooo</h1>
|
||||
<p>this is one of my first articles homies. so i wil try my best to write it the best i can</p>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</div></body>
|
||||
|
||||
</html>
|
||||
87
public/2024/04/hi-post/index.html
Normal file
87
public/2024/04/hi-post/index.html
Normal file
|
|
@ -0,0 +1,87 @@
|
|||
<!DOCTYPE html>
|
||||
<html><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script><meta name="theme-color" content="#ffffff">
|
||||
<link rel="stylesheet" href="https://unpkg.com/terminal.css@0.7.2/dist/terminal.min.css" />
|
||||
<link rel="stylesheet" href="/css/styles.css"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head><body><header class="homepage-header">
|
||||
|
||||
</header><div id="content"><header class="homepage-header">
|
||||
<div class="container">
|
||||
<div class = "header-container">
|
||||
<h1><a href="/">mshj.net</a></h1>
|
||||
<span id="mini-header" class="mini-header"></span>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<script src="js/topbar.js"></script>
|
||||
<main>
|
||||
<div class="container">
|
||||
|
||||
<div class="components components-grid">
|
||||
<div>
|
||||
<aside id="menu">
|
||||
<img src="/images/punpun.jpg" alt="keeper pfp">
|
||||
</aside>
|
||||
<h3>go home</h3>
|
||||
<nav>
|
||||
<ul>
|
||||
<li>blog posts</li>
|
||||
<br>
|
||||
<li>categories</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/hugo/">Hugo</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/terminal/">Terminal</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<div>
|
||||
<main>
|
||||
<article class="card-container">
|
||||
<header><h1>Hi Post</h1></header>
|
||||
<div class="content-wrapper">
|
||||
|
||||
<p>2024-04-04</p>
|
||||
<div class="tag-list">
|
||||
<strong>Categories:</strong>
|
||||
|
||||
<a href="/categories/terminal" class="tag-link">Terminal</a>
|
||||
|
||||
<a href="/categories/hugo" class="tag-link">Hugo</a>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="tag-list">
|
||||
<strong>Tags:</strong>
|
||||
|
||||
<a href="/tags/css" class="tag-link">css</a>
|
||||
|
||||
<a href="/tags/terminal-style" class="tag-link">terminal-style</a>
|
||||
|
||||
<a href="/tags/tutorial" class="tag-link">tutorial</a>
|
||||
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
<h1 id="yoooo">yoooo</h1>
|
||||
<p>this is one of my first articles homies. so i wil try my best to write it the best i can</p>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</div></body>
|
||||
|
||||
</html>
|
||||
68
public/2024/04/new-test-post/index.html
Normal file
68
public/2024/04/new-test-post/index.html
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
<!DOCTYPE html>
|
||||
<html><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script><meta name="theme-color" content="#ffffff">
|
||||
<link rel="stylesheet" href="https://unpkg.com/terminal.css@0.7.2/dist/terminal.min.css" />
|
||||
<link rel="stylesheet" href="/css/styles.css"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head><body><header class="homepage-header">
|
||||
|
||||
</header><div id="content"><header class="homepage-header">
|
||||
<div class="container">
|
||||
<div class = "header-container">
|
||||
<h1><a href="/">mshj.net</a></h1>
|
||||
<span id="mini-header" class="mini-header"></span>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<script src="js/topbar.js"></script>
|
||||
<main>
|
||||
<div class="container">
|
||||
|
||||
<div class="components components-grid">
|
||||
<div>
|
||||
<aside id="menu">
|
||||
<img src="/images/punpun.jpg" alt="keeper pfp">
|
||||
</aside>
|
||||
<h3>go home</h3>
|
||||
<nav>
|
||||
<ul>
|
||||
<li>blog posts</li>
|
||||
<br>
|
||||
<li>categories</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/games/">Games</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/hugo/">Hugo</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/terminal/">Terminal</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<div>
|
||||
<main>
|
||||
<article class="card-container">
|
||||
<header><h1>New Test Post</h1></header>
|
||||
<div class="content-wrapper">
|
||||
|
||||
|
||||
<br>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</div></body>
|
||||
|
||||
</html>
|
||||
75
public/404.html
Normal file
75
public/404.html
Normal file
|
|
@ -0,0 +1,75 @@
|
|||
<!DOCTYPE html>
|
||||
<html><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script><meta name="theme-color" content="#ffffff">
|
||||
<link rel="stylesheet" href="https://unpkg.com/terminal.css@0.7.2/dist/terminal.min.css" />
|
||||
<link rel="stylesheet" href="/css/styles.css"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head><body><header class="homepage-header">
|
||||
|
||||
</header><div id="content"><header class="homepage-header">
|
||||
<div class="container">
|
||||
<div class = "header-container">
|
||||
<h1><a href="/">mshj.net</a></h1>
|
||||
<span id="mini-header" class="mini-header"></span>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<script src="/js/topbar.js"></script>
|
||||
<main>
|
||||
<div class="container">
|
||||
|
||||
<div class="components components-grid">
|
||||
<div>
|
||||
<aside id="menu">
|
||||
<img src="/images/punpun.jpg" alt="keeper pfp">
|
||||
|
||||
<h3>go home</h3>
|
||||
<nav>
|
||||
<ul>
|
||||
<li>blog posts</li>
|
||||
<br>
|
||||
<li>categories</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/games/">Games</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/hugo/">Hugo</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/terminal/">Terminal</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</aside>
|
||||
</div>
|
||||
<div class = "main-content">
|
||||
<main>
|
||||
|
||||
<h1>404</h1>
|
||||
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</div><footer class="site-footer">
|
||||
<nav class="footer-nav">
|
||||
<a href="https://github.com/jimenezjc" target="_blank" rel="noopener noreferrer">
|
||||
<svg
|
||||
width="24"
|
||||
height="24"
|
||||
viewBox="0 0 24 24"
|
||||
fill="currentColor"
|
||||
style="display: inline-block; vertical-align: middle;"
|
||||
>
|
||||
<path d="M12 0C5.373 0 0 5.373 0 12c0 5.302 3.438 9.8 8.207 11.387.6.113.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23A11.509 11.509 0 0112 5.803c1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576C20.566 21.797 24 17.3 24 12c0-6.627-4.373-12-12-12z"/>
|
||||
</svg>
|
||||
|
||||
</a>
|
||||
</nav>
|
||||
<p>Made by Mshj | <a href = "terminal.css.xyz">Credits to Terminal.css</a></p>
|
||||
</footer></body>
|
||||
|
||||
</html>
|
||||
88
public/categories/games/index.html
Normal file
88
public/categories/games/index.html
Normal file
|
|
@ -0,0 +1,88 @@
|
|||
<!DOCTYPE html>
|
||||
<html><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script><meta name="theme-color" content="#ffffff">
|
||||
<link rel="stylesheet" href="https://unpkg.com/terminal.css@0.7.2/dist/terminal.min.css" />
|
||||
<link rel="stylesheet" href="/css/styles.css"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head><body><header class="homepage-header">
|
||||
|
||||
</header><div id="content"><header class="homepage-header">
|
||||
<div class="container">
|
||||
<div class = "header-container">
|
||||
<h1><a href="/">mshj.net</a></h1>
|
||||
<span id="mini-header" class="mini-header"></span>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<script src="/js/topbar.js"></script>
|
||||
<main>
|
||||
<div class="container">
|
||||
|
||||
<div class="components components-grid">
|
||||
<div>
|
||||
<aside id="menu">
|
||||
<img src="/images/punpun.jpg" alt="keeper pfp">
|
||||
|
||||
<h3>go home</h3>
|
||||
<nav>
|
||||
<ul>
|
||||
<li>blog posts</li>
|
||||
<br>
|
||||
<li>categories</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/games/">Games</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/hugo/">Hugo</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/terminal/">Terminal</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</aside>
|
||||
</div>
|
||||
<div class = "main-content">
|
||||
<main>
|
||||
<div class="card-container">
|
||||
<header>Category: Games</header>
|
||||
<div class="content-wrapper">
|
||||
<ul class="menu-list">
|
||||
|
||||
<li class = "post-list">
|
||||
<h3 class="post-list-title"><a href="/posts/test-post/">Test Post</a></h3>
|
||||
<span class="meta-info">2023-07-22</span>
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</div><footer class="site-footer">
|
||||
<nav class="footer-nav">
|
||||
<a href="https://github.com/jimenezjc" target="_blank" rel="noopener noreferrer">
|
||||
<svg
|
||||
width="24"
|
||||
height="24"
|
||||
viewBox="0 0 24 24"
|
||||
fill="currentColor"
|
||||
style="display: inline-block; vertical-align: middle;"
|
||||
>
|
||||
<path d="M12 0C5.373 0 0 5.373 0 12c0 5.302 3.438 9.8 8.207 11.387.6.113.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23A11.509 11.509 0 0112 5.803c1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576C20.566 21.797 24 17.3 24 12c0-6.627-4.373-12-12-12z"/>
|
||||
</svg>
|
||||
|
||||
</a>
|
||||
</nav>
|
||||
<p>Made by Mshj | <a href = "terminal.css.xyz">Credits to Terminal.css</a></p>
|
||||
</footer></body>
|
||||
|
||||
</html>
|
||||
19
public/categories/games/index.xml
Normal file
19
public/categories/games/index.xml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>Games on mshj.net</title>
|
||||
<link>//localhost:1313/categories/games/</link>
|
||||
<description>Recent content in Games on mshj.net</description>
|
||||
<generator>Hugo</generator>
|
||||
<language>en-us</language>
|
||||
<lastBuildDate>Sat, 22 Jul 2023 23:03:09 -0400</lastBuildDate>
|
||||
<atom:link href="//localhost:1313/categories/games/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>Test Post</title>
|
||||
<link>//localhost:1313/posts/test-post/</link>
|
||||
<pubDate>Sat, 22 Jul 2023 23:03:09 -0400</pubDate>
|
||||
<guid>//localhost:1313/posts/test-post/</guid>
|
||||
<description><h2 id="introduction">Introduction</h2>
<p>This is <strong>bold</strong> text, and this is <em>emphasized</em> text.</p>
<p>Visit the <a href="https://gohugo.io">Hugo</a> website!</p></description>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
89
public/categories/hugo/index.html
Normal file
89
public/categories/hugo/index.html
Normal file
|
|
@ -0,0 +1,89 @@
|
|||
<!DOCTYPE html>
|
||||
<html><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script><meta name="theme-color" content="#ffffff">
|
||||
<link rel="stylesheet" href="https://unpkg.com/terminal.css@0.7.2/dist/terminal.min.css" />
|
||||
<link rel="stylesheet" href="/css/styles.css"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head><body><header class="homepage-header">
|
||||
|
||||
</header><div id="content"><header class="homepage-header">
|
||||
<div class="container">
|
||||
<div class = "header-container">
|
||||
<h1><a href="/">mshj.net</a></h1>
|
||||
<span id="mini-header" class="mini-header"></span>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<script src="js/topbar.js"></script>
|
||||
<main>
|
||||
<div class="container">
|
||||
|
||||
<div class="components components-grid">
|
||||
<div>
|
||||
<aside id="menu">
|
||||
<img src="/images/punpun.jpg" alt="keeper pfp">
|
||||
</aside>
|
||||
<h3>go home</h3>
|
||||
<nav>
|
||||
<ul>
|
||||
<li>blog posts</li>
|
||||
<br>
|
||||
<li>categories</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/games/">Games</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/hugo/">Hugo</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/terminal/">Terminal</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<div class = "main-content">
|
||||
<main>
|
||||
<div class="card-container">
|
||||
<header>Category: Hugo</header>
|
||||
<div class="content-wrapper">
|
||||
<ul class="menu-list">
|
||||
|
||||
<li class = "post-list">
|
||||
<h3 class="post-list-title"><a href="/posts/hi-post/">Hello World</a></h3>
|
||||
<span class="meta-info">2024-04-04</span>
|
||||
|
||||
<p>this is quick description of this post</p>
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</div><footer class="site-footer">
|
||||
<nav class="footer-nav">
|
||||
<a href="https://github.com/jimenezjc" target="_blank" rel="noopener noreferrer">
|
||||
<svg
|
||||
width="24"
|
||||
height="24"
|
||||
viewBox="0 0 24 24"
|
||||
fill="currentColor"
|
||||
style="display: inline-block; vertical-align: middle;"
|
||||
>
|
||||
<path d="M12 0C5.373 0 0 5.373 0 12c0 5.302 3.438 9.8 8.207 11.387.6.113.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23A11.509 11.509 0 0112 5.803c1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576C20.566 21.797 24 17.3 24 12c0-6.627-4.373-12-12-12z"/>
|
||||
</svg>
|
||||
|
||||
</a>
|
||||
</nav>
|
||||
<p>Made by Mshj | <a href = "terminal.css.xyz">Credits to Terminal.css</a></p>
|
||||
</footer></body>
|
||||
|
||||
</html>
|
||||
19
public/categories/hugo/index.xml
Normal file
19
public/categories/hugo/index.xml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>Hugo on mshj.net</title>
|
||||
<link>//localhost:1313/categories/hugo/</link>
|
||||
<description>Recent content in Hugo on mshj.net</description>
|
||||
<generator>Hugo</generator>
|
||||
<language>en-us</language>
|
||||
<lastBuildDate>Thu, 04 Apr 2024 02:46:07 -0400</lastBuildDate>
|
||||
<atom:link href="//localhost:1313/categories/hugo/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>Hello World</title>
|
||||
<link>//localhost:1313/posts/hi-post/</link>
|
||||
<pubDate>Thu, 04 Apr 2024 02:46:07 -0400</pubDate>
|
||||
<guid>//localhost:1313/posts/hi-post/</guid>
|
||||
<description><h1 id="yoooo">yoooo</h1>
<p>this is one of my first articles homies. so i wil try my best to write it the best i can</p></description>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
101
public/categories/index.html
Normal file
101
public/categories/index.html
Normal file
|
|
@ -0,0 +1,101 @@
|
|||
<!DOCTYPE html>
|
||||
<html><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script><meta name="theme-color" content="#ffffff">
|
||||
<link rel="stylesheet" href="https://unpkg.com/terminal.css@0.7.2/dist/terminal.min.css" />
|
||||
<link rel="stylesheet" href="/css/styles.css"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head><body><header class="homepage-header">
|
||||
|
||||
</header><div id="content"><header class="homepage-header">
|
||||
<div class="container">
|
||||
<div class = "header-container">
|
||||
<h1><a href="/">mshj.net</a></h1>
|
||||
<span id="mini-header" class="mini-header"></span>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<script src="js/topbar.js"></script>
|
||||
<main>
|
||||
<div class="container">
|
||||
|
||||
<div class="components components-grid">
|
||||
<div>
|
||||
<aside id="menu">
|
||||
<img src="/images/punpun.jpg" alt="keeper pfp">
|
||||
</aside>
|
||||
<h3>go home</h3>
|
||||
<nav>
|
||||
<ul>
|
||||
<li>blog posts</li>
|
||||
<br>
|
||||
<li>categories</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/games/">Games</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/hugo/">Hugo</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/terminal/">Terminal</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<div class = "main-content">
|
||||
<main>
|
||||
<div class="card-container">
|
||||
<header>Category: Categories</header>
|
||||
<div class="content-wrapper">
|
||||
<ul class="menu-list">
|
||||
|
||||
<li class = "post-list">
|
||||
<h3 class="post-list-title"><a href="/categories/hugo/">Hugo</a></h3>
|
||||
<span class="meta-info">2024-04-04</span>
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
<li class = "post-list">
|
||||
<h3 class="post-list-title"><a href="/categories/terminal/">Terminal</a></h3>
|
||||
<span class="meta-info">2024-04-04</span>
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
<li class = "post-list">
|
||||
<h3 class="post-list-title"><a href="/categories/games/">Games</a></h3>
|
||||
<span class="meta-info">2023-07-22</span>
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</div><footer class="site-footer">
|
||||
<nav class="footer-nav">
|
||||
<a href="https://github.com/jimenezjc" target="_blank" rel="noopener noreferrer">
|
||||
<svg
|
||||
width="24"
|
||||
height="24"
|
||||
viewBox="0 0 24 24"
|
||||
fill="currentColor"
|
||||
style="display: inline-block; vertical-align: middle;"
|
||||
>
|
||||
<path d="M12 0C5.373 0 0 5.373 0 12c0 5.302 3.438 9.8 8.207 11.387.6.113.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23A11.509 11.509 0 0112 5.803c1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576C20.566 21.797 24 17.3 24 12c0-6.627-4.373-12-12-12z"/>
|
||||
</svg>
|
||||
|
||||
</a>
|
||||
</nav>
|
||||
<p>Made by Mshj | <a href = "terminal.css.xyz">Credits to Terminal.css</a></p>
|
||||
</footer></body>
|
||||
|
||||
</html>
|
||||
33
public/categories/index.xml
Normal file
33
public/categories/index.xml
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
<?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 mshj.net</title>
|
||||
<link>//localhost:1313/categories/</link>
|
||||
<description>Recent content in Categories on mshj.net</description>
|
||||
<generator>Hugo</generator>
|
||||
<language>en-us</language>
|
||||
<lastBuildDate>Thu, 04 Apr 2024 02:46:07 -0400</lastBuildDate>
|
||||
<atom:link href="//localhost:1313/categories/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>Hugo</title>
|
||||
<link>//localhost:1313/categories/hugo/</link>
|
||||
<pubDate>Thu, 04 Apr 2024 02:46:07 -0400</pubDate>
|
||||
<guid>//localhost:1313/categories/hugo/</guid>
|
||||
<description></description>
|
||||
</item>
|
||||
<item>
|
||||
<title>Terminal</title>
|
||||
<link>//localhost:1313/categories/terminal/</link>
|
||||
<pubDate>Thu, 04 Apr 2024 02:46:07 -0400</pubDate>
|
||||
<guid>//localhost:1313/categories/terminal/</guid>
|
||||
<description></description>
|
||||
</item>
|
||||
<item>
|
||||
<title>Games</title>
|
||||
<link>//localhost:1313/categories/games/</link>
|
||||
<pubDate>Sat, 22 Jul 2023 23:03:09 -0400</pubDate>
|
||||
<guid>//localhost:1313/categories/games/</guid>
|
||||
<description></description>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
89
public/categories/terminal/index.html
Normal file
89
public/categories/terminal/index.html
Normal file
|
|
@ -0,0 +1,89 @@
|
|||
<!DOCTYPE html>
|
||||
<html><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script><meta name="theme-color" content="#ffffff">
|
||||
<link rel="stylesheet" href="https://unpkg.com/terminal.css@0.7.2/dist/terminal.min.css" />
|
||||
<link rel="stylesheet" href="/css/styles.css"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head><body><header class="homepage-header">
|
||||
|
||||
</header><div id="content"><header class="homepage-header">
|
||||
<div class="container">
|
||||
<div class = "header-container">
|
||||
<h1><a href="/">mshj.net</a></h1>
|
||||
<span id="mini-header" class="mini-header"></span>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<script src="js/topbar.js"></script>
|
||||
<main>
|
||||
<div class="container">
|
||||
|
||||
<div class="components components-grid">
|
||||
<div>
|
||||
<aside id="menu">
|
||||
<img src="/images/punpun.jpg" alt="keeper pfp">
|
||||
</aside>
|
||||
<h3>go home</h3>
|
||||
<nav>
|
||||
<ul>
|
||||
<li>blog posts</li>
|
||||
<br>
|
||||
<li>categories</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/games/">Games</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/hugo/">Hugo</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/terminal/">Terminal</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<div class = "main-content">
|
||||
<main>
|
||||
<div class="card-container">
|
||||
<header>Category: Terminal</header>
|
||||
<div class="content-wrapper">
|
||||
<ul class="menu-list">
|
||||
|
||||
<li class = "post-list">
|
||||
<h3 class="post-list-title"><a href="/posts/hi-post/">Hello World</a></h3>
|
||||
<span class="meta-info">2024-04-04</span>
|
||||
|
||||
<p>this is quick description of this post</p>
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</div><footer class="site-footer">
|
||||
<nav class="footer-nav">
|
||||
<a href="https://github.com/jimenezjc" target="_blank" rel="noopener noreferrer">
|
||||
<svg
|
||||
width="24"
|
||||
height="24"
|
||||
viewBox="0 0 24 24"
|
||||
fill="currentColor"
|
||||
style="display: inline-block; vertical-align: middle;"
|
||||
>
|
||||
<path d="M12 0C5.373 0 0 5.373 0 12c0 5.302 3.438 9.8 8.207 11.387.6.113.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23A11.509 11.509 0 0112 5.803c1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576C20.566 21.797 24 17.3 24 12c0-6.627-4.373-12-12-12z"/>
|
||||
</svg>
|
||||
|
||||
</a>
|
||||
</nav>
|
||||
<p>Made by Mshj | <a href = "terminal.css.xyz">Credits to Terminal.css</a></p>
|
||||
</footer></body>
|
||||
|
||||
</html>
|
||||
19
public/categories/terminal/index.xml
Normal file
19
public/categories/terminal/index.xml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>Terminal on mshj.net</title>
|
||||
<link>//localhost:1313/categories/terminal/</link>
|
||||
<description>Recent content in Terminal on mshj.net</description>
|
||||
<generator>Hugo</generator>
|
||||
<language>en-us</language>
|
||||
<lastBuildDate>Thu, 04 Apr 2024 02:46:07 -0400</lastBuildDate>
|
||||
<atom:link href="//localhost:1313/categories/terminal/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>Hello World</title>
|
||||
<link>//localhost:1313/posts/hi-post/</link>
|
||||
<pubDate>Thu, 04 Apr 2024 02:46:07 -0400</pubDate>
|
||||
<guid>//localhost:1313/posts/hi-post/</guid>
|
||||
<description><h1 id="yoooo">yoooo</h1>
<p>this is one of my first articles homies. so i wil try my best to write it the best i can</p></description>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
body[a="dark"]{background-color:#000;color:#fff}body[a="dark"] a{color:#79a8ff}body[a="dark"] a:visited{color:#f78fe7}body[a="dark"] details{border:thin solid #fff}body[a="dark"] details summary{color:#fff}body[a="dark"] details[open] summary{border-bottom:1px solid #fff}body[a="dark"] pre{background:#000}body[a="dark"] code:not(pre>code){background-color:#fff;color:#000}body[a="dark"] *:target{background:#2f3849;color:#fff}body[a="dark"] table,body[a="dark"] th,body[a="dark"] td{border:thin solid #fff}body[a="dark"] .toc{border:thin solid #fff;padding:1rem}body[a="dark"] figcaption{color:#000}body[a="dark"] blockquote{border:thin solid #fff}body[a="light"]{background-color:#fff;color:#000}body[a="light"] a{color:#3548cf}body[a="light"] a:visited{color:#8f0075}body[a="light"] details{border:thin solid #000}body[a="light"] details summary{color:#000}body[a="light"] details[open] summary{border-bottom:1px solid #000}body[a="light"] pre{background:#fff}body[a="light"] code:not(pre>code){background-color:#000;color:#fff}body[a="light"] *:target{background:#dae5ec;color:#000}body[a="light"] table,body[a="light"] th,body[a="light"] td{border:thin solid #000}body[a="light"] .toc{border:thin solid #000;padding:1rem}body[a="light"] figcaption{color:#595959}body[a="light"] blockquote{border:thin solid #000}@media (prefers-color-scheme: dark){body[a="auto"]{background-color:#000;color:#fff}body[a="auto"] a{color:#79a8ff}body[a="auto"] a:visited{color:#f78fe7}body[a="auto"] details{border:thin solid #fff}body[a="auto"] details summary{color:#fff}body[a="auto"] details[open] summary{border-bottom:1px solid #fff}body[a="auto"] pre{background:#000}body[a="auto"] code:not(pre>code){background-color:#fff;color:#000}body[a="auto"] *:target{background:#2f3849;color:#fff}body[a="auto"] table,body[a="auto"] th,body[a="auto"] td{border:thin solid #fff}body[a="auto"] .toc{border:thin solid #fff;padding:1rem}body[a="auto"] figcaption{color:#000}body[a="auto"] blockquote{border:thin solid #fff}}@media (prefers-color-scheme: light){body[a="auto"]{background-color:#fff;color:#000}body[a="auto"] a{color:#3548cf}body[a="auto"] a:visited{color:#8f0075}body[a="auto"] details{border:thin solid #000}body[a="auto"] details summary{color:#000}body[a="auto"] details[open] summary{border-bottom:1px solid #000}body[a="auto"] pre{background:#fff}body[a="auto"] code:not(pre>code){background-color:#000;color:#fff}body[a="auto"] *:target{background:#dae5ec;color:#000}body[a="auto"] table,body[a="auto"] th,body[a="auto"] td{border:thin solid #000}body[a="auto"] .toc{border:thin solid #000;padding:1rem}body[a="auto"] figcaption{color:#595959}body[a="auto"] blockquote{border:thin solid #000}}html{height:100%}body{font-family:monospace;font-size:16px;line-height:1.4;margin:0;min-height:100%;overflow-wrap:break-word}h2,h3,h4,h5,h6{margin-top:1.5rem}p{margin:1rem 0}li{margin:0.4rem 0}a{text-decoration:none}a:hover{text-decoration:underline}hr{text-align:center;border:0;margin:2rem 0}hr:before{content:'/////'}hr:after{content:attr(data-content) "/////"}pre{padding:1em;overflow-x:auto}table{width:100%}table,th,td{border-collapse:collapse;padding:0.4rem}code{text-size-adjust:100%;-ms-text-size-adjust:100%;-moz-text-size-adjust:100%;-webkit-text-size-adjust:100%}code:not(pre>code){padding:0.1em 0.2em;font-size:90%}code.has-jax{-webkit-font-smoothing:antialiased;background:inherit !important;border:none !important;font-size:100%}blockquote{padding:1rem}blockquote p{margin:0}img{max-width:100%;display:block;margin:0 auto}figcaption{text-align:center;opacity:0.5}details{padding:1rem}details summary{text-decoration:none}details[open] summary{margin-bottom:0.5em;padding-bottom:0.5em}.post-meta{display:flex;justify-content:space-between;align-items:center}.w{max-width:640px;margin:0 auto;padding:4rem 2rem}.toc{padding:1rem}
|
||||
|
||||
/*# sourceMappingURL=main.css.map */
|
||||
13
public/css/main.css.map
Normal file
13
public/css/main.css.map
Normal file
File diff suppressed because one or more lines are too long
334
public/css/styles.css
Normal file
334
public/css/styles.css
Normal file
|
|
@ -0,0 +1,334 @@
|
|||
/* Sleek Terminal Card */
|
||||
.card-container {
|
||||
--terminal-bg: #1a1d23;
|
||||
--terminal-border: #2c3e50;
|
||||
--terminal-accent: #3498db;
|
||||
--terminal-text: #ecf0f1;
|
||||
--terminal-highlight: #2ecc71;
|
||||
|
||||
color: var(--terminal-text) !important;
|
||||
font-family: 'SF Mono', 'Menlo', monospace;
|
||||
padding: 1rem;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
transition: all 0.3s ease;
|
||||
max-width: 700px;
|
||||
margin: 1.5rem auto;
|
||||
}
|
||||
|
||||
.main-content {
|
||||
flex-grow: 1;
|
||||
width: 100%;
|
||||
padding-bottom: 60px;
|
||||
}
|
||||
|
||||
|
||||
/* Card container adjustments */
|
||||
.card-container {
|
||||
margin: 0 auto;
|
||||
width: 100%;
|
||||
max-width: 700px;
|
||||
padding-right: 1.5rem;
|
||||
padding-bottom: 1.5rem;
|
||||
padding-left: 1.5rem;
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
/* Header styling */
|
||||
.card-container header {
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
||||
margin-bottom: 0.5rem;
|
||||
padding-bottom: 0.75rem;
|
||||
font-size: 1.2rem;
|
||||
font-weight: 600;
|
||||
background-color: transparent;
|
||||
padding: 0;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.card-container header h1 {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.card-container header h2 {
|
||||
color: var(--terminal-text);
|
||||
font-size: inherit;
|
||||
font-weight: inherit;
|
||||
margin: 0;
|
||||
letter-spacing: -0.5px;
|
||||
}
|
||||
|
||||
/* Body content */
|
||||
.content-wrapper {
|
||||
line-height: 1.6;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
/* Code blocks */
|
||||
.content-wrapper pre {
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
border-radius: 4px;
|
||||
padding: 0.75rem;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
|
||||
/* Status indicator */
|
||||
.card-container::after {
|
||||
content: '●';
|
||||
position: absolute;
|
||||
top: 12px;
|
||||
right: 15px;
|
||||
color: var(--terminal-highlight);
|
||||
font-size: 0.8rem;
|
||||
text-shadow: 0 0 8px currentColor;
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Menu list */
|
||||
.menu-list {
|
||||
list-style-type: none !important;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.menu-list li {
|
||||
margin-bottom: 0.5rem;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.meta-info {
|
||||
font-size: 0.8rem;
|
||||
color: #666;
|
||||
margin-left: 0.5rem;
|
||||
}
|
||||
/* Tag list */
|
||||
.tag-list {
|
||||
margin-top: 1rem;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
/* Tag link */
|
||||
.tag-link {
|
||||
text-decoration: none;
|
||||
color: #ffffff;
|
||||
padding: 0.1rem 0.3rem;
|
||||
border-radius: 0.3rem;
|
||||
margin-right: 0.3rem;
|
||||
}
|
||||
|
||||
.tag-link:nth-child(8n+1) {
|
||||
background-color: #f2f2f2;
|
||||
}
|
||||
|
||||
.tag-link:nth-child(8n+2) {
|
||||
background-color: #ff69b4;
|
||||
}
|
||||
|
||||
.tag-link:nth-child(8n+3) {
|
||||
background-color: #33cc33;
|
||||
}
|
||||
|
||||
.tag-link:nth-child(8n+4) {
|
||||
background-color: #6666ff;
|
||||
}
|
||||
|
||||
.tag-link:nth-child(8n+5) {
|
||||
background-color: #ffff66;
|
||||
}
|
||||
|
||||
.tag-link:nth-child(8n+6) {
|
||||
background-color: #ff9966;
|
||||
}
|
||||
|
||||
.tag-link:nth-child(8n+7) {
|
||||
background-color: #cc66cc;
|
||||
}
|
||||
|
||||
.tag-link:nth-child(8n+0) {
|
||||
background-color: #66cccc;
|
||||
}
|
||||
.tag-link:hover {
|
||||
background-color: #ddd;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.components-grid {
|
||||
display: grid;
|
||||
grid-column-gap: 1.4em;
|
||||
grid-template-columns: auto;
|
||||
grid-template-rows: auto;
|
||||
}
|
||||
|
||||
.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) / 12), 1fr));
|
||||
}
|
||||
|
||||
.header-container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.mini-header {
|
||||
font-size: 0.8rem;
|
||||
color: #666;
|
||||
margin-left: 1rem;
|
||||
border-right: 2px solid #666;
|
||||
animation: blink 0.7s infinite;
|
||||
}
|
||||
|
||||
@keyframes blink {
|
||||
0% {
|
||||
border-color: #666;
|
||||
}
|
||||
50% {
|
||||
border-color: transparent;
|
||||
}
|
||||
100% {
|
||||
border-color: #666;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 70em) {
|
||||
.components-grid {
|
||||
grid-template-columns: 3fr 9fr;
|
||||
}
|
||||
|
||||
.components-grid aside {
|
||||
position: sticky;
|
||||
top: calc(var(--global-space) * 2);
|
||||
}
|
||||
}
|
||||
|
||||
.terminal-tags {
|
||||
margin-top: 1rem;
|
||||
line-height: 2;
|
||||
}
|
||||
|
||||
.terminal-tag {
|
||||
background-color: var(--secondary-color);
|
||||
color: var(--background-color);
|
||||
padding: 0.2rem 0.5rem;
|
||||
margin-right: 0.5rem;
|
||||
text-decoration: none;
|
||||
font-size: 0.8rem;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.terminal-tag:hover {
|
||||
background-color: var(--primary-color);
|
||||
}
|
||||
|
||||
.terminal-meta {
|
||||
opacity: 0.7;
|
||||
font-size: 0.8rem;
|
||||
margin-left: 0.5rem;
|
||||
}
|
||||
|
||||
|
||||
.post-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 1rem;
|
||||
border: 1px solid #eee;
|
||||
border-radius: 20px;
|
||||
margin-bottom: 1.5rem;
|
||||
position:static !important;
|
||||
|
||||
}
|
||||
.post-list li {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.post-list-title {
|
||||
font-weight: 600;
|
||||
color: #333;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
|
||||
.post-list-description {
|
||||
color: #e6e6e6;
|
||||
font-size: 0.9rem;
|
||||
line-height: 1.4;
|
||||
margin: 0 0 0 0;
|
||||
}
|
||||
|
||||
/* Add spacing between list items */
|
||||
.post-list + .post-list {
|
||||
margin-top: 1.5rem;
|
||||
}
|
||||
|
||||
/* Subtle hover effect */
|
||||
.post-list:hover {
|
||||
border-radius: 24px;
|
||||
}
|
||||
|
||||
.site-footer {
|
||||
margin-top: auto;
|
||||
width: 100%;
|
||||
padding: 1rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.footer-nav a {
|
||||
text-decoration: none;
|
||||
color: #666;
|
||||
margin: 0 0.5rem;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.footer-nav a:hover {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.footer-nav svg {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.site-footer p {
|
||||
font-size: 0.9rem;
|
||||
color: #666;
|
||||
margin: 0.5rem 0;
|
||||
}
|
||||
|
||||
body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
:root {
|
||||
--global-font-size: 15px;
|
||||
--global-line-height: 1.4em;
|
||||
--global-space: 10px;
|
||||
--font-stack: Menlo, Monaco, Lucida Console, Liberation Mono,
|
||||
DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace,
|
||||
serif;
|
||||
--mono-font-stack: Menlo, Monaco, Lucida Console, Liberation Mono,
|
||||
DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace,
|
||||
serif;
|
||||
--background-color: #15151b !important;
|
||||
--page-width: 60em;
|
||||
--font-color: #e8e9ed;
|
||||
--invert-font-color: #222225;
|
||||
--secondary-color: #a3abba;
|
||||
--tertiary-color: #a3abba;
|
||||
--primary-color: #62c4ff;
|
||||
--error-color: #ff3c74;
|
||||
--progress-bar-background: #3f3f44;
|
||||
--progress-bar-fill: #62c4ff;
|
||||
--code-bg-color: #3f3f44;
|
||||
--input-style: solid;
|
||||
--display-h1-decoration: none;
|
||||
}
|
||||
|
||||
|
||||
106
public/genres/index.html
Normal file
106
public/genres/index.html
Normal file
|
|
@ -0,0 +1,106 @@
|
|||
<!DOCTYPE html>
|
||||
<html><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script><meta name="theme-color" content="#ffffff">
|
||||
<link rel="stylesheet" href="https://unpkg.com/terminal.css@0.7.2/dist/terminal.min.css" />
|
||||
<link rel="stylesheet" href="https://unpkg.com/terminal.css@0.7.1/dist/terminal.min.css" />
|
||||
<link rel="stylesheet" href="https://unpkg.com/terminal.css@0.7.1/dist/terminal.min.css" />
|
||||
<style>
|
||||
.components-grid {
|
||||
display: grid;
|
||||
grid-column-gap: 1.4em;
|
||||
grid-template-columns: auto;
|
||||
grid-template-rows: auto;
|
||||
}
|
||||
|
||||
.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) / 12), 1fr));
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 70em) {
|
||||
.components-grid {
|
||||
grid-template-columns: 3fr 9fr;
|
||||
}
|
||||
|
||||
.components-grid aside {
|
||||
position: sticky;
|
||||
top: calc(var(--global-space) * 2);
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
<style>
|
||||
:root {
|
||||
--global-font-size: 15px;
|
||||
--global-line-height: 1.4em;
|
||||
--global-space: 10px;
|
||||
--font-stack: Menlo, Monaco, Lucida Console, Liberation Mono,
|
||||
DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace,
|
||||
serif;
|
||||
--mono-font-stack: Menlo, Monaco, Lucida Console, Liberation Mono,
|
||||
DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace,
|
||||
serif;
|
||||
--background-color: #222225;
|
||||
--page-width: 60em;
|
||||
--font-color: #e8e9ed;
|
||||
--invert-font-color: #222225;
|
||||
--secondary-color: #a3abba;
|
||||
--tertiary-color: #a3abba;
|
||||
--primary-color: #62c4ff;
|
||||
--error-color: #ff3c74;
|
||||
--progress-bar-background: #3f3f44;
|
||||
--progress-bar-fill: #62c4ff;
|
||||
--code-bg-color: #3f3f44;
|
||||
--input-style: solid;
|
||||
--display-h1-decoration: none;
|
||||
}
|
||||
</style>
|
||||
</head><body><header class="homepage-header">
|
||||
|
||||
</header><div id="content"><header class="homepage-header">
|
||||
<div class="container">
|
||||
<h1 class="terminal-prompt"><a href="/">mshj.net</a></h1>
|
||||
</div>
|
||||
</header><main>
|
||||
<div class="container">
|
||||
|
||||
<div class="components components-grid">
|
||||
<div>
|
||||
<aside id="menu">
|
||||
<img src="/images/keeper.png" alt="keeper pfp">
|
||||
</aside>
|
||||
<h3><a>blog</a></h3>
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a>projects</a></li>
|
||||
<li><a>games</a></li>
|
||||
<li><a>tech</a></li>
|
||||
<li><a>creative</a></li>
|
||||
<li><a>op-ed</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<div>
|
||||
<main>
|
||||
<h1>List of Posts</h1>
|
||||
<ul>
|
||||
|
||||
<li><a href="/posts/hi-post/">Hi Post</a></li>
|
||||
|
||||
<li><a href="/posts/new-test-post/">New Test Post</a></li>
|
||||
|
||||
<li><a href="/posts/test-post/">Test Post</a></li>
|
||||
|
||||
</ul>
|
||||
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</div></body>
|
||||
|
||||
</html>
|
||||
11
public/genres/index.xml
Normal file
11
public/genres/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>Genres on mshj.net</title>
|
||||
<link>http://localhost:1313/genres/</link>
|
||||
<description>Recent content in Genres on mshj.net</description>
|
||||
<generator>Hugo</generator>
|
||||
<language>en-us</language>
|
||||
<atom:link href="http://localhost:1313/genres/index.xml" rel="self" type="application/rss+xml" />
|
||||
</channel>
|
||||
</rss>
|
||||
BIN
public/images/atom.png
Normal file
BIN
public/images/atom.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 8.2 KiB |
BIN
public/images/keeper.png
Normal file
BIN
public/images/keeper.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.9 KiB |
BIN
public/images/punpun.jpg
Normal file
BIN
public/images/punpun.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 23 KiB |
113
public/index.html
Normal file
113
public/index.html
Normal file
|
|
@ -0,0 +1,113 @@
|
|||
<!DOCTYPE html>
|
||||
<html><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script><meta name="theme-color" content="#ffffff">
|
||||
<link rel="stylesheet" href="https://unpkg.com/terminal.css@0.7.2/dist/terminal.min.css" />
|
||||
<link rel="stylesheet" href="/css/styles.css"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head><body><header class="homepage-header">
|
||||
|
||||
</header><div id="content"><header class="homepage-header">
|
||||
<div class="container">
|
||||
<div class = "header-container">
|
||||
<h1><a href="/">mshj.net</a></h1>
|
||||
<span id="mini-header" class="mini-header"></span>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<script src="/js/topbar.js"></script>
|
||||
<main>
|
||||
<div class="container">
|
||||
|
||||
<div class="components components-grid">
|
||||
<div>
|
||||
<aside id="menu">
|
||||
<img src="/images/punpun.jpg" alt="keeper pfp">
|
||||
|
||||
<h3>go home</h3>
|
||||
<nav>
|
||||
<ul>
|
||||
<li>blog posts</li>
|
||||
<br>
|
||||
<li>categories</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/games/">Games</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/hugo/">Hugo</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/terminal/">Terminal</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</aside>
|
||||
</div>
|
||||
<div class = "main-content">
|
||||
<main>
|
||||
<h3>My nama jef:</h3>
|
||||
<p>My nam is Mshj. consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. In pellentesque massa placerat duis ultricies. Nec dui nunc mattis enim. Massa id neque aliquam vestibulum morbi blandit. Ut tortor pretium viverra suspendisse potenti nullam.</p>
|
||||
|
||||
|
||||
<h3>Latest Blog Posts</h3>
|
||||
|
||||
<ul>
|
||||
|
||||
<li class = "post-list">
|
||||
<h3 class="post-list-title"><a href="/posts/hi-post/">Hello World</a> </h3>
|
||||
|
||||
<p class = "post-list-description">this is quick description of this post</p>
|
||||
|
||||
</li>
|
||||
|
||||
<li class = "post-list">
|
||||
<h3 class="post-list-title"><a href="/posts/new-test-post/">New Test Post</a> </h3>
|
||||
|
||||
</li>
|
||||
|
||||
<li class = "post-list">
|
||||
<h3 class="post-list-title"><a href="/posts/test-post/">Test Post</a> </h3>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
<h3>Latest Projects</h3>
|
||||
|
||||
<ul>
|
||||
|
||||
<li class = "post-list">
|
||||
<h3 class="post-list-title"><a href="/projects/project/">Project uno</a> </h3>
|
||||
|
||||
<p class = "post-list-description">this is a description of my project very very nice</p>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</div><footer class="site-footer">
|
||||
<nav class="footer-nav">
|
||||
<a href="https://github.com/jimenezjc" target="_blank" rel="noopener noreferrer">
|
||||
<svg
|
||||
width="24"
|
||||
height="24"
|
||||
viewBox="0 0 24 24"
|
||||
fill="currentColor"
|
||||
style="display: inline-block; vertical-align: middle;"
|
||||
>
|
||||
<path d="M12 0C5.373 0 0 5.373 0 12c0 5.302 3.438 9.8 8.207 11.387.6.113.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23A11.509 11.509 0 0112 5.803c1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576C20.566 21.797 24 17.3 24 12c0-6.627-4.373-12-12-12z"/>
|
||||
</svg>
|
||||
|
||||
</a>
|
||||
</nav>
|
||||
<p>Made by Mshj | <a href = "terminal.css.xyz">Credits to Terminal.css</a></p>
|
||||
</footer></body>
|
||||
|
||||
</html>
|
||||
40
public/index.xml
Normal file
40
public/index.xml
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>mshj.net</title>
|
||||
<link>//localhost:1313/</link>
|
||||
<description>Recent content on mshj.net</description>
|
||||
<generator>Hugo</generator>
|
||||
<language>en-us</language>
|
||||
<lastBuildDate>Thu, 04 Apr 2024 02:46:07 -0400</lastBuildDate>
|
||||
<atom:link href="//localhost:1313/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>Hello World</title>
|
||||
<link>//localhost:1313/posts/hi-post/</link>
|
||||
<pubDate>Thu, 04 Apr 2024 02:46:07 -0400</pubDate>
|
||||
<guid>//localhost:1313/posts/hi-post/</guid>
|
||||
<description><h1 id="yoooo">yoooo</h1>
<p>this is one of my first articles homies. so i wil try my best to write it the best i can</p></description>
|
||||
</item>
|
||||
<item>
|
||||
<title>New Test Post</title>
|
||||
<link>//localhost:1313/posts/new-test-post/</link>
|
||||
<pubDate>Thu, 04 Apr 2024 02:35:21 -0400</pubDate>
|
||||
<guid>//localhost:1313/posts/new-test-post/</guid>
|
||||
<description></description>
|
||||
</item>
|
||||
<item>
|
||||
<title>Project uno</title>
|
||||
<link>//localhost:1313/projects/project/</link>
|
||||
<pubDate>Thu, 04 Apr 2024 02:35:21 -0400</pubDate>
|
||||
<guid>//localhost:1313/projects/project/</guid>
|
||||
<description></description>
|
||||
</item>
|
||||
<item>
|
||||
<title>Test Post</title>
|
||||
<link>//localhost:1313/posts/test-post/</link>
|
||||
<pubDate>Sat, 22 Jul 2023 23:03:09 -0400</pubDate>
|
||||
<guid>//localhost:1313/posts/test-post/</guid>
|
||||
<description><h2 id="introduction">Introduction</h2>
<p>This is <strong>bold</strong> text, and this is <em>emphasized</em> text.</p>
<p>Visit the <a href="https://gohugo.io">Hugo</a> website!</p></description>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
9
public/js/mouse_coords.js
Normal file
9
public/js/mouse_coords.js
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
const p = document.createElement("p");
|
||||
p.style.textAlign = "center";
|
||||
p.style.fontSize = "18pt";
|
||||
p.innerHTML = "C'mon, move your mouse!"
|
||||
document.body.append(p);
|
||||
|
||||
document.addEventListener("mousemove", e => {
|
||||
p.innerHTML = `mouseX: ${e.clientX}, mouseY: ${e.clientY}`;
|
||||
});
|
||||
14
public/js/topbar.js
Normal file
14
public/js/topbar.js
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
const miniHeader = document.getElementById('mini-header');
|
||||
const texts = ['use linux', 'i hate css', 'gpl everything', 'made with love']; // add your random text here
|
||||
const text = texts[Math.floor(Math.random() * texts.length)];
|
||||
let charIndex = 0;
|
||||
|
||||
function typeText() {
|
||||
if (charIndex < text.length) {
|
||||
miniHeader.textContent += text.charAt(charIndex);
|
||||
charIndex++;
|
||||
setTimeout(typeText, 50); // adjust the typing speed here
|
||||
}
|
||||
}
|
||||
|
||||
typeText();
|
||||
47
public/posts/2020-07-06-strange-post/index.html
Normal file
47
public/posts/2020-07-06-strange-post/index.html
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en-us"><head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="description" content="This post is strange. It also has some custom js.">
|
||||
|
||||
<title>
|
||||
|
||||
strange post with custom js
|
||||
|
||||
</title>
|
||||
|
||||
|
||||
<link rel="shortcut icon" type="image/x-icon" href="/" />
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="/css/main.900100e9dbee2d56c58fac8bb717037cae7e26a9c36c29d2ff587bdd65f0cbbe510b41d81a3bb234919cdfdc7550d786b2fab70c8fc507772d732fe097106d12.css" integrity="sha512-kAEA6dvuLVbFj6yLtxcDfK5+JqnDbCnS/1h73WXwy75RC0HYGjuyNJGc39x1UNeGsvq3DI/FB3ctcy/glxBtEg==" />
|
||||
|
||||
</head>
|
||||
<body a="auto">
|
||||
<main class="page-content" aria-label="Content">
|
||||
<div class="w">
|
||||
<div class="post-meta">
|
||||
<a href="/">..</a>
|
||||
|
||||
<p>
|
||||
<time datetime="2020-07-06 00:00:00 +0800 +0800">
|
||||
2020-07-06
|
||||
</time>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<article>
|
||||
<h1>strange post with custom js</h1>
|
||||
|
||||
|
||||
|
||||
<p>This post is strange. It also has some custom js.</p>
|
||||
|
||||
</article>
|
||||
|
||||
</div>
|
||||
</main>
|
||||
</body>
|
||||
<script type="text/javascript" src="/js/mouse_coords.js"></script></html>
|
||||
141
public/posts/2020-07-07-overview-post/index.html
Normal file
141
public/posts/2020-07-07-overview-post/index.html
Normal file
|
|
@ -0,0 +1,141 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en-us"><head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="description" content="Lorem ipsum1 dolor sit amet, consectetur adipiscing elit. Pellentesque vel lacinia neque. Praesent nulla quam, ullamcorper in sollicitudin ac, molestie sed justo. Cras aliquam, sapien id consectetur accumsan, augue magna faucibus ex, ut ultricies turpis tortor vel ante. In at rutrum tellus.
|
||||
Sample heading 1
|
||||
Sample heading 2
|
||||
Sample heading 3
|
||||
Sample heading 4
|
||||
Sample heading 5
|
||||
Sample heading 6
|
||||
Mauris viverra dictum ultricies. Vestibulum quis ipsum euismod, facilisis metus sed, varius ipsum. Donec scelerisque lacus libero, eu dignissim sem venenatis at. Etiam id nisl ut lorem gravida euismod.">
|
||||
|
||||
<title>
|
||||
|
||||
overview
|
||||
|
||||
</title>
|
||||
|
||||
|
||||
<link rel="shortcut icon" type="image/x-icon" href="/" />
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="/css/main.900100e9dbee2d56c58fac8bb717037cae7e26a9c36c29d2ff587bdd65f0cbbe510b41d81a3bb234919cdfdc7550d786b2fab70c8fc507772d732fe097106d12.css" integrity="sha512-kAEA6dvuLVbFj6yLtxcDfK5+JqnDbCnS/1h73WXwy75RC0HYGjuyNJGc39x1UNeGsvq3DI/FB3ctcy/glxBtEg==" />
|
||||
|
||||
</head>
|
||||
<body a="auto">
|
||||
<main class="page-content" aria-label="Content">
|
||||
<div class="w">
|
||||
<div class="post-meta">
|
||||
<a href="/">..</a>
|
||||
|
||||
<p>
|
||||
<time datetime="2020-07-07 00:00:00 +0800 +0800">
|
||||
2020-07-07
|
||||
</time>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<article>
|
||||
<h1>overview</h1>
|
||||
|
||||
|
||||
|
||||
<p>Lorem ipsum<sup id="fnref:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup> dolor sit amet, consectetur adipiscing elit. Pellentesque vel lacinia neque. Praesent nulla quam, ullamcorper in sollicitudin ac, molestie sed justo. Cras aliquam, sapien id consectetur accumsan, augue magna faucibus ex, ut ultricies turpis tortor vel ante. In at rutrum tellus.</p>
|
||||
<h1 id="sample-heading-1">Sample heading 1</h1>
|
||||
<h2 id="sample-heading-2">Sample heading 2</h2>
|
||||
<h3 id="sample-heading-3">Sample heading 3</h3>
|
||||
<h4 id="sample-heading-4">Sample heading 4</h4>
|
||||
<h5 id="sample-heading-5">Sample heading 5</h5>
|
||||
<h6 id="sample-heading-6">Sample heading 6</h6>
|
||||
<p>Mauris viverra dictum ultricies. Vestibulum quis ipsum euismod, facilisis metus sed, varius ipsum. Donec scelerisque lacus libero, eu dignissim sem venenatis at. Etiam id nisl ut lorem gravida euismod.</p>
|
||||
<h2 id="lists">Lists</h2>
|
||||
<p>Unordered:</p>
|
||||
<ul>
|
||||
<li>Fusce non velit cursus ligula mattis convallis vel at metus<sup id="fnref:2"><a href="#fn:2" class="footnote-ref" role="doc-noteref">2</a></sup>.</li>
|
||||
<li>Sed pharetra tellus massa, non elementum eros vulputate non.</li>
|
||||
<li>Suspendisse potenti.</li>
|
||||
</ul>
|
||||
<p>Ordered:</p>
|
||||
<ol>
|
||||
<li>Quisque arcu felis, laoreet vel accumsan sit amet, fermentum at nunc.</li>
|
||||
<li>Sed massa quam, auctor in eros quis, porttitor tincidunt orci.</li>
|
||||
<li>Nulla convallis id sapien ornare viverra.</li>
|
||||
<li>Nam a est eget ligula pellentesque posuere.</li>
|
||||
</ol>
|
||||
<h2 id="blockquote">Blockquote</h2>
|
||||
<p>The following is a blockquote:</p>
|
||||
<blockquote>
|
||||
<p>Suspendisse tempus dolor nec risus sodales posuere. Proin dui dui, mollis a consectetur molestie, lobortis vitae tellus.</p></blockquote>
|
||||
<h2 id="thematic-breaks-">Thematic breaks (<!-- raw HTML omitted -->)</h2>
|
||||
<p>Mauris viverra dictum ultricies<sup id="fnref:3"><a href="#fn:3" class="footnote-ref" role="doc-noteref">3</a></sup>. Vestibulum quis ipsum euismod, facilisis metus sed, varius ipsum. Donec scelerisque lacus libero, eu dignissim sem venenatis at. Etiam id nisl ut lorem gravida euismod. <strong>You can put some text inside the horizontal rule like so.</strong></p>
|
||||
<hr>
|
||||
<p>{data-content = “with text”}</p>
|
||||
<p>Mauris viverra dictum ultricies. Vestibulum quis ipsum euismod, facilisis metus sed, varius ipsum. Donec scelerisque lacus libero, eu dignissim sem venenatis at. Etiam id nisl ut lorem gravida euismod. <strong>Or you can just have an clean horizontal rule.</strong></p>
|
||||
<hr>
|
||||
<p>Mauris viverra dictum ultricies. Vestibulum quis ipsum euismod, facilisis metus sed, varius ipsum. Donec scelerisque lacus libero, eu dignissim sem venenatis at. Etiam id nisl ut lorem gravida euismod. Or you can just have an clean horizontal rule.</p>
|
||||
<h2 id="code">Code</h2>
|
||||
<p>Now some code:</p>
|
||||
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-javascript" data-lang="javascript"><span style="display:flex;"><span><span style="color:#66d9ef">const</span> <span style="color:#a6e22e">ultimateTruth</span> <span style="color:#f92672">=</span> <span style="color:#e6db74">'this theme is the best!'</span>;
|
||||
</span></span><span style="display:flex;"><span><span style="color:#a6e22e">console</span>.<span style="color:#a6e22e">log</span>(<span style="color:#a6e22e">ultimateTruth</span>);</span></span></code></pre></div>
|
||||
<p>And here is some <code>inline code</code>!</p>
|
||||
<h2 id="tables">Tables</h2>
|
||||
<p>Now a table:</p>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Tables</th>
|
||||
<th style="text-align: center">Are</th>
|
||||
<th style="text-align: right">Cool</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>col 3 is</td>
|
||||
<td style="text-align: center">right-aligned</td>
|
||||
<td style="text-align: right">$1600</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>col 2 is</td>
|
||||
<td style="text-align: center">centered</td>
|
||||
<td style="text-align: right">$12</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>zebra stripes</td>
|
||||
<td style="text-align: center">are neat</td>
|
||||
<td style="text-align: right">$1</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h2 id="images">Images</h2>
|
||||
<p><img src="https://raw.githubusercontent.com/Masellum/hugo-theme-nostyleplease/main/logo.png" alt="theme logo">
|
||||
{.ioda}</p>
|
||||
<p>Logo of <em>no style, please!</em> theme<sup id="fnref:4"><a href="#fn:4" class="footnote-ref" role="doc-noteref">4</a></sup></p>
|
||||
<hr>
|
||||
<p>{data-content = “footnotes”}</p>
|
||||
<div class="footnotes" role="doc-endnotes">
|
||||
<hr>
|
||||
<ol>
|
||||
<li id="fn:1">
|
||||
<p>this is a footnote. It should highlight if you click on the corresponding superscript number. <a href="#fnref:1" class="footnote-backref" role="doc-backlink">↩︎</a></p>
|
||||
</li>
|
||||
<li id="fn:2">
|
||||
<p>hey there, i’m using no style please! <a href="#fnref:2" class="footnote-backref" role="doc-backlink">↩︎</a></p>
|
||||
</li>
|
||||
<li id="fn:3">
|
||||
<p>this is another footnote. <a href="#fnref:3" class="footnote-backref" role="doc-backlink">↩︎</a></p>
|
||||
</li>
|
||||
<li id="fn:4">
|
||||
<p>this is a very very long footnote to test if a very very long footnote brings some problems or not. I strongly hope that there are no problems but you know sometimes problems arise from nowhere. <a href="#fnref:4" class="footnote-backref" role="doc-backlink">↩︎</a></p>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
||||
</div>
|
||||
</main>
|
||||
</body></html>
|
||||
83
public/posts/2020-07-08-language-tests/index.html
Normal file
83
public/posts/2020-07-08-language-tests/index.html
Normal file
|
|
@ -0,0 +1,83 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en-us"><head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="description" content="Note: I took this test post from moving, which is another Jekyll theme which is better that this one so I should not have linked it because now you will decide to use it instead of mine.
|
||||
1. 日本語テスト
|
||||
This is a Japanese test post to show you how japanese is displayed.
|
||||
私は昨日ついにその助力家というのの上よりするたなけれ。
|
||||
最も今をお話団はちょうどこの前後なかろでくらいに困りがいるたをは帰着考えたなかって、そうにもするでうたらない。
|
||||
がたを知っないはずも同時に九月をいよいよたありた。
|
||||
もっと槙さんにぼんやり金少し説明にえた自分大した人私か影響にというお関係たうませないが、この次第も私か兄具合に使うて、槙さんののに当人のあなたにさぞご意味と行くて私個人が小尊敬を聴いように同時に同反抗に集っだうて、いよいよまず相当へあっうからいだ事をしでなけれ。
|
||||
|
||||
それでそれでもご時日をしはずはたったいやと突き抜けるますて、その元がは行ったてという獄を尽すていけですた。
|
||||
この中道具の日その学校はあなたごろがすまなりかとネルソンさんの考えるですん、辺の事実ないというご盲従ありたですと、爺さんのためが薬缶が結果までの箸の当時してならて、多少の十月にためからそういう上からとにかくしましないと触れべきものたで、ないうですと多少お人達したのでたた。
|
||||
From すぐ使えるダミーテキスト - 日本語 Lorem ipsum.
|
||||
2. 繁体中文测试
|
||||
This is a chinese test post to show you how chinese is displayed.">
|
||||
|
||||
<title>
|
||||
|
||||
Language Tests
|
||||
|
||||
</title>
|
||||
|
||||
|
||||
<link rel="shortcut icon" type="image/x-icon" href="/" />
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="/css/main.900100e9dbee2d56c58fac8bb717037cae7e26a9c36c29d2ff587bdd65f0cbbe510b41d81a3bb234919cdfdc7550d786b2fab70c8fc507772d732fe097106d12.css" integrity="sha512-kAEA6dvuLVbFj6yLtxcDfK5+JqnDbCnS/1h73WXwy75RC0HYGjuyNJGc39x1UNeGsvq3DI/FB3ctcy/glxBtEg==" />
|
||||
|
||||
</head>
|
||||
<body a="auto">
|
||||
<main class="page-content" aria-label="Content">
|
||||
<div class="w">
|
||||
<div class="post-meta">
|
||||
<a href="/">..</a>
|
||||
|
||||
<p>
|
||||
<time datetime="2020-07-08 00:00:00 +0800 +0800">
|
||||
2020-07-08
|
||||
</time>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<article>
|
||||
<h1>Language Tests</h1>
|
||||
|
||||
|
||||
|
||||
<p>Note: I took this test post from <a href="https://github.com/huangyz0918/moving">moving</a>, which is another Jekyll theme which is better that this one so I should not have linked it because now you will decide to use it instead of mine.</p>
|
||||
<h3 id="1-日本語テスト">1. 日本語テスト</h3>
|
||||
<p>This is a Japanese test post to show you how japanese is displayed.</p>
|
||||
<p>私は昨日ついにその助力家というのの上よりするたなけれ。
|
||||
最も今をお話団はちょうどこの前後なかろでくらいに困りがいるたをは帰着考えたなかって、そうにもするでうたらない。
|
||||
がたを知っないはずも同時に九月をいよいよたありた。</p>
|
||||
<p>もっと槙さんにぼんやり金少し説明にえた自分大した人私か影響にというお関係たうませないが、この次第も私か兄具合に使うて、槙さんののに当人のあなたにさぞご意味と行くて私個人が小尊敬を聴いように同時に同反抗に集っだうて、いよいよまず相当へあっうからいだ事をしでなけれ。</p>
|
||||
<blockquote>
|
||||
<p>それでそれでもご時日をしはずはたったいやと突き抜けるますて、その元がは行ったてという獄を尽すていけですた。</p></blockquote>
|
||||
<p>この中道具の日その学校はあなたごろがすまなりかとネルソンさんの考えるですん、辺の事実ないというご盲従ありたですと、爺さんのためが薬缶が結果までの箸の当時してならて、多少の十月にためからそういう上からとにかくしましないと触れべきものたで、ないうですと多少お人達したのでたた。</p>
|
||||
<p>From <a href="http://lipsum.sugutsukaeru.jp/index.cgi">すぐ使えるダミーテキスト - 日本語 Lorem ipsum.</a></p>
|
||||
<h3 id="2-繁体中文测试">2. 繁体中文测试</h3>
|
||||
<p>This is a chinese test post to show you how chinese is displayed.</p>
|
||||
<p>善我王上魚、產生資西員合兒臉趣論。畫衣生這著爸毛親可時,安程幾?合學作。觀經而作建。都非子作這!法如言子你關!手師也。</p>
|
||||
<p>以也座論頭室業放。要車時地變此親不老高小是統習直麼調未,行年香一?</p>
|
||||
<p>就竟在,是我童示讓利分和異種百路關母信過明驗有個歷洋中前合著區亮風值新底車有正結,進快保的行戰從:弟除文辦條國備當來際年每小腳識世可的的外的廣下歌洲保輪市果底天影;全氣具些回童但倒影發狀在示,數上學大法很,如要我……月品大供這起服滿老?應學傳者國:山式排只不之然清同關;細車是!停屋常間又,資畫領生,相們制在?公別的人寫教資夠。資再我我!只臉夫藝量不路政吃息緊回力之;兒足灣電空時局我怎初安。意今一子區首者微陸現際安除發連由子由而走學體區園我車當會,經時取頭,嚴了新科同?很夫營動通打,出和導一樂,查旅他。坐是收外子發物北看蘭戰坐車身做可來。道就學務。</p>
|
||||
<p>國新故。</p>
|
||||
<blockquote>
|
||||
<p>工步他始能詩的,裝進分星海演意學值例道……於財型目古香亮自和這乎?化經溫詩。只賽嚴大一主價世哥受的沒有中年即病行金拉麼河。主小路了種就小為廣不?</p></blockquote>
|
||||
<p>From <a href="http://www.richyli.com/tool/loremipsum/">亂數假文產生器 - Chinese Lorem Ipsum.</a></p>
|
||||
<h3 id="3-简体中文测试">3. 简体中文测试</h3>
|
||||
<p>效育声去本义然空,各值太法心想,场强实地。 题铁习点儿表管少间千,只何政亲织文意部,千影画派证男须。 手反取长风治增非等直难群,连取及天他己事头级,影数弦适把气快目人。 专议以省通引而千个,格则口段度样水热马,地教少务改磨。 包思外心半院应她算斯,市外会快记路又火学,劳如肃它准众丧边。</p>
|
||||
<blockquote>
|
||||
<p>团算部住县单总边素格军所,合音府教看和广光采率位转,位用品根确针百。 证其标元角工方海接交他,论象切万世认一响义,治然身本风弦带题。 向我次路持加北,她不反心。 说总元军例市决,现始即算证养,规走还壳。</p></blockquote>
|
||||
<p>因林可相儿应满军,热影省条律因资再,整肃赤心将届。 局广写两量备验还,南教事争工民的,备进研上布。 素身电活非直,速这区交示从,百层达。 资量那毛什京身,白这快。 半打容三手开常价或,手严量般象式效,名可重芽门适。 来设什一我么,光界美么或,住身式准。 造酸改表委验众办地百养,商物战众本列听度名院,制压录丽快与千机内。 住需当四议决得命南然照按民置,当住命形金决否矿单外。 气象理离开新集增际,三划方工义很年关,拉许准孝口。 构片出干计由备美打养,持育总指承入无己。</p>
|
||||
<p>From <a href="http://www.cancms.com/content/dummytext">假文生成器, lorem ipsum Chinese</a></p>
|
||||
|
||||
</article>
|
||||
|
||||
</div>
|
||||
</main>
|
||||
</body></html>
|
||||
|
|
@ -0,0 +1,46 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en-us"><head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="description" content="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque vel lacinia neque. Praesent nulla quam, ullamcorper in sollicitudin ac, molestie sed justo. Cras aliquam, sapien id consectetur accumsan, augue magna faucibus ex, ut ultricies turpis tortor vel ante. In at rutrum tellus. Nullam vestibulum metus eu purus malesuada, volutpat mattis leo facilisis.">
|
||||
|
||||
<title>
|
||||
|
||||
very very very long title and very very very short content
|
||||
|
||||
</title>
|
||||
|
||||
|
||||
<link rel="shortcut icon" type="image/x-icon" href="/" />
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="/css/main.900100e9dbee2d56c58fac8bb717037cae7e26a9c36c29d2ff587bdd65f0cbbe510b41d81a3bb234919cdfdc7550d786b2fab70c8fc507772d732fe097106d12.css" integrity="sha512-kAEA6dvuLVbFj6yLtxcDfK5+JqnDbCnS/1h73WXwy75RC0HYGjuyNJGc39x1UNeGsvq3DI/FB3ctcy/glxBtEg==" />
|
||||
|
||||
</head>
|
||||
<body a="auto">
|
||||
<main class="page-content" aria-label="Content">
|
||||
<div class="w">
|
||||
<div class="post-meta">
|
||||
<a href="/">..</a>
|
||||
|
||||
<p>
|
||||
<time datetime="2020-07-08 00:00:00 +0800 +0800">
|
||||
2020-07-08
|
||||
</time>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<article>
|
||||
<h1>very very very long title and very very very short content</h1>
|
||||
|
||||
|
||||
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque vel lacinia neque. Praesent nulla quam, ullamcorper in sollicitudin ac, molestie sed justo. Cras aliquam, sapien id consectetur accumsan, augue magna faucibus ex, ut ultricies turpis tortor vel ante. In at rutrum tellus. Nullam vestibulum metus eu purus malesuada, volutpat mattis leo facilisis.</p>
|
||||
|
||||
</article>
|
||||
|
||||
</div>
|
||||
</main>
|
||||
</body></html>
|
||||
|
|
@ -0,0 +1,68 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en-us"><head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="description" content="Mauris viverra dictum ultricies. Vestibulum quis ipsum euismod, facilisis metus sed, varius ipsum. Donec scelerisque lacus libero, eu dignissim sem venenatis at. Nunc a egestas tortor, sed feugiat leo.
|
||||
Table of contents
|
||||
|
||||
Table of contents
|
||||
The start
|
||||
The middle
|
||||
The end
|
||||
|
||||
Mauris viverra dictum ultricies. Vestibulum quis ipsum euismod, facilisis metus sed, varius ipsum. Donec scelerisque lacus libero, eu dignissim sem venenatis at. Nunc a egestas tortor, sed feugiat leo. Vestibulum porta tincidunt tellus, vitae ornare tortor. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Sed nunc neque, tempor in iaculis non, faucibus et metus. Etiam id nisl ut lorem gravida euismod.">
|
||||
|
||||
<title>
|
||||
|
||||
headings and toc
|
||||
|
||||
</title>
|
||||
|
||||
|
||||
<link rel="shortcut icon" type="image/x-icon" href="/" />
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="/css/main.900100e9dbee2d56c58fac8bb717037cae7e26a9c36c29d2ff587bdd65f0cbbe510b41d81a3bb234919cdfdc7550d786b2fab70c8fc507772d732fe097106d12.css" integrity="sha512-kAEA6dvuLVbFj6yLtxcDfK5+JqnDbCnS/1h73WXwy75RC0HYGjuyNJGc39x1UNeGsvq3DI/FB3ctcy/glxBtEg==" />
|
||||
|
||||
</head>
|
||||
<body a="auto">
|
||||
<main class="page-content" aria-label="Content">
|
||||
<div class="w">
|
||||
<div class="post-meta">
|
||||
<a href="/">..</a>
|
||||
|
||||
<p>
|
||||
<time datetime="2020-07-09 00:00:00 +0800 +0800">
|
||||
2020-07-09
|
||||
</time>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<article>
|
||||
<h1>headings and toc</h1>
|
||||
|
||||
|
||||
|
||||
<p>Mauris viverra dictum ultricies. Vestibulum quis ipsum euismod, facilisis metus sed, varius ipsum. Donec scelerisque lacus libero, eu dignissim sem venenatis at. Nunc a egestas tortor, sed feugiat leo.</p>
|
||||
<h2 id="table-of-contents">Table of contents</h2>
|
||||
<ul>
|
||||
<li><a href="#table-of-contents">Table of contents</a></li>
|
||||
<li><a href="#the-start">The start</a></li>
|
||||
<li><a href="#the-middle">The middle</a></li>
|
||||
<li><a href="#the-end">The end</a></li>
|
||||
</ul>
|
||||
<p>Mauris viverra dictum ultricies. Vestibulum quis ipsum euismod, facilisis metus sed, varius ipsum. Donec scelerisque lacus libero, eu dignissim sem venenatis at. Nunc a egestas tortor, sed feugiat leo. Vestibulum porta tincidunt tellus, vitae ornare tortor. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Sed nunc neque, tempor in iaculis non, faucibus et metus. Etiam id nisl ut lorem gravida euismod.</p>
|
||||
<h2 id="the-start"><a href="#the-start">The start</a></h2>
|
||||
<p>Fusce non velit cursus ligula mattis convallis vel at metus. Sed pharetra tellus massa, non elementum eros vulputate non. Suspendisse potenti. Quisque arcu felis, laoreet vel accumsan sit amet, fermentum at nunc. Sed massa quam, auctor in eros quis, porttitor tincidunt orci. Nulla convallis id sapien ornare viverra. Cras nec est lacinia ligula porta tincidunt. Nam a est eget ligula pellentesque posuere. Maecenas quis enim ac risus accumsan scelerisque. Aliquam vitae libero sapien. Etiam convallis, metus nec suscipit condimentum, quam massa congue velit, sit amet sollicitudin nisi tortor a lectus. Cras a arcu enim. Suspendisse hendrerit euismod est ac gravida. Donec vitae elit tristique, suscipit eros at, aliquam augue. In ac faucibus dui. Sed tempor lacus tristique elit sagittis, vitae tempor massa convallis.</p>
|
||||
<h2 id="the-middle"><a href="#the-middle">The middle</a></h2>
|
||||
<p>Proin quis velit et eros auctor laoreet. Aenean eget nibh odio. Suspendisse mollis enim pretium, fermentum urna vitae, egestas purus. Donec convallis tincidunt purus, scelerisque fermentum eros sagittis vel. Aliquam ac aliquet risus, tempus iaculis est. Fusce molestie mauris non interdum hendrerit. Curabitur ullamcorper, eros vitae interdum volutpat, lacus magna lacinia turpis, at accumsan dui tortor vel lectus. Aenean risus massa, semper non lectus rutrum, facilisis imperdiet mi. Praesent sed quam quis purus auctor ornare et sed augue. Vestibulum non quam quis ligula luctus placerat sed sit amet erat. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Fusce auctor, sem eu volutpat dignissim, turpis nibh malesuada arcu, in consequat elit mauris quis sem. Nam tristique sit amet enim vel accumsan. Sed id nibh commodo, dictum sem id, semper quam.</p>
|
||||
<h2 id="the-end">The end</h2>
|
||||
<p>Donec ex lectus, tempus non lacinia quis, pretium non ipsum. Praesent est nunc, rutrum vel tellus eu, tristique laoreet purus. In rutrum orci sit amet ex ornare, sit amet finibus lacus laoreet. Etiam ac facilisis purus, eget porttitor odio. Suspendisse tempus dolor nec risus sodales posuere. Proin dui dui, mollis a consectetur molestie, lobortis vitae tellus. Vivamus at purus sed urna sollicitudin mattis. Mauris lacinia libero in lobortis pulvinar. Nullam sit amet condimentum justo. Donec orci justo, pharetra ut dolor non, interdum finibus orci. Proin vitae ante a dui sodales commodo ac id elit. Nunc vel accumsan nunc, sit amet congue nunc. Aliquam in lacinia velit. Integer lobortis luctus eros, in fermentum metus aliquet a. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.</p>
|
||||
|
||||
</article>
|
||||
|
||||
</div>
|
||||
</main>
|
||||
</body></html>
|
||||
73
public/posts/2020-07-09-post-example-with-hr/index.html
Normal file
73
public/posts/2020-07-09-post-example-with-hr/index.html
Normal file
|
|
@ -0,0 +1,73 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en-us"><head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="description" content="Lorem ipsum1 dolor sit amet, consectetur adipiscing elit. Pellentesque vel lacinia neque. Praesent nulla quam, ullamcorper in sollicitudin ac, molestie sed justo. Cras aliquam, sapien id consectetur accumsan, augue magna faucibus ex, ut ultricies turpis tortor vel ante. In at rutrum tellus. Nullam vestibulum metus eu purus malesuada, volutpat mattis leo facilisis. Sed consectetur, nisl et semper laoreet, velit augue congue nunc, eget eleifend odio erat eu sapien. Phasellus dictum efficitur dapibus. Morbi porta lacinia tincidunt. Nam aliquet est mi, nec lacinia ipsum elementum sed. Nam feugiat ipsum tortor, et pretium purus sollicitudin et.">
|
||||
|
||||
<title>
|
||||
|
||||
hr
|
||||
|
||||
</title>
|
||||
|
||||
|
||||
<link rel="shortcut icon" type="image/x-icon" href="/" />
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="/css/main.900100e9dbee2d56c58fac8bb717037cae7e26a9c36c29d2ff587bdd65f0cbbe510b41d81a3bb234919cdfdc7550d786b2fab70c8fc507772d732fe097106d12.css" integrity="sha512-kAEA6dvuLVbFj6yLtxcDfK5+JqnDbCnS/1h73WXwy75RC0HYGjuyNJGc39x1UNeGsvq3DI/FB3ctcy/glxBtEg==" />
|
||||
|
||||
</head>
|
||||
<body a="auto">
|
||||
<main class="page-content" aria-label="Content">
|
||||
<div class="w">
|
||||
<div class="post-meta">
|
||||
<a href="/">..</a>
|
||||
|
||||
<p>
|
||||
<time datetime="2020-07-09 00:00:00 +0800 +0800">
|
||||
2020-07-09
|
||||
</time>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<article>
|
||||
<h1>hr</h1>
|
||||
|
||||
|
||||
|
||||
<p>Lorem ipsum<sup id="fnref:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup> dolor sit amet, consectetur adipiscing elit. Pellentesque vel lacinia neque. Praesent nulla quam, ullamcorper in sollicitudin ac, molestie sed justo. Cras aliquam, sapien id consectetur accumsan, augue magna faucibus ex, ut ultricies turpis tortor vel ante. In at rutrum tellus. Nullam vestibulum metus eu purus malesuada, volutpat mattis leo facilisis. Sed consectetur, nisl et semper laoreet, velit augue congue nunc, eget eleifend odio erat eu sapien. Phasellus dictum efficitur dapibus. Morbi porta lacinia tincidunt. Nam aliquet est mi, nec lacinia ipsum elementum sed. Nam feugiat ipsum tortor, et pretium purus sollicitudin et.</p>
|
||||
<hr>
|
||||
<p>Mauris viverra dictum ultricies<sup id="fnref:2"><a href="#fn:2" class="footnote-ref" role="doc-noteref">2</a></sup>. Vestibulum<sup id="fnref:3"><a href="#fn:3" class="footnote-ref" role="doc-noteref">3</a></sup> quis ipsum euismod, facilisis metus sed, varius ipsum. Donec scelerisque lacus libero, eu dignissim sem venenatis at. Nunc a egestas tortor, sed feugiat leo. Vestibulum porta tincidunt tellus, vitae ornare tortor. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Sed nunc neque, tempor in iaculis non, faucibus et metus. Etiam id nisl ut lorem gravida euismod.</p>
|
||||
<p>Fusce non velit cursus ligula mattis convallis vel at metus. Sed pharetra tellus massa, non elementum eros vulputate non. Suspendisse potenti. Quisque arcu felis, laoreet vel accumsan sit amet, fermentum at nunc. Sed massa quam, auctor in eros quis, porttitor tincidunt orci. Nulla convallis id sapien ornare viverra. Cras nec est lacinia ligula porta tincidunt. Nam a est eget ligula pellentesque posuere. Maecenas quis enim ac risus accumsan scelerisque. Aliquam vitae libero sapien. Etiam convallis, metus nec suscipit condimentum, quam massa congue velit, sit amet sollicitudin nisi tortor a lectus. Cras a arcu enim. Suspendisse hendrerit euismod est ac gravida. Donec vitae elit tristique, suscipit eros at, aliquam augue. In ac faucibus dui. Sed tempor lacus tristique elit sagittis, vitae tempor massa convallis.</p>
|
||||
<hr>
|
||||
<p>{data-content=“discussions”}</p>
|
||||
<p>This article has been discussed here:</p>
|
||||
<ul>
|
||||
<li><a href="#">lobste.rs</a></li>
|
||||
<li><a href="#">/r/webdev</a></li>
|
||||
</ul>
|
||||
<p>Feel free to reach out at my email to leave feedback and talk about the article.</p>
|
||||
<hr>
|
||||
<p>{data-content=“footnotes”}</p>
|
||||
<div class="footnotes" role="doc-endnotes">
|
||||
<hr>
|
||||
<ol>
|
||||
<li id="fn:1">
|
||||
<p>Okay here I should put something about “ipsum”. <a href="#fnref:1" class="footnote-backref" role="doc-backlink">↩︎</a></p>
|
||||
</li>
|
||||
<li id="fn:2">
|
||||
<p>same goes for this. <a href="#fnref:2" class="footnote-backref" role="doc-backlink">↩︎</a></p>
|
||||
</li>
|
||||
<li id="fn:3">
|
||||
<p>I studied latin in high school but im not able to translate <em>anything</em>! By the way this is a longer footnote and i think it is still pretty cool, even prettier than shortier ones even though it does not say anything useful but whatever. <a href="#fnref:3" class="footnote-backref" role="doc-backlink">↩︎</a></p>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
||||
</div>
|
||||
</main>
|
||||
</body></html>
|
||||
108
public/posts/hi-post/index.html
Normal file
108
public/posts/hi-post/index.html
Normal file
|
|
@ -0,0 +1,108 @@
|
|||
<!DOCTYPE html>
|
||||
<html><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script><meta name="theme-color" content="#ffffff">
|
||||
<link rel="stylesheet" href="https://unpkg.com/terminal.css@0.7.2/dist/terminal.min.css" />
|
||||
<link rel="stylesheet" href="/css/styles.css"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head><body><header class="homepage-header">
|
||||
|
||||
</header><div id="content"><header class="homepage-header">
|
||||
<div class="container">
|
||||
<div class = "header-container">
|
||||
<h1><a href="/">mshj.net</a></h1>
|
||||
<span id="mini-header" class="mini-header"></span>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<script src="/js/topbar.js"></script>
|
||||
<main>
|
||||
<div class="container">
|
||||
|
||||
<div class="components components-grid">
|
||||
<div>
|
||||
<aside id="menu">
|
||||
<img src="/images/punpun.jpg" alt="keeper pfp">
|
||||
|
||||
<h3>go home</h3>
|
||||
<nav>
|
||||
<ul>
|
||||
<li>blog posts</li>
|
||||
<br>
|
||||
<li>categories</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/games/">Games</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/hugo/">Hugo</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/terminal/">Terminal</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</aside>
|
||||
</div>
|
||||
<div class = "main-content">
|
||||
<main>
|
||||
<article class="card-container">
|
||||
<header><h1>Hello World</h1></header>
|
||||
<div class="content-wrapper">
|
||||
|
||||
<p>2024-04-04</p>
|
||||
<div class="tag-list">
|
||||
<strong>Categories:</strong>
|
||||
|
||||
<a href="/categories/terminal" class="tag-link">Terminal</a>
|
||||
|
||||
<a href="/categories/hugo" class="tag-link">Hugo</a>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="tag-list">
|
||||
<strong>Tags:</strong>
|
||||
|
||||
<a href="/tags/css" class="tag-link">css</a>
|
||||
|
||||
<a href="/tags/terminal-style" class="tag-link">terminal-style</a>
|
||||
|
||||
<a href="/tags/tutorial" class="tag-link">tutorial</a>
|
||||
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
<h1 id="yoooo">yoooo</h1>
|
||||
<p>this is one of my first articles homies. so i wil try my best to write it the best i can</p>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</div><footer class="site-footer">
|
||||
<nav class="footer-nav">
|
||||
<a href="https://github.com/jimenezjc" target="_blank" rel="noopener noreferrer">
|
||||
<svg
|
||||
width="24"
|
||||
height="24"
|
||||
viewBox="0 0 24 24"
|
||||
fill="currentColor"
|
||||
style="display: inline-block; vertical-align: middle;"
|
||||
>
|
||||
<path d="M12 0C5.373 0 0 5.373 0 12c0 5.302 3.438 9.8 8.207 11.387.6.113.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23A11.509 11.509 0 0112 5.803c1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576C20.566 21.797 24 17.3 24 12c0-6.627-4.373-12-12-12z"/>
|
||||
</svg>
|
||||
|
||||
</a>
|
||||
</nav>
|
||||
<p>Made by Mshj | <a href = "terminal.css.xyz">Credits to Terminal.css</a></p>
|
||||
</footer></body>
|
||||
|
||||
</html>
|
||||
92
public/posts/index.html
Normal file
92
public/posts/index.html
Normal file
|
|
@ -0,0 +1,92 @@
|
|||
<!DOCTYPE html>
|
||||
<html><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script><meta name="theme-color" content="#ffffff">
|
||||
<link rel="stylesheet" href="https://unpkg.com/terminal.css@0.7.2/dist/terminal.min.css" />
|
||||
<link rel="stylesheet" href="/css/styles.css"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head><body><header class="homepage-header">
|
||||
|
||||
</header><div id="content"><header class="homepage-header">
|
||||
<div class="container">
|
||||
<div class = "header-container">
|
||||
<h1><a href="/">mshj.net</a></h1>
|
||||
<span id="mini-header" class="mini-header"></span>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<script src="js/topbar.js"></script>
|
||||
<main>
|
||||
<div class="container">
|
||||
|
||||
<div class="components components-grid">
|
||||
<div>
|
||||
<aside id="menu">
|
||||
<img src="/images/punpun.jpg" alt="keeper pfp">
|
||||
</aside>
|
||||
<h3>go home</h3>
|
||||
<nav>
|
||||
<ul>
|
||||
<li>blog posts</li>
|
||||
<br>
|
||||
<li>categories</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/games/">Games</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/hugo/">Hugo</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/terminal/">Terminal</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<div class = "main-content">
|
||||
<main>
|
||||
<h1>List of Posts</h1>
|
||||
<ul>
|
||||
|
||||
<li><a href="/posts/hi-post/">Hello World</a></li>
|
||||
|
||||
<p>this is quick description of this post</p>
|
||||
|
||||
|
||||
<li><a href="/posts/new-test-post/">New Test Post</a></li>
|
||||
|
||||
|
||||
<li><a href="/projects/project/">Project uno</a></li>
|
||||
|
||||
<p>this is a description of my project very very nice</p>
|
||||
|
||||
|
||||
<li><a href="/posts/test-post/">Test Post</a></li>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</div><footer class="site-footer">
|
||||
<nav class="footer-nav">
|
||||
<a href="https://github.com/jimenezjc" target="_blank" rel="noopener noreferrer">
|
||||
<svg
|
||||
width="24"
|
||||
height="24"
|
||||
viewBox="0 0 24 24"
|
||||
fill="currentColor"
|
||||
style="display: inline-block; vertical-align: middle;"
|
||||
>
|
||||
<path d="M12 0C5.373 0 0 5.373 0 12c0 5.302 3.438 9.8 8.207 11.387.6.113.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23A11.509 11.509 0 0112 5.803c1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576C20.566 21.797 24 17.3 24 12c0-6.627-4.373-12-12-12z"/>
|
||||
</svg>
|
||||
|
||||
</a>
|
||||
</nav>
|
||||
<p>Made by Mshj | <a href = "terminal.css.xyz">Credits to Terminal.css</a></p>
|
||||
</footer></body>
|
||||
|
||||
</html>
|
||||
33
public/posts/index.xml
Normal file
33
public/posts/index.xml
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>Posts on mshj.net</title>
|
||||
<link>//localhost:1313/posts/</link>
|
||||
<description>Recent content in Posts on mshj.net</description>
|
||||
<generator>Hugo</generator>
|
||||
<language>en-us</language>
|
||||
<lastBuildDate>Thu, 04 Apr 2024 02:46:07 -0400</lastBuildDate>
|
||||
<atom:link href="//localhost:1313/posts/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>Hello World</title>
|
||||
<link>//localhost:1313/posts/hi-post/</link>
|
||||
<pubDate>Thu, 04 Apr 2024 02:46:07 -0400</pubDate>
|
||||
<guid>//localhost:1313/posts/hi-post/</guid>
|
||||
<description><h1 id="yoooo">yoooo</h1>
<p>this is one of my first articles homies. so i wil try my best to write it the best i can</p></description>
|
||||
</item>
|
||||
<item>
|
||||
<title>New Test Post</title>
|
||||
<link>//localhost:1313/posts/new-test-post/</link>
|
||||
<pubDate>Thu, 04 Apr 2024 02:35:21 -0400</pubDate>
|
||||
<guid>//localhost:1313/posts/new-test-post/</guid>
|
||||
<description></description>
|
||||
</item>
|
||||
<item>
|
||||
<title>Test Post</title>
|
||||
<link>//localhost:1313/posts/test-post/</link>
|
||||
<pubDate>Sat, 22 Jul 2023 23:03:09 -0400</pubDate>
|
||||
<guid>//localhost:1313/posts/test-post/</guid>
|
||||
<description><h2 id="introduction">Introduction</h2>
<p>This is <strong>bold</strong> text, and this is <em>emphasized</em> text.</p>
<p>Visit the <a href="https://gohugo.io">Hugo</a> website!</p></description>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
85
public/posts/new-test-post/index.html
Normal file
85
public/posts/new-test-post/index.html
Normal file
|
|
@ -0,0 +1,85 @@
|
|||
<!DOCTYPE html>
|
||||
<html><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script><meta name="theme-color" content="#ffffff">
|
||||
<link rel="stylesheet" href="https://unpkg.com/terminal.css@0.7.2/dist/terminal.min.css" />
|
||||
<link rel="stylesheet" href="/css/styles.css"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head><body><header class="homepage-header">
|
||||
|
||||
</header><div id="content"><header class="homepage-header">
|
||||
<div class="container">
|
||||
<div class = "header-container">
|
||||
<h1><a href="/">mshj.net</a></h1>
|
||||
<span id="mini-header" class="mini-header"></span>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<script src="/js/topbar.js"></script>
|
||||
<main>
|
||||
<div class="container">
|
||||
|
||||
<div class="components components-grid">
|
||||
<div>
|
||||
<aside id="menu">
|
||||
<img src="/images/punpun.jpg" alt="keeper pfp">
|
||||
|
||||
<h3>go home</h3>
|
||||
<nav>
|
||||
<ul>
|
||||
<li>blog posts</li>
|
||||
<br>
|
||||
<li>categories</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/games/">Games</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/hugo/">Hugo</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/terminal/">Terminal</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</aside>
|
||||
</div>
|
||||
<div class = "main-content">
|
||||
<main>
|
||||
<article class="card-container">
|
||||
<header><h1>New Test Post</h1></header>
|
||||
<div class="content-wrapper">
|
||||
|
||||
|
||||
<br>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</div><footer class="site-footer">
|
||||
<nav class="footer-nav">
|
||||
<a href="https://github.com/jimenezjc" target="_blank" rel="noopener noreferrer">
|
||||
<svg
|
||||
width="24"
|
||||
height="24"
|
||||
viewBox="0 0 24 24"
|
||||
fill="currentColor"
|
||||
style="display: inline-block; vertical-align: middle;"
|
||||
>
|
||||
<path d="M12 0C5.373 0 0 5.373 0 12c0 5.302 3.438 9.8 8.207 11.387.6.113.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23A11.509 11.509 0 0112 5.803c1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576C20.566 21.797 24 17.3 24 12c0-6.627-4.373-12-12-12z"/>
|
||||
</svg>
|
||||
|
||||
</a>
|
||||
</nav>
|
||||
<p>Made by Mshj | <a href = "terminal.css.xyz">Credits to Terminal.css</a></p>
|
||||
</footer></body>
|
||||
|
||||
</html>
|
||||
91
public/posts/test-cjk/index.html
Normal file
91
public/posts/test-cjk/index.html
Normal file
|
|
@ -0,0 +1,91 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en-us"><head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="description" content="1. 简体中文测试
|
||||
秋,夜,王趺坐收银台前,篝灯如吠。明灭之际有兽前来采购:鹿角虎爪,云雾缭绕,眼睛碧绿如同玻璃;店中不见生人已久。坐,齿轮捻动,肩胛慢慢松弛,衣袖如瓷。在货架之间,忘记面孔的人有迷失的风险。一份白色,我有天空中游动穿过云的骨。一份蓝色,有雨水溅落金属制品间的空气。绿色,有薄而冰凉至温润的指甲。黑色有窗外随风沙沙的水草。兽狡黠,想必没有红色。王赧然,有常住仓库,深居简出,肥而不腻的三文鱼。颜色,声音,温度,气味,这一切尽可落在你一人身上。但,让我与你的眼睛对饮一杯。所以熬煮越来越粘稠的空气,坛中有清冽,眼前有孤灯,然后让身体舒展沉浮。兽目睹这一切,嘴微张,牙齿柔软,荧光微微。第二天,王尚未醒来,脸上躺着一枚红叶,身体轻轻摇晃。
|
||||
From 便利店之王
|
||||
2. 繁体中文测试
|
||||
善我王上魚、產生資西員合兒臉趣論。畫衣生這著爸毛親可時,安程幾?合學作。觀經而作建。都非子作這!法如言子你關!手師也。
|
||||
以也座論頭室業放。要車時地變此親不老高小是統習直麼調未,行年香一?
|
||||
就竟在,是我童示讓利分和異種百路關母信過明驗有個歷洋中前合著區亮風值新底車有正結,進快保的行戰從:弟除文辦條國備當來際年每小腳識世可的的外的廣下歌洲保輪市果底天影;全氣具些回童但倒影發狀在示,數上學大法很,如要我……月品大供這起服滿老?應學傳者國:山式排只不之然清同關;細車是!停屋常間又,資畫領生,相們制在?公別的人寫教資夠。資再我我!只臉夫藝量不路政吃息緊回力之;兒足灣電空時局我怎初安。意今一子區首者微陸現際安除發連由子由而走學體區園我車當會,經時取頭,嚴了新科同?很夫營動通打,出和導一樂,查旅他。坐是收外子發物北看蘭戰坐車身做可來。道就學務。
|
||||
國新故。
|
||||
|
||||
工步他始能詩的,裝進分星海演意學值例道……於財型目古香亮自和這乎?化經溫詩。只賽嚴大一主價世哥受的沒有中年即病行金拉麼河。主小路了種就小為廣不?
|
||||
From 亂數假文產生器 - Chinese Lorem Ipsum.
|
||||
3. 日本語テスト
|
||||
私は昨日ついにその助力家というのの上よりするたなけれ。
|
||||
最も今をお話団はちょうどこの前後なかろでくらいに困りがいるたをは帰着考えたなかって、そうにもするでうたらない。
|
||||
がたを知っないはずも同時に九月をいよいよたありた。
|
||||
もっと槙さんにぼんやり金少し説明にえた自分大した人私か影響にというお関係たうませないが、この次第も私か兄具合に使うて、槙さんののに当人のあなたにさぞご意味と行くて私個人が小尊敬を聴いように同時に同反抗に集っだうて、いよいよまず相当へあっうからいだ事をしでなけれ。
|
||||
|
||||
それでそれでもご時日をしはずはたったいやと突き抜けるますて、その元がは行ったてという獄を尽すていけですた。
|
||||
この中道具の日その学校はあなたごろがすまなりかとネルソンさんの考えるですん、辺の事実ないというご盲従ありたですと、爺さんのためが薬缶が結果までの箸の当時してならて、多少の十月にためからそういう上からとにかくしましないと触れべきものたで、ないうですと多少お人達したのでたた。
|
||||
From すぐ使えるダミーテキスト - 日本語 Lorem ipsum.
|
||||
4. 한국어 예문
|
||||
국가원로자문회의의 의장은 직전대통령이 된다. 다만, 직전대통령이 없을 때에는 대통령이 지명한다. 모든 국민은 법률이 정하는 바에 의하여 공무담임권을 가진다. 국가는 노인과 청소년의 복지향상을 위한 정책을 실시할 의무를 진다. 학교교육 및 평생교육을 포함한 교육제도와 그 운영, 교육재정 및 교원의 지위에 관한 기본적인 사항은 법률로 정한다.">
|
||||
|
||||
<title>
|
||||
|
||||
Test CJK
|
||||
|
||||
</title>
|
||||
|
||||
|
||||
<link rel="shortcut icon" type="image/x-icon" href="/" />
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="/css/main.900100e9dbee2d56c58fac8bb717037cae7e26a9c36c29d2ff587bdd65f0cbbe510b41d81a3bb234919cdfdc7550d786b2fab70c8fc507772d732fe097106d12.css" integrity="sha512-kAEA6dvuLVbFj6yLtxcDfK5+JqnDbCnS/1h73WXwy75RC0HYGjuyNJGc39x1UNeGsvq3DI/FB3ctcy/glxBtEg==" />
|
||||
|
||||
</head>
|
||||
<body a="auto">
|
||||
<main class="page-content" aria-label="Content">
|
||||
<div class="w">
|
||||
<div class="post-meta">
|
||||
<a href="/">..</a>
|
||||
|
||||
<p>
|
||||
<time datetime="2022-08-26 22:30:10 +0800 +0800">
|
||||
2022-08-26
|
||||
</time>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<article>
|
||||
<h1>Test CJK</h1>
|
||||
|
||||
|
||||
|
||||
<h3 id="1-简体中文测试">1. 简体中文测试</h3>
|
||||
<p>秋,夜,王趺坐收银台前,篝灯如吠。明灭之际有兽前来采购:鹿角虎爪,云雾缭绕,眼睛碧绿如同玻璃;店中不见生人已久。坐,齿轮捻动,肩胛慢慢松弛,衣袖如瓷。在货架之间,忘记面孔的人有迷失的风险。一份白色,我有天空中游动穿过云的骨。一份蓝色,有雨水溅落金属制品间的空气。绿色,有薄而冰凉至温润的指甲。黑色有窗外随风沙沙的水草。兽狡黠,想必没有红色。王赧然,有常住仓库,深居简出,肥而不腻的三文鱼。颜色,声音,温度,气味,这一切尽可落在你一人身上。但,让我与你的眼睛对饮一杯。所以熬煮越来越粘稠的空气,坛中有清冽,眼前有孤灯,然后让身体舒展沉浮。兽目睹这一切,嘴微张,牙齿柔软,荧光微微。第二天,王尚未醒来,脸上躺着一枚红叶,身体轻轻摇晃。</p>
|
||||
<p>From <a href="https://hanwen.one/pne/%E4%BE%BF%E5%88%A9%E5%BA%97%E4%B9%8B%E7%8E%8B/">便利店之王</a></p>
|
||||
<h3 id="2-繁体中文测试">2. 繁体中文测试</h3>
|
||||
<p>善我王上魚、產生資西員合兒臉趣論。畫衣生這著爸毛親可時,安程幾?合學作。觀經而作建。都非子作這!法如言子你關!手師也。</p>
|
||||
<p>以也座論頭室業放。要車時地變此親不老高小是統習直麼調未,行年香一?</p>
|
||||
<p>就竟在,是我童示讓利分和異種百路關母信過明驗有個歷洋中前合著區亮風值新底車有正結,進快保的行戰從:弟除文辦條國備當來際年每小腳識世可的的外的廣下歌洲保輪市果底天影;全氣具些回童但倒影發狀在示,數上學大法很,如要我……月品大供這起服滿老?應學傳者國:山式排只不之然清同關;細車是!停屋常間又,資畫領生,相們制在?公別的人寫教資夠。資再我我!只臉夫藝量不路政吃息緊回力之;兒足灣電空時局我怎初安。意今一子區首者微陸現際安除發連由子由而走學體區園我車當會,經時取頭,嚴了新科同?很夫營動通打,出和導一樂,查旅他。坐是收外子發物北看蘭戰坐車身做可來。道就學務。</p>
|
||||
<p>國新故。</p>
|
||||
<blockquote>
|
||||
<p>工步他始能詩的,裝進分星海演意學值例道……於財型目古香亮自和這乎?化經溫詩。只賽嚴大一主價世哥受的沒有中年即病行金拉麼河。主小路了種就小為廣不?</p></blockquote>
|
||||
<p>From <a href="http://www.richyli.com/tool/loremipsum/">亂數假文產生器 - Chinese Lorem Ipsum.</a></p>
|
||||
<h3 id="3-日本語テスト">3. 日本語テスト</h3>
|
||||
<p>私は昨日ついにその助力家というのの上よりするたなけれ。
|
||||
最も今をお話団はちょうどこの前後なかろでくらいに困りがいるたをは帰着考えたなかって、そうにもするでうたらない。
|
||||
がたを知っないはずも同時に九月をいよいよたありた。</p>
|
||||
<p>もっと槙さんにぼんやり金少し説明にえた自分大した人私か影響にというお関係たうませないが、この次第も私か兄具合に使うて、槙さんののに当人のあなたにさぞご意味と行くて私個人が小尊敬を聴いように同時に同反抗に集っだうて、いよいよまず相当へあっうからいだ事をしでなけれ。</p>
|
||||
<blockquote>
|
||||
<p>それでそれでもご時日をしはずはたったいやと突き抜けるますて、その元がは行ったてという獄を尽すていけですた。</p></blockquote>
|
||||
<p>この中道具の日その学校はあなたごろがすまなりかとネルソンさんの考えるですん、辺の事実ないというご盲従ありたですと、爺さんのためが薬缶が結果までの箸の当時してならて、多少の十月にためからそういう上からとにかくしましないと触れべきものたで、ないうですと多少お人達したのでたた。</p>
|
||||
<p>From <a href="http://lipsum.sugutsukaeru.jp/index.cgi">すぐ使えるダミーテキスト - 日本語 Lorem ipsum.</a></p>
|
||||
<h3 id="4-한국어-예문">4. 한국어 예문</h3>
|
||||
<p>국가원로자문회의의 의장은 직전대통령이 된다. 다만, 직전대통령이 없을 때에는 대통령이 지명한다. 모든 국민은 법률이 정하는 바에 의하여 공무담임권을 가진다. 국가는 노인과 청소년의 복지향상을 위한 정책을 실시할 의무를 진다. 학교교육 및 평생교육을 포함한 교육제도와 그 운영, 교육재정 및 교원의 지위에 관한 기본적인 사항은 법률로 정한다.</p>
|
||||
<p>국회의원은 국회에서 직무상 행한 발언과 표결에 관하여 국회외에서 책임을 지지 아니한다. 국회의 정기회는 법률이 정하는 바에 의하여 매년 1회 집회되며, 국회의 임시회는 대통령 또는 국회재적의원 4분의 1 이상의 요구에 의하여 집회된다. 모든 국민은 근로의 권리를 가진다. 국가는 사회적·경제적 방법으로 근로자의 고용의 증진과 적정임금의 보장에 노력하여야 하며, 법률이 정하는 바에 의하여 최저임금제를 시행하여야 한다.</p>
|
||||
<p>대법원장은 국회의 동의를 얻어 대통령이 임명한다. 대통령이 궐위된 때 또는 대통령 당선자가 사망하거나 판결 기타의 사유로 그 자격을 상실한 때에는 60일 이내에 후임자를 선거한다. 공무원의 직무상 불법행위로 손해를 받은 국민은 법률이 정하는 바에 의하여 국가 또는 공공단체에 정당한 배상을 청구할 수 있다. 이 경우 공무원 자신의 책임은 면제되지 아니한다.</p>
|
||||
<p>From <a href="http://guny.kr/stuff/klorem/">한글 Lorem Ipsum</a></p>
|
||||
|
||||
</article>
|
||||
|
||||
</div>
|
||||
</main>
|
||||
</body></html>
|
||||
675
public/posts/test-highlight/index.html
Normal file
675
public/posts/test-highlight/index.html
Normal file
|
|
@ -0,0 +1,675 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en-us"><head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="description" content="Test for C
|
||||
#define UNICODE
|
||||
#include <windows.h>
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
int speed = 0, speed1 = 0, speed2 = 0; // 1-20
|
||||
printf("Set Mouse Speed by Maverick\n");
|
||||
|
||||
SystemParametersInfo(SPI_GETMOUSESPEED, 0, &speed, 0);
|
||||
printf("Current speed: %2d\n", speed);
|
||||
|
||||
if (argc == 1) return 0;
|
||||
if (argc >= 2) sscanf(argv[1], "%d", &speed1);
|
||||
if (argc >= 3) sscanf(argv[2], "%d", &speed2);
|
||||
|
||||
if (argc == 2) // set speed to first value
|
||||
speed = speed1;
|
||||
else if (speed == speed1 || speed == speed2) // alternate
|
||||
speed = speed1 + speed2 - speed;
|
||||
else
|
||||
speed = speed1; // start with first value
|
||||
|
||||
SystemParametersInfo(SPI_SETMOUSESPEED, 0, speed, 0);
|
||||
SystemParametersInfo(SPI_GETMOUSESPEED, 0, &speed, 0);
|
||||
printf("New speed: %2d\n", speed);
|
||||
return 0;
|
||||
}
|
||||
Test for Java
|
||||
import java.util.Map;
|
||||
import java.util.TreeSet;
|
||||
|
||||
public class GetEnv {
|
||||
/**
|
||||
* let's test generics
|
||||
* @param args the command line arguments
|
||||
*/
|
||||
public static void main(String[] args) {
|
||||
// get a map of environment variables
|
||||
Map<String, String> env = System.getenv();
|
||||
// build a sorted set out of the keys and iterate
|
||||
for(String k: new TreeSet<String>(env.keySet())) {
|
||||
System.out.printf("%s = %s\n", k, env.get(k));
|
||||
}
|
||||
}
|
||||
}
|
||||
Test for Perl
|
||||
#!perl -w
|
||||
|
||||
# Time-stamp: <2002/04/06, 13:12:13 (EST), maverick, csvformat.pl>
|
||||
# Two pass CSV file to table formatter
|
||||
|
||||
$delim = $#ARGV >= 1 ? $ARGV[1] : ',';
|
||||
print STDERR "Split pattern: $delim\n";
|
||||
|
||||
# first pass
|
||||
open F, "<$ARGV[0]" or die;
|
||||
while(<F>)
|
||||
{
|
||||
chomp;
|
||||
$i = 0;
|
||||
map { $max[$_->[1]] = $_->[0] if $_->[0] > ($max[$_->[1]] || 0) }
|
||||
(map {[length $_, $i++]} split($delim));
|
||||
}
|
||||
close F;
|
||||
|
||||
print STDERR 'Field width: ', join(', ', @max), "\n";
|
||||
print STDERR join(' ', map {'-' x $_} @max);
|
||||
|
||||
# second pass
|
||||
open F, "<$ARGV[0]" or die;
|
||||
while(<F>)
|
||||
{
|
||||
chomp;
|
||||
$i = 0;
|
||||
map { printf("%-$max[$_->[1]]s ", $_->[0]) }
|
||||
(map {[$_, $i++]} split($delim));
|
||||
print "\n";
|
||||
}
|
||||
close F;
|
||||
Test for Python
|
||||
# test python (sample from offlineimap)
|
||||
|
||||
class ExitNotifyThread(Thread):
|
||||
"""This class is designed to alert a "monitor" to the fact that a thread has
|
||||
exited and to provide for the ability for it to find out why."""
|
||||
def run(self):
|
||||
global exitthreads, profiledir
|
||||
self.threadid = thread.get_ident()
|
||||
try:
|
||||
if not profiledir: # normal case
|
||||
Thread.run(self)
|
||||
else:
|
||||
try:
|
||||
import cProfile as profile
|
||||
except ImportError:
|
||||
import profile
|
||||
prof = profile.Profile()
|
||||
try:
|
||||
prof = prof.runctx("Thread.run(self)", globals(), locals())
|
||||
except SystemExit:
|
||||
pass
|
||||
prof.dump_stats( \
|
||||
profiledir + "/" + str(self.threadid) + "_" + \
|
||||
self.getName() + ".prof")
|
||||
except:
|
||||
self.setExitCause('EXCEPTION')
|
||||
if sys:
|
||||
self.setExitException(sys.exc_info()[1])
|
||||
tb = traceback.format_exc()
|
||||
self.setExitStackTrace(tb)
|
||||
else:
|
||||
self.setExitCause('NORMAL')
|
||||
if not hasattr(self, 'exitmessage'):
|
||||
self.setExitMessage(None)
|
||||
|
||||
if exitthreads:
|
||||
exitthreads.put(self, True)
|
||||
|
||||
def setExitCause(self, cause):
|
||||
self.exitcause = cause
|
||||
def getExitCause(self):
|
||||
"""Returns the cause of the exit, one of:
|
||||
'EXCEPTION' -- the thread aborted because of an exception
|
||||
'NORMAL' -- normal termination."""
|
||||
return self.exitcause
|
||||
def setExitException(self, exc):
|
||||
self.exitexception = exc
|
||||
def getExitException(self):
|
||||
"""If getExitCause() is 'EXCEPTION', holds the value from
|
||||
sys.exc_info()[1] for this exception."""
|
||||
return self.exitexception
|
||||
def setExitStackTrace(self, st):
|
||||
self.exitstacktrace = st
|
||||
def getExitStackTrace(self):
|
||||
"""If getExitCause() is 'EXCEPTION', returns a string representing
|
||||
the stack trace for this exception."""
|
||||
return self.exitstacktrace
|
||||
def setExitMessage(self, msg):
|
||||
"""Sets the exit message to be fetched by a subsequent call to
|
||||
getExitMessage. This message may be any object or type except
|
||||
None."""
|
||||
self.exitmessage = msg
|
||||
def getExitMessage(self):
|
||||
"""For any exit cause, returns the message previously set by
|
||||
a call to setExitMessage(), or None if there was no such message
|
||||
set."""
|
||||
return self.exitmessage
|
||||
Test for Bash
|
||||
#!/bin/bash
|
||||
cd $ROOT_DIR
|
||||
DOT_FILES="lastpass weechat ssh Xauthority"
|
||||
for dotfile in $DOT_FILES; do conform_link "$DATA_DIR/$dotfile" ".$dotfile"; done
|
||||
|
||||
# TODO: refactor with suffix variables (or common cron values)
|
||||
|
||||
case "$PLATFORM" in
|
||||
linux)
|
||||
#conform_link "$CONF_DIR/shell/zshenv" ".zshenv"
|
||||
crontab -l > $ROOT_DIR/tmp/crontab-conflict-arch
|
||||
cd $ROOT_DIR/$CONF_DIR/cron
|
||||
if [[ "$(diff ~/tmp/crontab-conflict-arch crontab-current-arch)" == ""
|
||||
]];
|
||||
then # no difference with current backup
|
||||
logger "$LOG_PREFIX: crontab live settings match stored "\
|
||||
"settings; no restore required"
|
||||
rm ~/tmp/crontab-conflict-arch
|
||||
else # current crontab settings in file do not match live settings
|
||||
crontab $ROOT_DIR/$CONF_DIR/cron/crontab-current-arch
|
||||
logger "$LOG_PREFIX: crontab stored settings conflict with "\
|
||||
"live settings; stored settings restored. "\
|
||||
"Previous settings recorded in ~/tmp/crontab-conflict-arch."
|
||||
fi
|
||||
;;
|
||||
Test for Haskell
|
||||
{-# LANGUAGE OverloadedStrings #-}
|
||||
module Main where
|
||||
|
||||
--import Prelude hiding (id)
|
||||
--import Control.Category (id)
|
||||
import Control.Arrow ((>>>), (***), arr)
|
||||
import Control.Monad (forM_)
|
||||
-- import Data.Monoid (mempty, mconcat)
|
||||
|
||||
-- import System.FilePath
|
||||
|
||||
import Hakyll
|
||||
|
||||
|
||||
main :: IO ()
|
||||
main = hakyll $ do
|
||||
|
||||
route "css/*" $ setExtension "css"
|
||||
compile "css/*" $ byExtension (error "Not a (S)CSS file")
|
||||
[ (".css", compressCssCompiler)
|
||||
, (".scss", sass)
|
||||
]
|
||||
|
||||
route "js/**" idRoute
|
||||
compile "js/**" copyFileCompiler
|
||||
|
||||
route "img/*" idRoute
|
||||
compile "img/*" copyFileCompiler
|
||||
|
||||
compile "templates/*" templateCompiler
|
||||
|
||||
forM_ ["test.md", "index.md"] $ \page -> do
|
||||
route page $ setExtension "html"
|
||||
compile page $ pageCompiler
|
||||
>>> applyTemplateCompiler "templates/default.html"
|
||||
>>> relativizeUrlsCompiler
|
||||
|
||||
sass :: Compiler Resource String
|
||||
sass = getResourceString >>> unixFilter "sass" ["-s", "--scss"]
|
||||
>>> arr compressCss
|
||||
Test for PHP
|
||||
<?php
|
||||
require_once($GLOBALS['g_campsiteDir']. "/$ADMIN_DIR/country/common.php");
|
||||
require_once($GLOBALS['g_campsiteDir']. "/classes/SimplePager.php");
|
||||
camp_load_translation_strings("api");
|
||||
|
||||
$f_country_language_selected = camp_session_get('f_language_selected', '');
|
||||
$f_country_offset = camp_session_get('f_country_offset', 0);
|
||||
if (empty($f_country_language_selected)) {
|
||||
$f_country_language_selected = null;
|
||||
}
|
||||
$ItemsPerPage = 20;
|
||||
$languages = Language::GetLanguages(null, null, null, array(), array(), true);
|
||||
$numCountries = Country::GetNumCountries($f_country_language_selected);
|
||||
|
||||
$pager = new SimplePager($numCountries, $ItemsPerPage, "index.php?");
|
||||
|
||||
$crumbs = array();
|
||||
$crumbs[] = array(getGS("Configure"), "");
|
||||
$crumbs[] = array(getGS("Countries"), "");
|
||||
echo camp_html_breadcrumbs($crumbs);
|
||||
|
||||
?>
|
||||
|
||||
<?php if ($g_user->hasPermission("ManageCountries")) { ?>
|
||||
<table BORDER="0" CELLSPACING="0" CELLPADDING="1">
|
||||
<tr>
|
||||
<td><a href="add.php"><?php putGS("Add new"); ?></a></td>
|
||||
</tr>
|
||||
</table>
|
||||
Test for Javascript
|
||||
import isTypedArray from 'lodash/isTypedArray';
|
||||
import reverse from 'lodash/reverse';
|
||||
import sortBy from 'lodash/sortBy';
|
||||
import take from 'lodash/take';
|
||||
import { food101Classes } from './food101';
|
||||
export function food101topK(classProbabilities, k = 5) {
|
||||
const probs = isTypedArray(classProbabilities)
|
||||
? Array.prototype.slice.call(classProbabilities)
|
||||
: classProbabilities;
|
||||
const sorted = reverse(
|
||||
sortBy(
|
||||
probs.map((prob, index) => [ prob, index ]),
|
||||
probIndex => probIndex[0]
|
||||
)
|
||||
);
|
||||
const topK = take(sorted, k).map(probIndex => {
|
||||
const iClass = food101Classes[probIndex[1]];
|
||||
return {
|
||||
id: probIndex[1],
|
||||
name: iClass.replace(/_/, ' '),
|
||||
probability: probIndex[0]
|
||||
};
|
||||
});
|
||||
return topK;
|
||||
};
|
||||
Test for HTML
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head>
|
||||
<title>A Tiny Page</title>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
p { font-size:15pt; color:#000 }
|
||||
-->
|
||||
</style></head><!-- real comment -->
|
||||
<body bgcolor="#FFFFFF" text="#000000" link="#0000CC">
|
||||
<script language="javascript" type="text/javascript">
|
||||
function changeHeight(h) {
|
||||
var tds = document.getElementsByTagName("td");
|
||||
for(var i = 0; i < tds.length; i++) {
|
||||
tds[i].setAttribute("height", h + "px");
|
||||
}}
|
||||
</script>
|
||||
<h1>abc</h1>
|
||||
<h2>def</h2>
|
||||
<p>Testing page</p>
|
||||
</body></html>
|
||||
Test for CSS
|
||||
/*
|
||||
Monokai style - ported by Luigi Maselli - http://grigio.org
|
||||
*/
|
||||
.hljs {
|
||||
display: block;
|
||||
overflow-x: auto;
|
||||
padding: 0.5em;
|
||||
background: #272822; color: #ddd;
|
||||
}
|
||||
.hljs-tag,
|
||||
.hljs-keyword,
|
||||
.hljs-selector-tag,
|
||||
.hljs-literal,
|
||||
.hljs-strong,
|
||||
.hljs-name {
|
||||
color: #f92672;
|
||||
}
|
||||
.hljs-code {
|
||||
color: #66d9ef;
|
||||
}
|
||||
.hljs-class .hljs-title {
|
||||
color: white;
|
||||
}
|
||||
">
|
||||
|
||||
<title>
|
||||
|
||||
Test Highlight
|
||||
|
||||
</title>
|
||||
|
||||
|
||||
<link rel="shortcut icon" type="image/x-icon" href="/" />
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="/css/main.900100e9dbee2d56c58fac8bb717037cae7e26a9c36c29d2ff587bdd65f0cbbe510b41d81a3bb234919cdfdc7550d786b2fab70c8fc507772d732fe097106d12.css" integrity="sha512-kAEA6dvuLVbFj6yLtxcDfK5+JqnDbCnS/1h73WXwy75RC0HYGjuyNJGc39x1UNeGsvq3DI/FB3ctcy/glxBtEg==" />
|
||||
|
||||
</head>
|
||||
<body a="auto">
|
||||
<main class="page-content" aria-label="Content">
|
||||
<div class="w">
|
||||
<div class="post-meta">
|
||||
<a href="/">..</a>
|
||||
|
||||
<p>
|
||||
<time datetime="2022-08-26 22:29:10 +0800 +0800">
|
||||
2022-08-26
|
||||
</time>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<article>
|
||||
<h1>Test Highlight</h1>
|
||||
|
||||
|
||||
|
||||
<h2 id="test-for-c">Test for C</h2>
|
||||
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-c" data-lang="c"><span style="display:flex;"><span><span style="color:#75715e">#define UNICODE
|
||||
</span></span></span><span style="display:flex;"><span><span style="color:#75715e">#include</span> <span style="color:#75715e"><windows.h></span><span style="color:#75715e">
|
||||
</span></span></span><span style="display:flex;"><span><span style="color:#75715e"></span>
|
||||
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">int</span> <span style="color:#a6e22e">main</span>(<span style="color:#66d9ef">int</span> argc, <span style="color:#66d9ef">char</span> <span style="color:#f92672">**</span>argv) {
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">int</span> speed <span style="color:#f92672">=</span> <span style="color:#ae81ff">0</span>, speed1 <span style="color:#f92672">=</span> <span style="color:#ae81ff">0</span>, speed2 <span style="color:#f92672">=</span> <span style="color:#ae81ff">0</span>; <span style="color:#75715e">// 1-20
|
||||
</span></span></span><span style="display:flex;"><span><span style="color:#75715e"></span> <span style="color:#a6e22e">printf</span>(<span style="color:#e6db74">"Set Mouse Speed by Maverick</span><span style="color:#ae81ff">\n</span><span style="color:#e6db74">"</span>);
|
||||
</span></span><span style="display:flex;"><span>
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#a6e22e">SystemParametersInfo</span>(SPI_GETMOUSESPEED, <span style="color:#ae81ff">0</span>, <span style="color:#f92672">&</span>speed, <span style="color:#ae81ff">0</span>);
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#a6e22e">printf</span>(<span style="color:#e6db74">"Current speed: %2d</span><span style="color:#ae81ff">\n</span><span style="color:#e6db74">"</span>, speed);
|
||||
</span></span><span style="display:flex;"><span>
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">if</span> (argc <span style="color:#f92672">==</span> <span style="color:#ae81ff">1</span>) <span style="color:#66d9ef">return</span> <span style="color:#ae81ff">0</span>;
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">if</span> (argc <span style="color:#f92672">>=</span> <span style="color:#ae81ff">2</span>) <span style="color:#a6e22e">sscanf</span>(argv[<span style="color:#ae81ff">1</span>], <span style="color:#e6db74">"%d"</span>, <span style="color:#f92672">&</span>speed1);
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">if</span> (argc <span style="color:#f92672">>=</span> <span style="color:#ae81ff">3</span>) <span style="color:#a6e22e">sscanf</span>(argv[<span style="color:#ae81ff">2</span>], <span style="color:#e6db74">"%d"</span>, <span style="color:#f92672">&</span>speed2);
|
||||
</span></span><span style="display:flex;"><span>
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">if</span> (argc <span style="color:#f92672">==</span> <span style="color:#ae81ff">2</span>) <span style="color:#75715e">// set speed to first value
|
||||
</span></span></span><span style="display:flex;"><span><span style="color:#75715e"></span> speed <span style="color:#f92672">=</span> speed1;
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">else</span> <span style="color:#66d9ef">if</span> (speed <span style="color:#f92672">==</span> speed1 <span style="color:#f92672">||</span> speed <span style="color:#f92672">==</span> speed2) <span style="color:#75715e">// alternate
|
||||
</span></span></span><span style="display:flex;"><span><span style="color:#75715e"></span> speed <span style="color:#f92672">=</span> speed1 <span style="color:#f92672">+</span> speed2 <span style="color:#f92672">-</span> speed;
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">else</span>
|
||||
</span></span><span style="display:flex;"><span> speed <span style="color:#f92672">=</span> speed1; <span style="color:#75715e">// start with first value
|
||||
</span></span></span><span style="display:flex;"><span><span style="color:#75715e"></span>
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#a6e22e">SystemParametersInfo</span>(SPI_SETMOUSESPEED, <span style="color:#ae81ff">0</span>, speed, <span style="color:#ae81ff">0</span>);
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#a6e22e">SystemParametersInfo</span>(SPI_GETMOUSESPEED, <span style="color:#ae81ff">0</span>, <span style="color:#f92672">&</span>speed, <span style="color:#ae81ff">0</span>);
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#a6e22e">printf</span>(<span style="color:#e6db74">"New speed: %2d</span><span style="color:#ae81ff">\n</span><span style="color:#e6db74">"</span>, speed);
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">return</span> <span style="color:#ae81ff">0</span>;
|
||||
</span></span><span style="display:flex;"><span>}
|
||||
</span></span></code></pre></div><h2 id="test-for-java">Test for Java</h2>
|
||||
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-java" data-lang="java"><span style="display:flex;"><span><span style="color:#f92672">import</span> java.util.Map;
|
||||
</span></span><span style="display:flex;"><span><span style="color:#f92672">import</span> java.util.TreeSet;
|
||||
</span></span><span style="display:flex;"><span>
|
||||
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">public</span> <span style="color:#66d9ef">class</span> <span style="color:#a6e22e">GetEnv</span> {
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#75715e">/**
|
||||
</span></span></span><span style="display:flex;"><span><span style="color:#75715e"> * let's test generics
|
||||
</span></span></span><span style="display:flex;"><span><span style="color:#75715e"> * @param args the command line arguments
|
||||
</span></span></span><span style="display:flex;"><span><span style="color:#75715e"> */</span>
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">public</span> <span style="color:#66d9ef">static</span> <span style="color:#66d9ef">void</span> <span style="color:#a6e22e">main</span>(String<span style="color:#f92672">[]</span> args) {
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#75715e">// get a map of environment variables</span>
|
||||
</span></span><span style="display:flex;"><span> Map<span style="color:#f92672"><</span>String, String<span style="color:#f92672">></span> env <span style="color:#f92672">=</span> System.<span style="color:#a6e22e">getenv</span>();
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#75715e">// build a sorted set out of the keys and iterate</span>
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">for</span>(String k: <span style="color:#66d9ef">new</span> TreeSet<span style="color:#f92672"><</span>String<span style="color:#f92672">></span>(env.<span style="color:#a6e22e">keySet</span>())) {
|
||||
</span></span><span style="display:flex;"><span> System.<span style="color:#a6e22e">out</span>.<span style="color:#a6e22e">printf</span>(<span style="color:#e6db74">"%s = %s\n"</span>, k, env.<span style="color:#a6e22e">get</span>(k));
|
||||
</span></span><span style="display:flex;"><span> }
|
||||
</span></span><span style="display:flex;"><span> }
|
||||
</span></span><span style="display:flex;"><span>}
|
||||
</span></span></code></pre></div><h2 id="test-for-perl">Test for Perl</h2>
|
||||
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-perl" data-lang="perl"><span style="display:flex;"><span><span style="color:#75715e">#!perl -w</span>
|
||||
</span></span><span style="display:flex;"><span>
|
||||
</span></span><span style="display:flex;"><span><span style="color:#75715e"># Time-stamp: <2002/04/06, 13:12:13 (EST), maverick, csvformat.pl></span>
|
||||
</span></span><span style="display:flex;"><span><span style="color:#75715e"># Two pass CSV file to table formatter</span>
|
||||
</span></span><span style="display:flex;"><span>
|
||||
</span></span><span style="display:flex;"><span>$delim <span style="color:#f92672">=</span> $#ARGV <span style="color:#f92672">>=</span> <span style="color:#ae81ff">1</span> ? $ARGV[<span style="color:#ae81ff">1</span>] : <span style="color:#e6db74">','</span>;
|
||||
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">print</span> STDERR <span style="color:#e6db74">"Split pattern: $delim\n"</span>;
|
||||
</span></span><span style="display:flex;"><span>
|
||||
</span></span><span style="display:flex;"><span><span style="color:#75715e"># first pass</span>
|
||||
</span></span><span style="display:flex;"><span>open F, <span style="color:#e6db74">"<$ARGV[0]"</span> <span style="color:#f92672">or</span> die;
|
||||
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">while</span>(<span style="color:#e6db74"><F></span>)
|
||||
</span></span><span style="display:flex;"><span>{
|
||||
</span></span><span style="display:flex;"><span> chomp;
|
||||
</span></span><span style="display:flex;"><span> $i <span style="color:#f92672">=</span> <span style="color:#ae81ff">0</span>;
|
||||
</span></span><span style="display:flex;"><span> map { $max[$_<span style="color:#f92672">-></span>[<span style="color:#ae81ff">1</span>]] <span style="color:#f92672">=</span> $_<span style="color:#f92672">-></span>[<span style="color:#ae81ff">0</span>] <span style="color:#66d9ef">if</span> $_<span style="color:#f92672">-></span>[<span style="color:#ae81ff">0</span>] <span style="color:#f92672">></span> ($max[$_<span style="color:#f92672">-></span>[<span style="color:#ae81ff">1</span>]] <span style="color:#f92672">||</span> <span style="color:#ae81ff">0</span>) }
|
||||
</span></span><span style="display:flex;"><span> (map {[length $_, $i<span style="color:#f92672">++</span>]} split($delim));
|
||||
</span></span><span style="display:flex;"><span>}
|
||||
</span></span><span style="display:flex;"><span>close F;
|
||||
</span></span><span style="display:flex;"><span>
|
||||
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">print</span> STDERR <span style="color:#e6db74">'Field width: '</span>, join(<span style="color:#e6db74">', '</span>, @max), <span style="color:#e6db74">"\n"</span>;
|
||||
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">print</span> STDERR join(<span style="color:#e6db74">' '</span>, map {<span style="color:#e6db74">'-'</span> x $_} @max);
|
||||
</span></span><span style="display:flex;"><span>
|
||||
</span></span><span style="display:flex;"><span><span style="color:#75715e"># second pass</span>
|
||||
</span></span><span style="display:flex;"><span>open F, <span style="color:#e6db74">"<$ARGV[0]"</span> <span style="color:#f92672">or</span> die;
|
||||
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">while</span>(<span style="color:#e6db74"><F></span>)
|
||||
</span></span><span style="display:flex;"><span> {
|
||||
</span></span><span style="display:flex;"><span> chomp;
|
||||
</span></span><span style="display:flex;"><span> $i <span style="color:#f92672">=</span> <span style="color:#ae81ff">0</span>;
|
||||
</span></span><span style="display:flex;"><span> map { printf(<span style="color:#e6db74">"%-$max[$_->[1]]s "</span>, $_<span style="color:#f92672">-></span>[<span style="color:#ae81ff">0</span>]) }
|
||||
</span></span><span style="display:flex;"><span> (map {[$_, $i<span style="color:#f92672">++</span>]} split($delim));
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">print</span> <span style="color:#e6db74">"\n"</span>;
|
||||
</span></span><span style="display:flex;"><span>}
|
||||
</span></span><span style="display:flex;"><span>close F;
|
||||
</span></span></code></pre></div><h2 id="test-for-python">Test for Python</h2>
|
||||
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-python" data-lang="python"><span style="display:flex;"><span><span style="color:#75715e"># test python (sample from offlineimap)</span>
|
||||
</span></span><span style="display:flex;"><span>
|
||||
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">class</span> <span style="color:#a6e22e">ExitNotifyThread</span>(Thread):
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#e6db74">"""This class is designed to alert a "monitor" to the fact that a thread has
|
||||
</span></span></span><span style="display:flex;"><span><span style="color:#e6db74"> exited and to provide for the ability for it to find out why."""</span>
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">def</span> <span style="color:#a6e22e">run</span>(self):
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">global</span> exitthreads, profiledir
|
||||
</span></span><span style="display:flex;"><span> self<span style="color:#f92672">.</span>threadid <span style="color:#f92672">=</span> thread<span style="color:#f92672">.</span>get_ident()
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">try</span>:
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">if</span> <span style="color:#f92672">not</span> profiledir: <span style="color:#75715e"># normal case</span>
|
||||
</span></span><span style="display:flex;"><span> Thread<span style="color:#f92672">.</span>run(self)
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">else</span>:
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">try</span>:
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#f92672">import</span> cProfile <span style="color:#66d9ef">as</span> profile
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">except</span> <span style="color:#a6e22e">ImportError</span>:
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#f92672">import</span> profile
|
||||
</span></span><span style="display:flex;"><span> prof <span style="color:#f92672">=</span> profile<span style="color:#f92672">.</span>Profile()
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">try</span>:
|
||||
</span></span><span style="display:flex;"><span> prof <span style="color:#f92672">=</span> prof<span style="color:#f92672">.</span>runctx(<span style="color:#e6db74">"Thread.run(self)"</span>, globals(), locals())
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">except</span> <span style="color:#a6e22e">SystemExit</span>:
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">pass</span>
|
||||
</span></span><span style="display:flex;"><span> prof<span style="color:#f92672">.</span>dump_stats( \
|
||||
</span></span><span style="display:flex;"><span> profiledir <span style="color:#f92672">+</span> <span style="color:#e6db74">"/"</span> <span style="color:#f92672">+</span> str(self<span style="color:#f92672">.</span>threadid) <span style="color:#f92672">+</span> <span style="color:#e6db74">"_"</span> <span style="color:#f92672">+</span> \
|
||||
</span></span><span style="display:flex;"><span> self<span style="color:#f92672">.</span>getName() <span style="color:#f92672">+</span> <span style="color:#e6db74">".prof"</span>)
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">except</span>:
|
||||
</span></span><span style="display:flex;"><span> self<span style="color:#f92672">.</span>setExitCause(<span style="color:#e6db74">'EXCEPTION'</span>)
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">if</span> sys:
|
||||
</span></span><span style="display:flex;"><span> self<span style="color:#f92672">.</span>setExitException(sys<span style="color:#f92672">.</span>exc_info()[<span style="color:#ae81ff">1</span>])
|
||||
</span></span><span style="display:flex;"><span> tb <span style="color:#f92672">=</span> traceback<span style="color:#f92672">.</span>format_exc()
|
||||
</span></span><span style="display:flex;"><span> self<span style="color:#f92672">.</span>setExitStackTrace(tb)
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">else</span>:
|
||||
</span></span><span style="display:flex;"><span> self<span style="color:#f92672">.</span>setExitCause(<span style="color:#e6db74">'NORMAL'</span>)
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">if</span> <span style="color:#f92672">not</span> hasattr(self, <span style="color:#e6db74">'exitmessage'</span>):
|
||||
</span></span><span style="display:flex;"><span> self<span style="color:#f92672">.</span>setExitMessage(<span style="color:#66d9ef">None</span>)
|
||||
</span></span><span style="display:flex;"><span>
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">if</span> exitthreads:
|
||||
</span></span><span style="display:flex;"><span> exitthreads<span style="color:#f92672">.</span>put(self, <span style="color:#66d9ef">True</span>)
|
||||
</span></span><span style="display:flex;"><span>
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">def</span> <span style="color:#a6e22e">setExitCause</span>(self, cause):
|
||||
</span></span><span style="display:flex;"><span> self<span style="color:#f92672">.</span>exitcause <span style="color:#f92672">=</span> cause
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">def</span> <span style="color:#a6e22e">getExitCause</span>(self):
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#e6db74">"""Returns the cause of the exit, one of:
|
||||
</span></span></span><span style="display:flex;"><span><span style="color:#e6db74"> 'EXCEPTION' -- the thread aborted because of an exception
|
||||
</span></span></span><span style="display:flex;"><span><span style="color:#e6db74"> 'NORMAL' -- normal termination."""</span>
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">return</span> self<span style="color:#f92672">.</span>exitcause
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">def</span> <span style="color:#a6e22e">setExitException</span>(self, exc):
|
||||
</span></span><span style="display:flex;"><span> self<span style="color:#f92672">.</span>exitexception <span style="color:#f92672">=</span> exc
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">def</span> <span style="color:#a6e22e">getExitException</span>(self):
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#e6db74">"""If getExitCause() is 'EXCEPTION', holds the value from
|
||||
</span></span></span><span style="display:flex;"><span><span style="color:#e6db74"> sys.exc_info()[1] for this exception."""</span>
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">return</span> self<span style="color:#f92672">.</span>exitexception
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">def</span> <span style="color:#a6e22e">setExitStackTrace</span>(self, st):
|
||||
</span></span><span style="display:flex;"><span> self<span style="color:#f92672">.</span>exitstacktrace <span style="color:#f92672">=</span> st
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">def</span> <span style="color:#a6e22e">getExitStackTrace</span>(self):
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#e6db74">"""If getExitCause() is 'EXCEPTION', returns a string representing
|
||||
</span></span></span><span style="display:flex;"><span><span style="color:#e6db74"> the stack trace for this exception."""</span>
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">return</span> self<span style="color:#f92672">.</span>exitstacktrace
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">def</span> <span style="color:#a6e22e">setExitMessage</span>(self, msg):
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#e6db74">"""Sets the exit message to be fetched by a subsequent call to
|
||||
</span></span></span><span style="display:flex;"><span><span style="color:#e6db74"> getExitMessage. This message may be any object or type except
|
||||
</span></span></span><span style="display:flex;"><span><span style="color:#e6db74"> None."""</span>
|
||||
</span></span><span style="display:flex;"><span> self<span style="color:#f92672">.</span>exitmessage <span style="color:#f92672">=</span> msg
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">def</span> <span style="color:#a6e22e">getExitMessage</span>(self):
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#e6db74">"""For any exit cause, returns the message previously set by
|
||||
</span></span></span><span style="display:flex;"><span><span style="color:#e6db74"> a call to setExitMessage(), or None if there was no such message
|
||||
</span></span></span><span style="display:flex;"><span><span style="color:#e6db74"> set."""</span>
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">return</span> self<span style="color:#f92672">.</span>exitmessage
|
||||
</span></span></code></pre></div><h2 id="test-for-bash">Test for Bash</h2>
|
||||
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span><span style="color:#75715e">#!/bin/bash
|
||||
</span></span></span><span style="display:flex;"><span><span style="color:#75715e"></span>cd $ROOT_DIR
|
||||
</span></span><span style="display:flex;"><span>DOT_FILES<span style="color:#f92672">=</span><span style="color:#e6db74">"lastpass weechat ssh Xauthority"</span>
|
||||
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">for</span> dotfile in $DOT_FILES; <span style="color:#66d9ef">do</span> conform_link <span style="color:#e6db74">"</span>$DATA_DIR<span style="color:#e6db74">/</span>$dotfile<span style="color:#e6db74">"</span> <span style="color:#e6db74">".</span>$dotfile<span style="color:#e6db74">"</span>; <span style="color:#66d9ef">done</span>
|
||||
</span></span><span style="display:flex;"><span>
|
||||
</span></span><span style="display:flex;"><span><span style="color:#75715e"># TODO: refactor with suffix variables (or common cron values)</span>
|
||||
</span></span><span style="display:flex;"><span>
|
||||
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">case</span> <span style="color:#e6db74">"</span>$PLATFORM<span style="color:#e6db74">"</span> in
|
||||
</span></span><span style="display:flex;"><span> linux<span style="color:#f92672">)</span>
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#75715e">#conform_link "$CONF_DIR/shell/zshenv" ".zshenv"</span>
|
||||
</span></span><span style="display:flex;"><span> crontab -l > $ROOT_DIR/tmp/crontab-conflict-arch
|
||||
</span></span><span style="display:flex;"><span> cd $ROOT_DIR/$CONF_DIR/cron
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">if</span> <span style="color:#f92672">[[</span> <span style="color:#e6db74">"</span><span style="color:#66d9ef">$(</span>diff ~/tmp/crontab-conflict-arch crontab-current-arch<span style="color:#66d9ef">)</span><span style="color:#e6db74">"</span> <span style="color:#f92672">==</span> <span style="color:#e6db74">""</span>
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#f92672">]]</span>;
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">then</span> <span style="color:#75715e"># no difference with current backup</span>
|
||||
</span></span><span style="display:flex;"><span> logger <span style="color:#e6db74">"</span>$LOG_PREFIX<span style="color:#e6db74">: crontab live settings match stored "</span><span style="color:#ae81ff">\
|
||||
</span></span></span><span style="display:flex;"><span><span style="color:#ae81ff"></span> <span style="color:#e6db74">"settings; no restore required"</span>
|
||||
</span></span><span style="display:flex;"><span> rm ~/tmp/crontab-conflict-arch
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">else</span> <span style="color:#75715e"># current crontab settings in file do not match live settings</span>
|
||||
</span></span><span style="display:flex;"><span> crontab $ROOT_DIR/$CONF_DIR/cron/crontab-current-arch
|
||||
</span></span><span style="display:flex;"><span> logger <span style="color:#e6db74">"</span>$LOG_PREFIX<span style="color:#e6db74">: crontab stored settings conflict with "</span><span style="color:#ae81ff">\
|
||||
</span></span></span><span style="display:flex;"><span><span style="color:#ae81ff"></span> <span style="color:#e6db74">"live settings; stored settings restored. "</span><span style="color:#ae81ff">\
|
||||
</span></span></span><span style="display:flex;"><span><span style="color:#ae81ff"></span> <span style="color:#e6db74">"Previous settings recorded in ~/tmp/crontab-conflict-arch."</span>
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">fi</span>
|
||||
</span></span><span style="display:flex;"><span> ;;
|
||||
</span></span></code></pre></div><h2 id="test-for-haskell">Test for Haskell</h2>
|
||||
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-haskell" data-lang="haskell"><span style="display:flex;"><span><span style="color:#75715e">{-# LANGUAGE OverloadedStrings #-}</span>
|
||||
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">module</span> Main <span style="color:#66d9ef">where</span>
|
||||
</span></span><span style="display:flex;"><span>
|
||||
</span></span><span style="display:flex;"><span><span style="color:#75715e">--import Prelude hiding (id)</span>
|
||||
</span></span><span style="display:flex;"><span><span style="color:#75715e">--import Control.Category (id)</span>
|
||||
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">import</span> Control.Arrow ((<span style="color:#f92672">>>></span>), (<span style="color:#f92672">***</span>), <span style="color:#a6e22e">arr</span>)
|
||||
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">import</span> Control.Monad (<span style="color:#a6e22e">forM_</span>)
|
||||
</span></span><span style="display:flex;"><span><span style="color:#75715e">-- import Data.Monoid (mempty, mconcat)</span>
|
||||
</span></span><span style="display:flex;"><span>
|
||||
</span></span><span style="display:flex;"><span><span style="color:#75715e">-- import System.FilePath</span>
|
||||
</span></span><span style="display:flex;"><span>
|
||||
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">import</span> Hakyll
|
||||
</span></span><span style="display:flex;"><span>
|
||||
</span></span><span style="display:flex;"><span>
|
||||
</span></span><span style="display:flex;"><span><span style="color:#a6e22e">main</span> <span style="color:#f92672">::</span> <span style="color:#66d9ef">IO</span> ()
|
||||
</span></span><span style="display:flex;"><span><span style="color:#a6e22e">main</span> <span style="color:#f92672">=</span> hakyll <span style="color:#f92672">$</span> <span style="color:#66d9ef">do</span>
|
||||
</span></span><span style="display:flex;"><span>
|
||||
</span></span><span style="display:flex;"><span> route <span style="color:#e6db74">"css/*"</span> <span style="color:#f92672">$</span> setExtension <span style="color:#e6db74">"css"</span>
|
||||
</span></span><span style="display:flex;"><span> compile <span style="color:#e6db74">"css/*"</span> <span style="color:#f92672">$</span> byExtension (<span style="color:#a6e22e">error</span> <span style="color:#e6db74">"Not a (S)CSS file"</span>)
|
||||
</span></span><span style="display:flex;"><span> [ (<span style="color:#e6db74">".css"</span>, compressCssCompiler)
|
||||
</span></span><span style="display:flex;"><span> , (<span style="color:#e6db74">".scss"</span>, sass)
|
||||
</span></span><span style="display:flex;"><span> ]
|
||||
</span></span><span style="display:flex;"><span>
|
||||
</span></span><span style="display:flex;"><span> route <span style="color:#e6db74">"js/**"</span> idRoute
|
||||
</span></span><span style="display:flex;"><span> compile <span style="color:#e6db74">"js/**"</span> copyFileCompiler
|
||||
</span></span><span style="display:flex;"><span>
|
||||
</span></span><span style="display:flex;"><span> route <span style="color:#e6db74">"img/*"</span> idRoute
|
||||
</span></span><span style="display:flex;"><span> compile <span style="color:#e6db74">"img/*"</span> copyFileCompiler
|
||||
</span></span><span style="display:flex;"><span>
|
||||
</span></span><span style="display:flex;"><span> compile <span style="color:#e6db74">"templates/*"</span> templateCompiler
|
||||
</span></span><span style="display:flex;"><span>
|
||||
</span></span><span style="display:flex;"><span> forM_ [<span style="color:#e6db74">"test.md"</span>, <span style="color:#e6db74">"index.md"</span>] <span style="color:#f92672">$</span> <span style="color:#a6e22e">\</span>page <span style="color:#f92672">-></span> <span style="color:#66d9ef">do</span>
|
||||
</span></span><span style="display:flex;"><span> route page <span style="color:#f92672">$</span> setExtension <span style="color:#e6db74">"html"</span>
|
||||
</span></span><span style="display:flex;"><span> compile page <span style="color:#f92672">$</span> pageCompiler
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#f92672">>>></span> applyTemplateCompiler <span style="color:#e6db74">"templates/default.html"</span>
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#f92672">>>></span> relativizeUrlsCompiler
|
||||
</span></span><span style="display:flex;"><span>
|
||||
</span></span><span style="display:flex;"><span><span style="color:#a6e22e">sass</span> <span style="color:#f92672">::</span> <span style="color:#66d9ef">Compiler</span> <span style="color:#66d9ef">Resource</span> <span style="color:#66d9ef">String</span>
|
||||
</span></span><span style="display:flex;"><span><span style="color:#a6e22e">sass</span> <span style="color:#f92672">=</span> getResourceString <span style="color:#f92672">>>></span> unixFilter <span style="color:#e6db74">"sass"</span> [<span style="color:#e6db74">"-s"</span>, <span style="color:#e6db74">"--scss"</span>]
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#f92672">>>></span> arr compressCss
|
||||
</span></span></code></pre></div><h2 id="test-for-php">Test for PHP</h2>
|
||||
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-php" data-lang="php"><span style="display:flex;"><span><span style="color:#f92672"><?</span><span style="color:#a6e22e">php</span>
|
||||
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">require_once</span>($GLOBALS[<span style="color:#e6db74">'g_campsiteDir'</span>]<span style="color:#f92672">.</span> <span style="color:#e6db74">"/</span><span style="color:#e6db74">$ADMIN_DIR</span><span style="color:#e6db74">/country/common.php"</span>);
|
||||
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">require_once</span>($GLOBALS[<span style="color:#e6db74">'g_campsiteDir'</span>]<span style="color:#f92672">.</span> <span style="color:#e6db74">"/classes/SimplePager.php"</span>);
|
||||
</span></span><span style="display:flex;"><span><span style="color:#a6e22e">camp_load_translation_strings</span>(<span style="color:#e6db74">"api"</span>);
|
||||
</span></span><span style="display:flex;"><span>
|
||||
</span></span><span style="display:flex;"><span>$f_country_language_selected <span style="color:#f92672">=</span> <span style="color:#a6e22e">camp_session_get</span>(<span style="color:#e6db74">'f_language_selected'</span>, <span style="color:#e6db74">''</span>);
|
||||
</span></span><span style="display:flex;"><span>$f_country_offset <span style="color:#f92672">=</span> <span style="color:#a6e22e">camp_session_get</span>(<span style="color:#e6db74">'f_country_offset'</span>, <span style="color:#ae81ff">0</span>);
|
||||
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">if</span> (<span style="color:#66d9ef">empty</span>($f_country_language_selected)) {
|
||||
</span></span><span style="display:flex;"><span> $f_country_language_selected <span style="color:#f92672">=</span> <span style="color:#66d9ef">null</span>;
|
||||
</span></span><span style="display:flex;"><span>}
|
||||
</span></span><span style="display:flex;"><span>$ItemsPerPage <span style="color:#f92672">=</span> <span style="color:#ae81ff">20</span>;
|
||||
</span></span><span style="display:flex;"><span>$languages <span style="color:#f92672">=</span> <span style="color:#a6e22e">Language</span><span style="color:#f92672">::</span><span style="color:#a6e22e">GetLanguages</span>(<span style="color:#66d9ef">null</span>, <span style="color:#66d9ef">null</span>, <span style="color:#66d9ef">null</span>, <span style="color:#66d9ef">array</span>(), <span style="color:#66d9ef">array</span>(), <span style="color:#66d9ef">true</span>);
|
||||
</span></span><span style="display:flex;"><span>$numCountries <span style="color:#f92672">=</span> <span style="color:#a6e22e">Country</span><span style="color:#f92672">::</span><span style="color:#a6e22e">GetNumCountries</span>($f_country_language_selected);
|
||||
</span></span><span style="display:flex;"><span>
|
||||
</span></span><span style="display:flex;"><span>$pager <span style="color:#f92672">=</span> <span style="color:#66d9ef">new</span> <span style="color:#a6e22e">SimplePager</span>($numCountries, $ItemsPerPage, <span style="color:#e6db74">"index.php?"</span>);
|
||||
</span></span><span style="display:flex;"><span>
|
||||
</span></span><span style="display:flex;"><span>$crumbs <span style="color:#f92672">=</span> <span style="color:#66d9ef">array</span>();
|
||||
</span></span><span style="display:flex;"><span>$crumbs[] <span style="color:#f92672">=</span> <span style="color:#66d9ef">array</span>(<span style="color:#a6e22e">getGS</span>(<span style="color:#e6db74">"Configure"</span>), <span style="color:#e6db74">""</span>);
|
||||
</span></span><span style="display:flex;"><span>$crumbs[] <span style="color:#f92672">=</span> <span style="color:#66d9ef">array</span>(<span style="color:#a6e22e">getGS</span>(<span style="color:#e6db74">"Countries"</span>), <span style="color:#e6db74">""</span>);
|
||||
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">echo</span> <span style="color:#a6e22e">camp_html_breadcrumbs</span>($crumbs);
|
||||
</span></span><span style="display:flex;"><span>
|
||||
</span></span><span style="display:flex;"><span><span style="color:#75715e">?></span><span style="color:#960050;background-color:#1e0010">
|
||||
</span></span></span><span style="display:flex;"><span><span style="color:#960050;background-color:#1e0010">
|
||||
</span></span></span><span style="display:flex;"><span><span style="color:#960050;background-color:#1e0010"><?php if ($g_user->hasPermission("ManageCountries")) { ?>
|
||||
</span></span></span><span style="display:flex;"><span><span style="color:#960050;background-color:#1e0010"><table BORDER="0" CELLSPACING="0" CELLPADDING="1">
|
||||
</span></span></span><span style="display:flex;"><span><span style="color:#960050;background-color:#1e0010"> <tr>
|
||||
</span></span></span><span style="display:flex;"><span><span style="color:#960050;background-color:#1e0010"> <td><a href="add.php"><?php putGS("Add new"); ?></a></td>
|
||||
</span></span></span><span style="display:flex;"><span><span style="color:#960050;background-color:#1e0010"> </tr>
|
||||
</span></span></span><span style="display:flex;"><span><span style="color:#960050;background-color:#1e0010"></table>
|
||||
</span></span></span></code></pre></div><h2 id="test-for-javascript">Test for Javascript</h2>
|
||||
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-js" data-lang="js"><span style="display:flex;"><span><span style="color:#66d9ef">import</span> <span style="color:#a6e22e">isTypedArray</span> <span style="color:#a6e22e">from</span> <span style="color:#e6db74">'lodash/isTypedArray'</span>;
|
||||
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">import</span> <span style="color:#a6e22e">reverse</span> <span style="color:#a6e22e">from</span> <span style="color:#e6db74">'lodash/reverse'</span>;
|
||||
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">import</span> <span style="color:#a6e22e">sortBy</span> <span style="color:#a6e22e">from</span> <span style="color:#e6db74">'lodash/sortBy'</span>;
|
||||
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">import</span> <span style="color:#a6e22e">take</span> <span style="color:#a6e22e">from</span> <span style="color:#e6db74">'lodash/take'</span>;
|
||||
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">import</span> { <span style="color:#a6e22e">food101Classes</span> } <span style="color:#a6e22e">from</span> <span style="color:#e6db74">'./food101'</span>;
|
||||
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">export</span> <span style="color:#66d9ef">function</span> <span style="color:#a6e22e">food101topK</span>(<span style="color:#a6e22e">classProbabilities</span>, <span style="color:#a6e22e">k</span> <span style="color:#f92672">=</span> <span style="color:#ae81ff">5</span>) {
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">const</span> <span style="color:#a6e22e">probs</span> <span style="color:#f92672">=</span> <span style="color:#a6e22e">isTypedArray</span>(<span style="color:#a6e22e">classProbabilities</span>)
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#f92672">?</span> Array.<span style="color:#a6e22e">prototype</span>.<span style="color:#a6e22e">slice</span>.<span style="color:#a6e22e">call</span>(<span style="color:#a6e22e">classProbabilities</span>)
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#f92672">:</span> <span style="color:#a6e22e">classProbabilities</span>;
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">const</span> <span style="color:#a6e22e">sorted</span> <span style="color:#f92672">=</span> <span style="color:#a6e22e">reverse</span>(
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#a6e22e">sortBy</span>(
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#a6e22e">probs</span>.<span style="color:#a6e22e">map</span>((<span style="color:#a6e22e">prob</span>, <span style="color:#a6e22e">index</span>) => [ <span style="color:#a6e22e">prob</span>, <span style="color:#a6e22e">index</span> ]),
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#a6e22e">probIndex</span> => <span style="color:#a6e22e">probIndex</span>[<span style="color:#ae81ff">0</span>]
|
||||
</span></span><span style="display:flex;"><span> )
|
||||
</span></span><span style="display:flex;"><span> );
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">const</span> <span style="color:#a6e22e">topK</span> <span style="color:#f92672">=</span> <span style="color:#a6e22e">take</span>(<span style="color:#a6e22e">sorted</span>, <span style="color:#a6e22e">k</span>).<span style="color:#a6e22e">map</span>(<span style="color:#a6e22e">probIndex</span> => {
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">const</span> <span style="color:#a6e22e">iClass</span> <span style="color:#f92672">=</span> <span style="color:#a6e22e">food101Classes</span>[<span style="color:#a6e22e">probIndex</span>[<span style="color:#ae81ff">1</span>]];
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">return</span> {
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#a6e22e">id</span><span style="color:#f92672">:</span> <span style="color:#a6e22e">probIndex</span>[<span style="color:#ae81ff">1</span>],
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#a6e22e">name</span><span style="color:#f92672">:</span> <span style="color:#a6e22e">iClass</span>.<span style="color:#a6e22e">replace</span>(<span style="color:#e6db74">/_/</span>, <span style="color:#e6db74">' '</span>),
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#a6e22e">probability</span><span style="color:#f92672">:</span> <span style="color:#a6e22e">probIndex</span>[<span style="color:#ae81ff">0</span>]
|
||||
</span></span><span style="display:flex;"><span> };
|
||||
</span></span><span style="display:flex;"><span> });
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">return</span> <span style="color:#a6e22e">topK</span>;
|
||||
</span></span><span style="display:flex;"><span>};
|
||||
</span></span></code></pre></div><h2 id="test-for-html">Test for HTML</h2>
|
||||
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-html" data-lang="html"><span style="display:flex;"><span><span style="color:#75715e"><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"></span>
|
||||
</span></span><span style="display:flex;"><span><<span style="color:#f92672">html</span>><<span style="color:#f92672">head</span>>
|
||||
</span></span><span style="display:flex;"><span><<span style="color:#f92672">title</span>>A Tiny Page</<span style="color:#f92672">title</span>>
|
||||
</span></span><span style="display:flex;"><span><<span style="color:#f92672">style</span> <span style="color:#a6e22e">type</span><span style="color:#f92672">=</span><span style="color:#e6db74">"text/css"</span>>
|
||||
</span></span><span style="display:flex;"><span><span style="color:#f92672"><!</span><span style="color:#f92672">--</span>
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#f92672">p</span> { <span style="color:#66d9ef">font-size</span>:<span style="color:#ae81ff">15</span><span style="color:#66d9ef">pt</span>; <span style="color:#66d9ef">color</span>:<span style="color:#ae81ff">#000</span> }
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#f92672">--</span><span style="color:#f92672">></span>
|
||||
</span></span><span style="display:flex;"><span></<span style="color:#f92672">style</span>></<span style="color:#f92672">head</span>><span style="color:#75715e"><!-- real comment --></span>
|
||||
</span></span><span style="display:flex;"><span><<span style="color:#f92672">body</span> <span style="color:#a6e22e">bgcolor</span><span style="color:#f92672">=</span><span style="color:#e6db74">"#FFFFFF"</span> <span style="color:#a6e22e">text</span><span style="color:#f92672">=</span><span style="color:#e6db74">"#000000"</span> <span style="color:#a6e22e">link</span><span style="color:#f92672">=</span><span style="color:#e6db74">"#0000CC"</span>>
|
||||
</span></span><span style="display:flex;"><span><<span style="color:#f92672">script</span> <span style="color:#a6e22e">language</span><span style="color:#f92672">=</span><span style="color:#e6db74">"javascript"</span> <span style="color:#a6e22e">type</span><span style="color:#f92672">=</span><span style="color:#e6db74">"text/javascript"</span>>
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">function</span> <span style="color:#a6e22e">changeHeight</span>(<span style="color:#a6e22e">h</span>) {
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">var</span> <span style="color:#a6e22e">tds</span> <span style="color:#f92672">=</span> document.<span style="color:#a6e22e">getElementsByTagName</span>(<span style="color:#e6db74">"td"</span>);
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">for</span>(<span style="color:#66d9ef">var</span> <span style="color:#a6e22e">i</span> <span style="color:#f92672">=</span> <span style="color:#ae81ff">0</span>; <span style="color:#a6e22e">i</span> <span style="color:#f92672"><</span> <span style="color:#a6e22e">tds</span>.<span style="color:#a6e22e">length</span>; <span style="color:#a6e22e">i</span><span style="color:#f92672">++</span>) {
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#a6e22e">tds</span>[<span style="color:#a6e22e">i</span>].<span style="color:#a6e22e">setAttribute</span>(<span style="color:#e6db74">"height"</span>, <span style="color:#a6e22e">h</span> <span style="color:#f92672">+</span> <span style="color:#e6db74">"px"</span>);
|
||||
</span></span><span style="display:flex;"><span> }}
|
||||
</span></span><span style="display:flex;"><span></<span style="color:#f92672">script</span>>
|
||||
</span></span><span style="display:flex;"><span><<span style="color:#f92672">h1</span>>abc</<span style="color:#f92672">h1</span>>
|
||||
</span></span><span style="display:flex;"><span><<span style="color:#f92672">h2</span>>def</<span style="color:#f92672">h2</span>>
|
||||
</span></span><span style="display:flex;"><span><<span style="color:#f92672">p</span>>Testing page</<span style="color:#f92672">p</span>>
|
||||
</span></span><span style="display:flex;"><span></<span style="color:#f92672">body</span>></<span style="color:#f92672">html</span>>
|
||||
</span></span></code></pre></div><h2 id="test-for-css">Test for CSS</h2>
|
||||
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-css" data-lang="css"><span style="display:flex;"><span><span style="color:#75715e">/*
|
||||
</span></span></span><span style="display:flex;"><span><span style="color:#75715e">Monokai style - ported by Luigi Maselli - http://grigio.org
|
||||
</span></span></span><span style="display:flex;"><span><span style="color:#75715e">*/</span>
|
||||
</span></span><span style="display:flex;"><span>.<span style="color:#a6e22e">hljs</span> {
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">display</span>: <span style="color:#66d9ef">block</span>;
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">overflow-x</span>: <span style="color:#66d9ef">auto</span>;
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">padding</span>: <span style="color:#ae81ff">0.5</span><span style="color:#66d9ef">em</span>;
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">background</span>: <span style="color:#ae81ff">#272822</span>; <span style="color:#66d9ef">color</span>: <span style="color:#ae81ff">#ddd</span>;
|
||||
</span></span><span style="display:flex;"><span>}
|
||||
</span></span><span style="display:flex;"><span>.<span style="color:#a6e22e">hljs-tag</span><span style="color:#f92672">,</span>
|
||||
</span></span><span style="display:flex;"><span>.<span style="color:#a6e22e">hljs-keyword</span><span style="color:#f92672">,</span>
|
||||
</span></span><span style="display:flex;"><span>.<span style="color:#a6e22e">hljs-selector-tag</span><span style="color:#f92672">,</span>
|
||||
</span></span><span style="display:flex;"><span>.<span style="color:#a6e22e">hljs-literal</span><span style="color:#f92672">,</span>
|
||||
</span></span><span style="display:flex;"><span>.<span style="color:#a6e22e">hljs-strong</span><span style="color:#f92672">,</span>
|
||||
</span></span><span style="display:flex;"><span>.<span style="color:#a6e22e">hljs-name</span> {
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">color</span>: <span style="color:#ae81ff">#f92672</span>;
|
||||
</span></span><span style="display:flex;"><span>}
|
||||
</span></span><span style="display:flex;"><span>.<span style="color:#a6e22e">hljs-code</span> {
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">color</span>: <span style="color:#ae81ff">#66d9ef</span>;
|
||||
</span></span><span style="display:flex;"><span>}
|
||||
</span></span><span style="display:flex;"><span>.<span style="color:#a6e22e">hljs-class</span> .<span style="color:#a6e22e">hljs-title</span> {
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">color</span>: <span style="color:#66d9ef">white</span>;
|
||||
</span></span><span style="display:flex;"><span>}
|
||||
</span></span></code></pre></div>
|
||||
</article>
|
||||
|
||||
</div>
|
||||
</main>
|
||||
</body></html>
|
||||
229
public/posts/test-markdown/index.html
Normal file
229
public/posts/test-markdown/index.html
Normal file
|
|
@ -0,0 +1,229 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en-us"><head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="description" content="Markdown Test Page
|
||||
|
||||
Headings
|
||||
Paragraphs
|
||||
Blockquotes
|
||||
Lists
|
||||
Horizontal rule
|
||||
Table
|
||||
Code
|
||||
Inline elements
|
||||
|
||||
|
||||
Headings
|
||||
Heading one
|
||||
Sint sit cillum pariatur eiusmod nulla pariatur ipsum. Sit laborum anim qui mollit tempor pariatur nisi minim dolor. Aliquip et adipisicing sit sit fugiat commodo id sunt.
|
||||
Heading two
|
||||
Aute officia nulla deserunt do deserunt cillum velit magna. Officia veniam culpa anim minim dolore labore pariatur voluptate id ad est duis quis velit dolor pariatur enim.">
|
||||
|
||||
<title>
|
||||
|
||||
Test Markdown
|
||||
|
||||
</title>
|
||||
|
||||
|
||||
<link rel="shortcut icon" type="image/x-icon" href="/" />
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="/css/main.900100e9dbee2d56c58fac8bb717037cae7e26a9c36c29d2ff587bdd65f0cbbe510b41d81a3bb234919cdfdc7550d786b2fab70c8fc507772d732fe097106d12.css" integrity="sha512-kAEA6dvuLVbFj6yLtxcDfK5+JqnDbCnS/1h73WXwy75RC0HYGjuyNJGc39x1UNeGsvq3DI/FB3ctcy/glxBtEg==" />
|
||||
|
||||
</head>
|
||||
<body a="auto">
|
||||
<main class="page-content" aria-label="Content">
|
||||
<div class="w">
|
||||
<div class="post-meta">
|
||||
<a href="/">..</a>
|
||||
|
||||
<p>
|
||||
<time datetime="2023-01-01 10:28:10 +0800 +0800">
|
||||
2023-01-01
|
||||
</time>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<article>
|
||||
<h1>Test Markdown</h1>
|
||||
|
||||
|
||||
|
||||
<h1 id="markdown-test-page"><!-- raw HTML omitted --><!-- raw HTML omitted -->Markdown Test Page</h1>
|
||||
<ul>
|
||||
<li><a href="#Headings">Headings</a></li>
|
||||
<li><a href="#Paragraphs">Paragraphs</a></li>
|
||||
<li><a href="#Blockquotes">Blockquotes</a></li>
|
||||
<li><a href="#Lists">Lists</a></li>
|
||||
<li><a href="#Horizontal">Horizontal rule</a></li>
|
||||
<li><a href="#Table">Table</a></li>
|
||||
<li><a href="#Code">Code</a></li>
|
||||
<li><a href="#Inline">Inline elements</a></li>
|
||||
</ul>
|
||||
<hr>
|
||||
<h1 id="headings"><!-- raw HTML omitted --><!-- raw HTML omitted -->Headings</h1>
|
||||
<h1 id="heading-one">Heading one</h1>
|
||||
<p>Sint sit cillum pariatur eiusmod nulla pariatur ipsum. Sit laborum anim qui mollit tempor pariatur nisi minim dolor. Aliquip et adipisicing sit sit fugiat commodo id sunt.</p>
|
||||
<h2 id="heading-two">Heading two</h2>
|
||||
<p>Aute officia nulla deserunt do deserunt cillum velit magna. Officia veniam culpa anim minim dolore labore pariatur voluptate id ad est duis quis velit dolor pariatur enim.</p>
|
||||
<h3 id="heading-three">Heading three</h3>
|
||||
<p>Voluptate cupidatat cillum elit quis ipsum eu voluptate fugiat consectetur enim. Quis ut voluptate culpa ex anim aute consectetur dolore proident voluptate exercitation eiusmod.</p>
|
||||
<h4 id="heading-four">Heading four</h4>
|
||||
<p>Commodo fugiat aliqua minim quis pariatur mollit id tempor. Non occaecat minim esse enim aliqua adipisicing nostrud duis consequat eu adipisicing qui.</p>
|
||||
<h5 id="heading-five">Heading five</h5>
|
||||
<p>Veniam enim esse amet veniam deserunt laboris amet enim consequat. Minim nostrud deserunt cillum consectetur commodo eu enim nostrud ullamco occaecat excepteur.</p>
|
||||
<h6 id="heading-six">Heading six</h6>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
||||
<p><a href="#top">[Top]</a></p>
|
||||
<h1 id="paragraphs"><!-- raw HTML omitted --><!-- raw HTML omitted -->Paragraphs</h1>
|
||||
<p>Incididunt ex adipisicing ea ullamco consectetur in voluptate proident fugiat tempor deserunt reprehenderit ullamco id dolore laborum.</p>
|
||||
<p>Officia dolore laborum aute incididunt commodo nisi velit est est elit et dolore elit exercitation. Enim aliquip magna id ipsum aliquip consectetur ad nulla quis. Incididunt pariatur dolor consectetur cillum enim velit cupidatat laborum quis ex.</p>
|
||||
<p>Officia irure in non voluptate adipisicing sit amet tempor duis dolore deserunt enim ut. Reprehenderit incididunt in ad anim et deserunt deserunt Lorem laborum quis. Enim aute anim labore proident laboris voluptate elit excepteur in.</p>
|
||||
<p><a href="#top">[Top]</a></p>
|
||||
<h1 id="blockquotes"><!-- raw HTML omitted --><!-- raw HTML omitted -->Blockquotes</h1>
|
||||
<p>Ad nisi laborum aute cupidatat magna deserunt eu id laboris id. Aliquip nulla cupidatat sint ex Lorem mollit laborum dolor amet est ut esse aute.</p>
|
||||
<blockquote>
|
||||
<p>Ipsum et cupidatat mollit exercitation enim duis sunt irure aliqua reprehenderit mollit. Pariatur Lorem pariatur laboris do culpa do elit irure.</p></blockquote>
|
||||
<p>Labore ea magna Lorem consequat aliquip consectetur cillum duis dolore. Et veniam dolor qui incididunt minim amet laboris sit.</p>
|
||||
<blockquote>
|
||||
<p>Qui est sit et reprehenderit aute est esse enim aliqua id aliquip ea anim. Pariatur sint reprehenderit mollit velit voluptate enim consectetur sint enim. Quis exercitation proident elit non id qui culpa dolore esse aliquip consequat.</p></blockquote>
|
||||
<p>Ipsum excepteur cupidatat sunt minim ad eiusmod tempor sit.</p>
|
||||
<blockquote>
|
||||
<p>Deserunt excepteur adipisicing culpa pariatur cillum laboris ullamco nisi fugiat cillum officia. In cupidatat nulla aliquip tempor ad Lorem Lorem quis voluptate officia consectetur pariatur ex in est duis. Mollit id esse est elit exercitation voluptate nostrud nisi laborum magna dolore dolore tempor in est consectetur.</p></blockquote>
|
||||
<p>Adipisicing voluptate ipsum culpa voluptate id aute laboris labore esse fugiat veniam ullamco occaecat do ut. Tempor et esse reprehenderit veniam proident ipsum irure sit ullamco et labore ea excepteur nulla labore ut. Ex aute minim quis tempor in eu id id irure ea nostrud dolor esse.</p>
|
||||
<p><a href="#top">[Top]</a></p>
|
||||
<h1 id="lists"><!-- raw HTML omitted --><!-- raw HTML omitted -->Lists</h1>
|
||||
<h3 id="ordered-list">Ordered List</h3>
|
||||
<ol>
|
||||
<li>Longan</li>
|
||||
<li>Lychee</li>
|
||||
<li>Excepteur ad cupidatat do elit laborum amet cillum reprehenderit consequat quis.
|
||||
Deserunt officia esse aliquip consectetur duis ut labore laborum commodo aliquip aliquip velit pariatur dolore.</li>
|
||||
<li>Marionberry</li>
|
||||
<li>Melon
|
||||
<ul>
|
||||
<li>Cantaloupe</li>
|
||||
<li>Honeydew</li>
|
||||
<li>Watermelon</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Miracle fruit</li>
|
||||
<li>Mulberry</li>
|
||||
</ol>
|
||||
<h3 id="unordered-list">Unordered List</h3>
|
||||
<ul>
|
||||
<li>Olive</li>
|
||||
<li>Orange
|
||||
<ul>
|
||||
<li>Blood orange</li>
|
||||
<li>Clementine</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Papaya</li>
|
||||
<li>Ut aute ipsum occaecat nisi culpa Lorem id occaecat cupidatat id id magna laboris ad duis. Fugiat cillum dolore veniam nostrud proident sint consectetur eiusmod irure adipisicing.</li>
|
||||
<li>Passionfruit</li>
|
||||
</ul>
|
||||
<p><a href="#top">[Top]</a></p>
|
||||
<h1 id="horizontal-rule"><!-- raw HTML omitted --><!-- raw HTML omitted -->Horizontal rule</h1>
|
||||
<p>In dolore velit aliquip labore mollit minim tempor veniam eu veniam ad in sint aliquip mollit mollit. Ex occaecat non deserunt elit laborum sunt tempor sint consequat culpa culpa qui sit. Irure ad commodo eu voluptate mollit cillum cupidatat veniam proident amet minim reprehenderit.</p>
|
||||
<hr>
|
||||
<p>In laboris eiusmod reprehenderit aliquip sit proident occaecat. Non sit labore anim elit veniam Lorem minim commodo eiusmod irure do minim nisi. Dolor amet cillum excepteur consequat sint non sint.</p>
|
||||
<p><a href="#top">[Top]</a></p>
|
||||
<h1 id="table"><!-- raw HTML omitted --><!-- raw HTML omitted -->Table</h1>
|
||||
<p>Duis sunt ut pariatur reprehenderit mollit mollit magna dolore in pariatur nulla commodo sit dolor ad fugiat. Laboris amet ea occaecat duis eu enim exercitation deserunt ea laborum occaecat reprehenderit. Et incididunt dolor commodo consequat mollit nisi proident non pariatur in et incididunt id. Eu ut et Lorem ea ex magna minim ipsum ipsum do.</p>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="text-align: left">Table Heading 1</th>
|
||||
<th style="text-align: left">Table Heading 2</th>
|
||||
<th style="text-align: center">Center align</th>
|
||||
<th style="text-align: right">Right align</th>
|
||||
<th style="text-align: left">Table Heading 5</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="text-align: left">Item 1</td>
|
||||
<td style="text-align: left">Item 2</td>
|
||||
<td style="text-align: center">Item 3</td>
|
||||
<td style="text-align: right">Item 4</td>
|
||||
<td style="text-align: left">Item 5</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left">Item 1</td>
|
||||
<td style="text-align: left">Item 2</td>
|
||||
<td style="text-align: center">Item 3</td>
|
||||
<td style="text-align: right">Item 4</td>
|
||||
<td style="text-align: left">Item 5</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left">Item 1</td>
|
||||
<td style="text-align: left">Item 2</td>
|
||||
<td style="text-align: center">Item 3</td>
|
||||
<td style="text-align: right">Item 4</td>
|
||||
<td style="text-align: left">Item 5</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left">Item 1</td>
|
||||
<td style="text-align: left">Item 2</td>
|
||||
<td style="text-align: center">Item 3</td>
|
||||
<td style="text-align: right">Item 4</td>
|
||||
<td style="text-align: left">Item 5</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left">Item 1</td>
|
||||
<td style="text-align: left">Item 2</td>
|
||||
<td style="text-align: center">Item 3</td>
|
||||
<td style="text-align: right">Item 4</td>
|
||||
<td style="text-align: left">Item 5</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p>Minim id consequat adipisicing cupidatat laborum culpa veniam non consectetur et duis pariatur reprehenderit eu ex consectetur. Sunt nisi qui eiusmod ut cillum laborum Lorem officia aliquip laboris ullamco nostrud laboris non irure laboris. Cillum dolore labore Lorem deserunt mollit voluptate esse incididunt ex dolor.</p>
|
||||
<p><a href="#top">[Top]</a></p>
|
||||
<h1 id="code"><!-- raw HTML omitted --><!-- raw HTML omitted -->Code</h1>
|
||||
<h2 id="inline-code">Inline code</h2>
|
||||
<p>Ad amet irure est magna id mollit Lorem in do duis enim. Excepteur velit nisi magna ea pariatur pariatur ullamco fugiat deserunt sint non sint. Duis duis est <code>code in text</code> velit velit aute culpa ex quis pariatur pariatur laborum aute pariatur duis tempor sunt ad. Irure magna voluptate dolore consectetur consectetur irure esse. Anim magna <code><strong>in culpa qui officia</strong></code> dolor eiusmod esse amet aute cupidatat aliqua do id voluptate cupidatat reprehenderit amet labore deserunt.</p>
|
||||
<h2 id="highlighted">Highlighted</h2>
|
||||
<p>Et fugiat ad nisi amet magna labore do cillum fugiat occaecat cillum Lorem proident. In sint dolor ullamco ad do adipisicing amet id excepteur Lorem aliquip sit irure veniam laborum duis cillum. Aliqua occaecat minim cillum deserunt magna sunt laboris do do irure ea nostrud consequat ut voluptate ex.</p>
|
||||
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-go" data-lang="go"><span style="display:flex;"><span><span style="color:#f92672">package</span> <span style="color:#a6e22e">main</span>
|
||||
</span></span><span style="display:flex;"><span>
|
||||
</span></span><span style="display:flex;"><span><span style="color:#f92672">import</span> (
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#e6db74">"fmt"</span>
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#e6db74">"net/http"</span>
|
||||
</span></span><span style="display:flex;"><span>)
|
||||
</span></span><span style="display:flex;"><span>
|
||||
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">func</span> <span style="color:#a6e22e">handler</span>(<span style="color:#a6e22e">w</span> <span style="color:#a6e22e">http</span>.<span style="color:#a6e22e">ResponseWriter</span>, <span style="color:#a6e22e">r</span> <span style="color:#f92672">*</span><span style="color:#a6e22e">http</span>.<span style="color:#a6e22e">Request</span>) {
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#a6e22e">fmt</span>.<span style="color:#a6e22e">Fprintf</span>(<span style="color:#a6e22e">w</span>, <span style="color:#e6db74">"Hi there, I love %s!"</span>, <span style="color:#a6e22e">r</span>.<span style="color:#a6e22e">URL</span>.<span style="color:#a6e22e">Path</span>[<span style="color:#ae81ff">1</span>:])
|
||||
</span></span><span style="display:flex;"><span>}
|
||||
</span></span><span style="display:flex;"><span>
|
||||
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">func</span> <span style="color:#a6e22e">main</span>() {
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#a6e22e">http</span>.<span style="color:#a6e22e">HandleFunc</span>(<span style="color:#e6db74">"/"</span>, <span style="color:#a6e22e">handler</span>)
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#a6e22e">http</span>.<span style="color:#a6e22e">ListenAndServe</span>(<span style="color:#e6db74">":8080"</span>, <span style="color:#66d9ef">nil</span>)
|
||||
</span></span><span style="display:flex;"><span>}
|
||||
</span></span></code></pre></div><p>Ex amet id ex aliquip id do laborum excepteur exercitation elit sint commodo occaecat nostrud est. Nostrud pariatur esse veniam laborum non sint magna sit laboris minim in id. Aliqua pariatur pariatur excepteur adipisicing irure culpa consequat commodo et ex id ad.</p>
|
||||
<p><a href="#top">[Top]</a></p>
|
||||
<h1 id="inline-elements"><!-- raw HTML omitted --><!-- raw HTML omitted -->Inline elements</h1>
|
||||
<p>Sint ea anim ipsum ad commodo cupidatat do <strong>exercitation</strong> incididunt et minim ad labore sunt. Minim deserunt labore laboris velit nulla incididunt ipsum nulla. Ullamco ad laborum ea qui et anim in laboris exercitation tempor sit officia laborum reprehenderit culpa velit quis. <strong>Consequat commodo</strong> reprehenderit duis <a href="#!">irure</a> esse esse exercitation minim enim Lorem dolore duis irure. Nisi Lorem reprehenderit ea amet excepteur dolor excepteur magna labore proident voluptate ipsum. Reprehenderit ex esse deserunt aliqua ea officia mollit Lorem nulla magna enim. Et ad ipsum labore enim ipsum <strong>cupidatat consequat</strong>. Commodo non ea cupidatat magna deserunt dolore ipsum velit nulla elit veniam nulla eiusmod proident officia.</p>
|
||||
<p><img src="http://placekitten.com/1280/800" alt="Super wide">
|
||||
<figure><img src="http://placekitten.com/1280/800"
|
||||
alt="alt-test"><figcaption>
|
||||
<p>caption-test</p>
|
||||
</figcaption>
|
||||
</figure>
|
||||
</p>
|
||||
<p><em>Proident sit veniam in est proident officia adipisicing</em> ea tempor cillum non cillum velit deserunt. Voluptate laborum incididunt sit consectetur Lorem irure incididunt voluptate nostrud. Commodo ut eiusmod tempor cupidatat esse enim minim ex anim consequat. Mollit sint culpa qui laboris quis consectetur ad sint esse. Amet anim anim minim ullamco et duis non irure. Sit tempor adipisicing ea laboris <code>culpa ex duis sint</code> anim aute reprehenderit id eu ea. Aute <a href="#!">excepteur proident</a> Lorem minim adipisicing nostrud mollit ad ut voluptate do nulla esse occaecat aliqua sint anim.</p>
|
||||
<p><img src="http://placekitten.com/480/400" alt="Not so big"></p>
|
||||
<p>Incididunt in culpa cupidatat mollit cillum qui proident sit. In cillum aliquip incididunt voluptate magna amet cupidatat cillum pariatur sint aliqua est <em>enim <strong>anim</strong> voluptate</em>. Magna aliquip proident incididunt id duis pariatur eiusmod incididunt commodo culpa dolore sit. Culpa do nostrud elit ad exercitation anim pariatur non minim nisi <strong>adipisicing sunt <em>officia</em></strong>. Do deserunt magna mollit Lorem commodo ipsum do cupidatat mollit enim ut elit veniam ea voluptate.</p>
|
||||
<p><a href="https://youtu.be/s6bCmZmy9aQ"><img src="https://img.youtube.com/vi/s6bCmZmy9aQ/0.jpg" alt="Manny Pacquiao"></a></p>
|
||||
<p>Reprehenderit non eu quis in ad elit esse qui aute id <a href="#!">incididunt</a> dolore cillum. Esse laboris consequat dolor anim exercitation tempor aliqua deserunt velit magna laboris. Culpa culpa minim duis amet mollit do quis amet commodo nulla irure.</p>
|
||||
|
||||
</article>
|
||||
|
||||
</div>
|
||||
</main>
|
||||
</body></html>
|
||||
96
public/posts/test-post/index.html
Normal file
96
public/posts/test-post/index.html
Normal file
|
|
@ -0,0 +1,96 @@
|
|||
<!DOCTYPE html>
|
||||
<html><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script><meta name="theme-color" content="#ffffff">
|
||||
<link rel="stylesheet" href="https://unpkg.com/terminal.css@0.7.2/dist/terminal.min.css" />
|
||||
<link rel="stylesheet" href="/css/styles.css"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head><body><header class="homepage-header">
|
||||
|
||||
</header><div id="content"><header class="homepage-header">
|
||||
<div class="container">
|
||||
<div class = "header-container">
|
||||
<h1><a href="/">mshj.net</a></h1>
|
||||
<span id="mini-header" class="mini-header"></span>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<script src="/js/topbar.js"></script>
|
||||
<main>
|
||||
<div class="container">
|
||||
|
||||
<div class="components components-grid">
|
||||
<div>
|
||||
<aside id="menu">
|
||||
<img src="/images/punpun.jpg" alt="keeper pfp">
|
||||
|
||||
<h3>go home</h3>
|
||||
<nav>
|
||||
<ul>
|
||||
<li>blog posts</li>
|
||||
<br>
|
||||
<li>categories</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/games/">Games</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/hugo/">Hugo</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/terminal/">Terminal</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</aside>
|
||||
</div>
|
||||
<div class = "main-content">
|
||||
<main>
|
||||
<article class="card-container">
|
||||
<header><h1>Test Post</h1></header>
|
||||
<div class="content-wrapper">
|
||||
|
||||
<p>2023-07-22</p>
|
||||
<div class="tag-list">
|
||||
<strong>Categories:</strong>
|
||||
|
||||
<a href="/categories/games" class="tag-link">Games</a>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<br>
|
||||
|
||||
<h2 id="introduction">Introduction</h2>
|
||||
<p>This is <strong>bold</strong> text, and this is <em>emphasized</em> text.</p>
|
||||
<p>Visit the <a href="https://gohugo.io">Hugo</a> website!</p>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</div><footer class="site-footer">
|
||||
<nav class="footer-nav">
|
||||
<a href="https://github.com/jimenezjc" target="_blank" rel="noopener noreferrer">
|
||||
<svg
|
||||
width="24"
|
||||
height="24"
|
||||
viewBox="0 0 24 24"
|
||||
fill="currentColor"
|
||||
style="display: inline-block; vertical-align: middle;"
|
||||
>
|
||||
<path d="M12 0C5.373 0 0 5.373 0 12c0 5.302 3.438 9.8 8.207 11.387.6.113.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23A11.509 11.509 0 0112 5.803c1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576C20.566 21.797 24 17.3 24 12c0-6.627-4.373-12-12-12z"/>
|
||||
</svg>
|
||||
|
||||
</a>
|
||||
</nav>
|
||||
<p>Made by Mshj | <a href = "terminal.css.xyz">Credits to Terminal.css</a></p>
|
||||
</footer></body>
|
||||
|
||||
</html>
|
||||
120
public/posts/test-tex/index.html
Normal file
120
public/posts/test-tex/index.html
Normal file
|
|
@ -0,0 +1,120 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en-us"><head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="description" content="Inline math:
|
||||
\(\varphi\)
|
||||
|
||||
|
||||
Displayed math:
|
||||
|
||||
$$\begin{aligned}
|
||||
\varphi &\Rightarrow \psi \\
|
||||
\varnothing &\rightarrow A
|
||||
\end{aligned}$$
|
||||
|
||||
|
||||
$$
|
||||
R_{\mu \nu} - {1 \over 2}g_{\mu \nu},R + g_{\mu \nu} \Lambda
|
||||
= {8 \pi G \over c^4} T_{\mu \nu}
|
||||
$$
|
||||
The equation $$(x_i \cdot x_j)^2$$ is called kernel function and is often written as $$k(x_i, x_j)$$.
|
||||
$$
|
||||
\arg\max_\alpha \sum_j \alpha_j - \frac{1}{2} \sum_{j,k} \alpha_j, \alpha_k y_j y_k (x_j \cdot x_k)
|
||||
$$
|
||||
$$
|
||||
f(X) = \frac{1}{(2\pi)^{\frac{n}{2} |\Sigma|^{\frac{1}{2}}}} e^{ - \frac{1}{2} (X - \mu)^T \Sigma^{-1} (X - \mu)}
|
||||
$$">
|
||||
|
||||
<title>
|
||||
|
||||
Test Tex
|
||||
|
||||
</title>
|
||||
|
||||
|
||||
<link rel="shortcut icon" type="image/x-icon" href="/" />
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="/css/main.900100e9dbee2d56c58fac8bb717037cae7e26a9c36c29d2ff587bdd65f0cbbe510b41d81a3bb234919cdfdc7550d786b2fab70c8fc507772d732fe097106d12.css" integrity="sha512-kAEA6dvuLVbFj6yLtxcDfK5+JqnDbCnS/1h73WXwy75RC0HYGjuyNJGc39x1UNeGsvq3DI/FB3ctcy/glxBtEg==" />
|
||||
<script>
|
||||
MathJax = {
|
||||
tex: {
|
||||
inlineMath: [['$', '$'], ['\\(', '\\)']],
|
||||
displayMath: [['$$','$$'], ['\\[', '\\]']],
|
||||
processEscapes: true,
|
||||
processEnvironments: true
|
||||
},
|
||||
options: {
|
||||
skipHtmlTags: ['script', 'noscript', 'style', 'textarea', 'pre']
|
||||
}
|
||||
};
|
||||
|
||||
window.addEventListener('load', (event) => {
|
||||
document.querySelectorAll("mjx-container").forEach(function(x){
|
||||
x.parentElement.classList += 'has-jax'})
|
||||
});
|
||||
|
||||
</script>
|
||||
<script src="https://cdnjs.cloudflare.com/polyfill/v3/polyfill.min.js?features=es6"></script>
|
||||
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
|
||||
|
||||
</head>
|
||||
<body a="auto">
|
||||
<main class="page-content" aria-label="Content">
|
||||
<div class="w">
|
||||
<div class="post-meta">
|
||||
<a href="/">..</a>
|
||||
|
||||
<p>
|
||||
<time datetime="2022-08-26 22:28:10 +0800 +0800">
|
||||
2022-08-26
|
||||
</time>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<article>
|
||||
<h1>Test Tex</h1>
|
||||
|
||||
|
||||
|
||||
<p>Inline math: <span>
|
||||
\(\varphi\)
|
||||
</span>
|
||||
</p>
|
||||
<p>Displayed math:
|
||||
<span>
|
||||
$$\begin{aligned}
|
||||
\varphi &\Rightarrow \psi \\
|
||||
\varnothing &\rightarrow A
|
||||
\end{aligned}$$
|
||||
</span>
|
||||
</p>
|
||||
<p>$$
|
||||
R_{\mu \nu} - {1 \over 2}g_{\mu \nu},R + g_{\mu \nu} \Lambda
|
||||
= {8 \pi G \over c^4} T_{\mu \nu}
|
||||
$$</p>
|
||||
<p>The equation $$(x_i \cdot x_j)^2$$ is called kernel function and is often written as $$k(x_i, x_j)$$.</p>
|
||||
<p>$$
|
||||
\arg\max_\alpha \sum_j \alpha_j - \frac{1}{2} \sum_{j,k} \alpha_j, \alpha_k y_j y_k (x_j \cdot x_k)
|
||||
$$</p>
|
||||
<p>$$
|
||||
f(X) = \frac{1}{(2\pi)^{\frac{n}{2} |\Sigma|^{\frac{1}{2}}}} e^{ - \frac{1}{2} (X - \mu)^T \Sigma^{-1} (X - \mu)}
|
||||
$$</p>
|
||||
<p>$$
|
||||
\mu_i = \sum_{j=1}^N \frac{p_{ij} x}{n_i} \
|
||||
\Sigma_i = \sum_{j=1}^N \frac{p_{ij} (x_j - \mu_i) (x_j - \mu_i)^T}{n_i}\
|
||||
w_i = \frac{n_i}{N}
|
||||
$$</p>
|
||||
<p>$$
|
||||
S_i^{(t)} = \big { x_p : \big | x_p - \mu^{(t)}_i \big |^2 \le \big | x_p - \mu^{(t)}_j \big |^2 \ \forall j, 1 \le j \le k \big}
|
||||
$$</p>
|
||||
<p>(The error above is a demo for incorrect formulas.)</p>
|
||||
|
||||
</article>
|
||||
|
||||
</div>
|
||||
</main>
|
||||
</body></html>
|
||||
104
public/posts/test-toc-and-details/index.html
Normal file
104
public/posts/test-toc-and-details/index.html
Normal file
|
|
@ -0,0 +1,104 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en-us"><head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="description" content="Table of Content
|
||||
What it is?
|
||||
TOC is the box you see at the very top of this post. It may be framed (or not).
|
||||
How to enable TOC?
|
||||
To enable it, all you need to do when creating a new post at the very top is to insert the code:
|
||||
toc = true
|
||||
tocBorder = true
|
||||
You can of course find this post (../themes/nostyleplease/content/posts/test-toc-and-details.md) and open in editor to see how it’s working.">
|
||||
|
||||
<title>
|
||||
|
||||
Test TOC, deatails and styles
|
||||
|
||||
</title>
|
||||
|
||||
|
||||
<link rel="shortcut icon" type="image/x-icon" href="/" />
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="/css/main.900100e9dbee2d56c58fac8bb717037cae7e26a9c36c29d2ff587bdd65f0cbbe510b41d81a3bb234919cdfdc7550d786b2fab70c8fc507772d732fe097106d12.css" integrity="sha512-kAEA6dvuLVbFj6yLtxcDfK5+JqnDbCnS/1h73WXwy75RC0HYGjuyNJGc39x1UNeGsvq3DI/FB3ctcy/glxBtEg==" />
|
||||
|
||||
</head>
|
||||
<body a="auto">
|
||||
<main class="page-content" aria-label="Content">
|
||||
<div class="w">
|
||||
<div class="post-meta">
|
||||
<a href="/">..</a>
|
||||
|
||||
<p>
|
||||
<time datetime="2024-08-18 13:34:54 +0200 +0200">
|
||||
2024-08-18
|
||||
</time>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<article>
|
||||
<h1>Test TOC, deatails and styles</h1>
|
||||
|
||||
|
||||
<aside class="toc" >
|
||||
<nav id="TableOfContents">
|
||||
<ul>
|
||||
<li><a href="#table-of-content">Table of Content</a>
|
||||
<ul>
|
||||
<li><a href="#what-it-is">What it is?</a></li>
|
||||
<li><a href="#how-to-enable-toc">How to enable TOC?</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#details">Details</a>
|
||||
<ul>
|
||||
<li><a href="#what-it-is-1">What it is?</a></li>
|
||||
<li><a href="#how-to-use-details">How to use “Details”?</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#styles">Styles</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</aside>
|
||||
|
||||
|
||||
<h2 id="table-of-content">Table of Content</h2>
|
||||
<h3 id="what-it-is">What it is?</h3>
|
||||
<p>TOC is the box you see at the very top of this post. It may be framed (or not).</p>
|
||||
<h3 id="how-to-enable-toc">How to enable TOC?</h3>
|
||||
<p>To enable it, all you need to do when creating a new post at the very top is to insert the code:</p>
|
||||
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-toml" data-lang="toml"><span style="display:flex;"><span><span style="color:#a6e22e">toc</span> = <span style="color:#66d9ef">true</span>
|
||||
</span></span><span style="display:flex;"><span><span style="color:#a6e22e">tocBorder</span> = <span style="color:#66d9ef">true</span>
|
||||
</span></span></code></pre></div><p>You can of course find this post (../themes/nostyleplease/content/posts/test-toc-and-details.md) and open in editor to see how it’s working.</p>
|
||||
<h2 id="details">Details</h2>
|
||||
<h3 id="what-it-is-1">What it is?</h3>
|
||||
<p>It’s HTML standard sadly not supported native by markdown. But this theme support it anyway. So… sometimes you want to hide something.
|
||||
<details >
|
||||
<summary>
|
||||
Click me
|
||||
</summary>
|
||||
A lot of text or something else.
|
||||
</details>
|
||||
</p>
|
||||
<h3 id="how-to-use-details">How to use “Details”?</h3>
|
||||
<p>Well you need to inspect this post and see by yourself. It’s very easy. Take look at ../themes/nostyleplease/content/posts/test-toc-and-details.md.</p>
|
||||
<h2 id="styles">Styles</h2>
|
||||
<p>Okey. So if you want to change color-theme you can:</p>
|
||||
<ul>
|
||||
<li>
|
||||
<p>go to ../themes/nostyleplease/config.toml and find:</p>
|
||||
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-toml" data-lang="toml"><span style="display:flex;"><span><span style="color:#a6e22e">appearance</span> = <span style="color:#e6db74">"auto"</span>
|
||||
</span></span></code></pre></div><p>you can change it to 2 predefined styles: <strong>light</strong> and <strong>dark</strong>. It can be also set to <strong>auto</strong> and the color scheme will match the user’s system style.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>you can add new style or modify <strong>auto</strong> option, just edit CSS in ../themes/nostyleplease/assets/main.scss :-). It’s easy, if you are able to operate Hugo - you can do it.</p>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
</article>
|
||||
|
||||
</div>
|
||||
</main>
|
||||
</body></html>
|
||||
83
public/projects/index.html
Normal file
83
public/projects/index.html
Normal file
|
|
@ -0,0 +1,83 @@
|
|||
<!DOCTYPE html>
|
||||
<html><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script><meta name="theme-color" content="#ffffff">
|
||||
<link rel="stylesheet" href="https://unpkg.com/terminal.css@0.7.2/dist/terminal.min.css" />
|
||||
<link rel="stylesheet" href="/css/styles.css"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head><body><header class="homepage-header">
|
||||
|
||||
</header><div id="content"><header class="homepage-header">
|
||||
<div class="container">
|
||||
<div class = "header-container">
|
||||
<h1><a href="/">mshj.net</a></h1>
|
||||
<span id="mini-header" class="mini-header"></span>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<script src="js/topbar.js"></script>
|
||||
<main>
|
||||
<div class="container">
|
||||
|
||||
<div class="components components-grid">
|
||||
<div>
|
||||
<aside id="menu">
|
||||
<img src="/images/punpun.jpg" alt="keeper pfp">
|
||||
</aside>
|
||||
<h3>go home</h3>
|
||||
<nav>
|
||||
<ul>
|
||||
<li>blog posts</li>
|
||||
<br>
|
||||
<li>categories</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/games/">Games</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/hugo/">Hugo</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/terminal/">Terminal</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<div class = "main-content">
|
||||
<main>
|
||||
<h1>Jects</h1>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/projects/project/">Project uno</a>
|
||||
|
||||
<p>this is a description of my project very very nice</p>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</div><footer class="site-footer">
|
||||
<nav class="footer-nav">
|
||||
<a href="https://github.com/jimenezjc" target="_blank" rel="noopener noreferrer">
|
||||
<svg
|
||||
width="24"
|
||||
height="24"
|
||||
viewBox="0 0 24 24"
|
||||
fill="currentColor"
|
||||
style="display: inline-block; vertical-align: middle;"
|
||||
>
|
||||
<path d="M12 0C5.373 0 0 5.373 0 12c0 5.302 3.438 9.8 8.207 11.387.6.113.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23A11.509 11.509 0 0112 5.803c1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576C20.566 21.797 24 17.3 24 12c0-6.627-4.373-12-12-12z"/>
|
||||
</svg>
|
||||
|
||||
</a>
|
||||
</nav>
|
||||
<p>Made by Mshj | <a href = "terminal.css.xyz">Credits to Terminal.css</a></p>
|
||||
</footer></body>
|
||||
|
||||
</html>
|
||||
19
public/projects/index.xml
Normal file
19
public/projects/index.xml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>Projects on mshj.net</title>
|
||||
<link>//localhost:1313/projects/</link>
|
||||
<description>Recent content in Projects on mshj.net</description>
|
||||
<generator>Hugo</generator>
|
||||
<language>en-us</language>
|
||||
<lastBuildDate>Thu, 04 Apr 2024 02:35:21 -0400</lastBuildDate>
|
||||
<atom:link href="//localhost:1313/projects/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>Project uno</title>
|
||||
<link>//localhost:1313/projects/project/</link>
|
||||
<pubDate>Thu, 04 Apr 2024 02:35:21 -0400</pubDate>
|
||||
<guid>//localhost:1313/projects/project/</guid>
|
||||
<description></description>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
82
public/projects/project/index.html
Normal file
82
public/projects/project/index.html
Normal file
|
|
@ -0,0 +1,82 @@
|
|||
<!DOCTYPE html>
|
||||
<html><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script><meta name="theme-color" content="#ffffff">
|
||||
<link rel="stylesheet" href="https://unpkg.com/terminal.css@0.7.2/dist/terminal.min.css" />
|
||||
<link rel="stylesheet" href="/css/styles.css"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head><body><header class="homepage-header">
|
||||
|
||||
</header><div id="content"><header class="homepage-header">
|
||||
<div class="container">
|
||||
<div class = "header-container">
|
||||
<h1><a href="/">mshj.net</a></h1>
|
||||
<span id="mini-header" class="mini-header"></span>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<script src="/js/topbar.js"></script>
|
||||
<main>
|
||||
<div class="container">
|
||||
|
||||
<div class="components components-grid">
|
||||
<div>
|
||||
<aside id="menu">
|
||||
<img src="/images/punpun.jpg" alt="keeper pfp">
|
||||
|
||||
<h3>go home</h3>
|
||||
<nav>
|
||||
<ul>
|
||||
<li>blog posts</li>
|
||||
<br>
|
||||
<li>categories</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/games/">Games</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/hugo/">Hugo</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/terminal/">Terminal</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</aside>
|
||||
</div>
|
||||
<div class = "main-content">
|
||||
<main>
|
||||
<article class="card-container">
|
||||
<header><h1>Project uno</h1></header>
|
||||
<div class="content-wrapper">
|
||||
<p>2024-04-04</p>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</div><footer class="site-footer">
|
||||
<nav class="footer-nav">
|
||||
<a href="https://github.com/jimenezjc" target="_blank" rel="noopener noreferrer">
|
||||
<svg
|
||||
width="24"
|
||||
height="24"
|
||||
viewBox="0 0 24 24"
|
||||
fill="currentColor"
|
||||
style="display: inline-block; vertical-align: middle;"
|
||||
>
|
||||
<path d="M12 0C5.373 0 0 5.373 0 12c0 5.302 3.438 9.8 8.207 11.387.6.113.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23A11.509 11.509 0 0112 5.803c1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576C20.566 21.797 24 17.3 24 12c0-6.627-4.373-12-12-12z"/>
|
||||
</svg>
|
||||
|
||||
</a>
|
||||
</nav>
|
||||
<p>Made by Mshj | <a href = "terminal.css.xyz">Credits to Terminal.css</a></p>
|
||||
</footer></body>
|
||||
|
||||
</html>
|
||||
50
public/sitemap.xml
Normal file
50
public/sitemap.xml
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
<?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>//localhost:1313/categories/</loc>
|
||||
<lastmod>2024-04-04T02:46:07-04:00</lastmod>
|
||||
</url><url>
|
||||
<loc>//localhost:1313/tags/css/</loc>
|
||||
<lastmod>2024-04-04T02:46:07-04:00</lastmod>
|
||||
</url><url>
|
||||
<loc>//localhost:1313/posts/hi-post/</loc>
|
||||
<lastmod>2024-04-04T02:46:07-04:00</lastmod>
|
||||
</url><url>
|
||||
<loc>//localhost:1313/categories/hugo/</loc>
|
||||
<lastmod>2024-04-04T02:46:07-04:00</lastmod>
|
||||
</url><url>
|
||||
<loc>//localhost:1313/</loc>
|
||||
<lastmod>2024-04-04T02:46:07-04:00</lastmod>
|
||||
</url><url>
|
||||
<loc>//localhost:1313/posts/</loc>
|
||||
<lastmod>2024-04-04T02:46:07-04:00</lastmod>
|
||||
</url><url>
|
||||
<loc>//localhost:1313/tags/</loc>
|
||||
<lastmod>2024-04-04T02:46:07-04:00</lastmod>
|
||||
</url><url>
|
||||
<loc>//localhost:1313/categories/terminal/</loc>
|
||||
<lastmod>2024-04-04T02:46:07-04:00</lastmod>
|
||||
</url><url>
|
||||
<loc>//localhost:1313/tags/terminal-style/</loc>
|
||||
<lastmod>2024-04-04T02:46:07-04:00</lastmod>
|
||||
</url><url>
|
||||
<loc>//localhost:1313/tags/tutorial/</loc>
|
||||
<lastmod>2024-04-04T02:46:07-04:00</lastmod>
|
||||
</url><url>
|
||||
<loc>//localhost:1313/posts/new-test-post/</loc>
|
||||
<lastmod>2024-04-04T02:35:21-04:00</lastmod>
|
||||
</url><url>
|
||||
<loc>//localhost:1313/projects/project/</loc>
|
||||
<lastmod>2024-04-04T02:35:21-04:00</lastmod>
|
||||
</url><url>
|
||||
<loc>//localhost:1313/projects/</loc>
|
||||
<lastmod>2024-04-04T02:35:21-04:00</lastmod>
|
||||
</url><url>
|
||||
<loc>//localhost:1313/categories/games/</loc>
|
||||
<lastmod>2023-07-22T23:03:09-04:00</lastmod>
|
||||
</url><url>
|
||||
<loc>//localhost:1313/posts/test-post/</loc>
|
||||
<lastmod>2023-07-22T23:03:09-04:00</lastmod>
|
||||
</url>
|
||||
</urlset>
|
||||
85
public/tags/css/index.html
Normal file
85
public/tags/css/index.html
Normal file
|
|
@ -0,0 +1,85 @@
|
|||
<!DOCTYPE html>
|
||||
<html><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script><meta name="theme-color" content="#ffffff">
|
||||
<link rel="stylesheet" href="https://unpkg.com/terminal.css@0.7.2/dist/terminal.min.css" />
|
||||
<link rel="stylesheet" href="/css/styles.css"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head><body><header class="homepage-header">
|
||||
|
||||
</header><div id="content"><header class="homepage-header">
|
||||
<div class="container">
|
||||
<div class = "header-container">
|
||||
<h1><a href="/">mshj.net</a></h1>
|
||||
<span id="mini-header" class="mini-header"></span>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<script src="js/topbar.js"></script>
|
||||
<main>
|
||||
<div class="container">
|
||||
|
||||
<div class="components components-grid">
|
||||
<div>
|
||||
<aside id="menu">
|
||||
<img src="/images/punpun.jpg" alt="keeper pfp">
|
||||
</aside>
|
||||
<h3>go home</h3>
|
||||
<nav>
|
||||
<ul>
|
||||
<li>blog posts</li>
|
||||
<br>
|
||||
<li>categories</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/games/">Games</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/hugo/">Hugo</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/terminal/">Terminal</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<div class = "main-content">
|
||||
<main>
|
||||
<div class="card-container">
|
||||
<header>Tag: Css</header>
|
||||
<div class="terminal-content">
|
||||
<ul class="terminal-menu">
|
||||
|
||||
<li>
|
||||
<a href="/posts/hi-post/">Hello World</a>
|
||||
<span class="meta-info">2024-04-04</span>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</div><footer class="site-footer">
|
||||
<nav class="footer-nav">
|
||||
<a href="https://github.com/jimenezjc" target="_blank" rel="noopener noreferrer">
|
||||
<svg
|
||||
width="24"
|
||||
height="24"
|
||||
viewBox="0 0 24 24"
|
||||
fill="currentColor"
|
||||
style="display: inline-block; vertical-align: middle;"
|
||||
>
|
||||
<path d="M12 0C5.373 0 0 5.373 0 12c0 5.302 3.438 9.8 8.207 11.387.6.113.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23A11.509 11.509 0 0112 5.803c1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576C20.566 21.797 24 17.3 24 12c0-6.627-4.373-12-12-12z"/>
|
||||
</svg>
|
||||
|
||||
</a>
|
||||
</nav>
|
||||
<p>Made by Mshj | <a href = "terminal.css.xyz">Credits to Terminal.css</a></p>
|
||||
</footer></body>
|
||||
|
||||
</html>
|
||||
19
public/tags/css/index.xml
Normal file
19
public/tags/css/index.xml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>Css on mshj.net</title>
|
||||
<link>//localhost:1313/tags/css/</link>
|
||||
<description>Recent content in Css on mshj.net</description>
|
||||
<generator>Hugo</generator>
|
||||
<language>en-us</language>
|
||||
<lastBuildDate>Thu, 04 Apr 2024 02:46:07 -0400</lastBuildDate>
|
||||
<atom:link href="//localhost:1313/tags/css/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>Hello World</title>
|
||||
<link>//localhost:1313/posts/hi-post/</link>
|
||||
<pubDate>Thu, 04 Apr 2024 02:46:07 -0400</pubDate>
|
||||
<guid>//localhost:1313/posts/hi-post/</guid>
|
||||
<description><h1 id="yoooo">yoooo</h1>
<p>this is one of my first articles homies. so i wil try my best to write it the best i can</p></description>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
95
public/tags/index.html
Normal file
95
public/tags/index.html
Normal file
|
|
@ -0,0 +1,95 @@
|
|||
<!DOCTYPE html>
|
||||
<html><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script><meta name="theme-color" content="#ffffff">
|
||||
<link rel="stylesheet" href="https://unpkg.com/terminal.css@0.7.2/dist/terminal.min.css" />
|
||||
<link rel="stylesheet" href="/css/styles.css"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head><body><header class="homepage-header">
|
||||
|
||||
</header><div id="content"><header class="homepage-header">
|
||||
<div class="container">
|
||||
<div class = "header-container">
|
||||
<h1><a href="/">mshj.net</a></h1>
|
||||
<span id="mini-header" class="mini-header"></span>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<script src="js/topbar.js"></script>
|
||||
<main>
|
||||
<div class="container">
|
||||
|
||||
<div class="components components-grid">
|
||||
<div>
|
||||
<aside id="menu">
|
||||
<img src="/images/punpun.jpg" alt="keeper pfp">
|
||||
</aside>
|
||||
<h3>go home</h3>
|
||||
<nav>
|
||||
<ul>
|
||||
<li>blog posts</li>
|
||||
<br>
|
||||
<li>categories</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/games/">Games</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/hugo/">Hugo</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/terminal/">Terminal</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<div class = "main-content">
|
||||
<main>
|
||||
<div class="card-container">
|
||||
<header>Tag: Tags</header>
|
||||
<div class="terminal-content">
|
||||
<ul class="terminal-menu">
|
||||
|
||||
<li>
|
||||
<a href="/tags/css/">Css</a>
|
||||
<span class="meta-info">2024-04-04</span>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/terminal-style/">Terminal-Style</a>
|
||||
<span class="meta-info">2024-04-04</span>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/tutorial/">Tutorial</a>
|
||||
<span class="meta-info">2024-04-04</span>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</div><footer class="site-footer">
|
||||
<nav class="footer-nav">
|
||||
<a href="https://github.com/jimenezjc" target="_blank" rel="noopener noreferrer">
|
||||
<svg
|
||||
width="24"
|
||||
height="24"
|
||||
viewBox="0 0 24 24"
|
||||
fill="currentColor"
|
||||
style="display: inline-block; vertical-align: middle;"
|
||||
>
|
||||
<path d="M12 0C5.373 0 0 5.373 0 12c0 5.302 3.438 9.8 8.207 11.387.6.113.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23A11.509 11.509 0 0112 5.803c1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576C20.566 21.797 24 17.3 24 12c0-6.627-4.373-12-12-12z"/>
|
||||
</svg>
|
||||
|
||||
</a>
|
||||
</nav>
|
||||
<p>Made by Mshj | <a href = "terminal.css.xyz">Credits to Terminal.css</a></p>
|
||||
</footer></body>
|
||||
|
||||
</html>
|
||||
33
public/tags/index.xml
Normal file
33
public/tags/index.xml
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
<?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 mshj.net</title>
|
||||
<link>//localhost:1313/tags/</link>
|
||||
<description>Recent content in Tags on mshj.net</description>
|
||||
<generator>Hugo</generator>
|
||||
<language>en-us</language>
|
||||
<lastBuildDate>Thu, 04 Apr 2024 02:46:07 -0400</lastBuildDate>
|
||||
<atom:link href="//localhost:1313/tags/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>Css</title>
|
||||
<link>//localhost:1313/tags/css/</link>
|
||||
<pubDate>Thu, 04 Apr 2024 02:46:07 -0400</pubDate>
|
||||
<guid>//localhost:1313/tags/css/</guid>
|
||||
<description></description>
|
||||
</item>
|
||||
<item>
|
||||
<title>Terminal-Style</title>
|
||||
<link>//localhost:1313/tags/terminal-style/</link>
|
||||
<pubDate>Thu, 04 Apr 2024 02:46:07 -0400</pubDate>
|
||||
<guid>//localhost:1313/tags/terminal-style/</guid>
|
||||
<description></description>
|
||||
</item>
|
||||
<item>
|
||||
<title>Tutorial</title>
|
||||
<link>//localhost:1313/tags/tutorial/</link>
|
||||
<pubDate>Thu, 04 Apr 2024 02:46:07 -0400</pubDate>
|
||||
<guid>//localhost:1313/tags/tutorial/</guid>
|
||||
<description></description>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
85
public/tags/terminal-style/index.html
Normal file
85
public/tags/terminal-style/index.html
Normal file
|
|
@ -0,0 +1,85 @@
|
|||
<!DOCTYPE html>
|
||||
<html><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script><meta name="theme-color" content="#ffffff">
|
||||
<link rel="stylesheet" href="https://unpkg.com/terminal.css@0.7.2/dist/terminal.min.css" />
|
||||
<link rel="stylesheet" href="/css/styles.css"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head><body><header class="homepage-header">
|
||||
|
||||
</header><div id="content"><header class="homepage-header">
|
||||
<div class="container">
|
||||
<div class = "header-container">
|
||||
<h1><a href="/">mshj.net</a></h1>
|
||||
<span id="mini-header" class="mini-header"></span>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<script src="js/topbar.js"></script>
|
||||
<main>
|
||||
<div class="container">
|
||||
|
||||
<div class="components components-grid">
|
||||
<div>
|
||||
<aside id="menu">
|
||||
<img src="/images/punpun.jpg" alt="keeper pfp">
|
||||
</aside>
|
||||
<h3>go home</h3>
|
||||
<nav>
|
||||
<ul>
|
||||
<li>blog posts</li>
|
||||
<br>
|
||||
<li>categories</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/games/">Games</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/hugo/">Hugo</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/terminal/">Terminal</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<div class = "main-content">
|
||||
<main>
|
||||
<div class="card-container">
|
||||
<header>Tag: Terminal-Style</header>
|
||||
<div class="terminal-content">
|
||||
<ul class="terminal-menu">
|
||||
|
||||
<li>
|
||||
<a href="/posts/hi-post/">Hello World</a>
|
||||
<span class="meta-info">2024-04-04</span>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</div><footer class="site-footer">
|
||||
<nav class="footer-nav">
|
||||
<a href="https://github.com/jimenezjc" target="_blank" rel="noopener noreferrer">
|
||||
<svg
|
||||
width="24"
|
||||
height="24"
|
||||
viewBox="0 0 24 24"
|
||||
fill="currentColor"
|
||||
style="display: inline-block; vertical-align: middle;"
|
||||
>
|
||||
<path d="M12 0C5.373 0 0 5.373 0 12c0 5.302 3.438 9.8 8.207 11.387.6.113.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23A11.509 11.509 0 0112 5.803c1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576C20.566 21.797 24 17.3 24 12c0-6.627-4.373-12-12-12z"/>
|
||||
</svg>
|
||||
|
||||
</a>
|
||||
</nav>
|
||||
<p>Made by Mshj | <a href = "terminal.css.xyz">Credits to Terminal.css</a></p>
|
||||
</footer></body>
|
||||
|
||||
</html>
|
||||
19
public/tags/terminal-style/index.xml
Normal file
19
public/tags/terminal-style/index.xml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>Terminal-Style on mshj.net</title>
|
||||
<link>//localhost:1313/tags/terminal-style/</link>
|
||||
<description>Recent content in Terminal-Style on mshj.net</description>
|
||||
<generator>Hugo</generator>
|
||||
<language>en-us</language>
|
||||
<lastBuildDate>Thu, 04 Apr 2024 02:46:07 -0400</lastBuildDate>
|
||||
<atom:link href="//localhost:1313/tags/terminal-style/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>Hello World</title>
|
||||
<link>//localhost:1313/posts/hi-post/</link>
|
||||
<pubDate>Thu, 04 Apr 2024 02:46:07 -0400</pubDate>
|
||||
<guid>//localhost:1313/posts/hi-post/</guid>
|
||||
<description><h1 id="yoooo">yoooo</h1>
<p>this is one of my first articles homies. so i wil try my best to write it the best i can</p></description>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
85
public/tags/tutorial/index.html
Normal file
85
public/tags/tutorial/index.html
Normal file
|
|
@ -0,0 +1,85 @@
|
|||
<!DOCTYPE html>
|
||||
<html><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script><meta name="theme-color" content="#ffffff">
|
||||
<link rel="stylesheet" href="https://unpkg.com/terminal.css@0.7.2/dist/terminal.min.css" />
|
||||
<link rel="stylesheet" href="/css/styles.css"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head><body><header class="homepage-header">
|
||||
|
||||
</header><div id="content"><header class="homepage-header">
|
||||
<div class="container">
|
||||
<div class = "header-container">
|
||||
<h1><a href="/">mshj.net</a></h1>
|
||||
<span id="mini-header" class="mini-header"></span>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<script src="js/topbar.js"></script>
|
||||
<main>
|
||||
<div class="container">
|
||||
|
||||
<div class="components components-grid">
|
||||
<div>
|
||||
<aside id="menu">
|
||||
<img src="/images/punpun.jpg" alt="keeper pfp">
|
||||
</aside>
|
||||
<h3>go home</h3>
|
||||
<nav>
|
||||
<ul>
|
||||
<li>blog posts</li>
|
||||
<br>
|
||||
<li>categories</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/games/">Games</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/hugo/">Hugo</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="//localhost:1313/categories/terminal/">Terminal</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<div class = "main-content">
|
||||
<main>
|
||||
<div class="card-container">
|
||||
<header>Tag: Tutorial</header>
|
||||
<div class="terminal-content">
|
||||
<ul class="terminal-menu">
|
||||
|
||||
<li>
|
||||
<a href="/posts/hi-post/">Hello World</a>
|
||||
<span class="meta-info">2024-04-04</span>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</div><footer class="site-footer">
|
||||
<nav class="footer-nav">
|
||||
<a href="https://github.com/jimenezjc" target="_blank" rel="noopener noreferrer">
|
||||
<svg
|
||||
width="24"
|
||||
height="24"
|
||||
viewBox="0 0 24 24"
|
||||
fill="currentColor"
|
||||
style="display: inline-block; vertical-align: middle;"
|
||||
>
|
||||
<path d="M12 0C5.373 0 0 5.373 0 12c0 5.302 3.438 9.8 8.207 11.387.6.113.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23A11.509 11.509 0 0112 5.803c1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576C20.566 21.797 24 17.3 24 12c0-6.627-4.373-12-12-12z"/>
|
||||
</svg>
|
||||
|
||||
</a>
|
||||
</nav>
|
||||
<p>Made by Mshj | <a href = "terminal.css.xyz">Credits to Terminal.css</a></p>
|
||||
</footer></body>
|
||||
|
||||
</html>
|
||||
19
public/tags/tutorial/index.xml
Normal file
19
public/tags/tutorial/index.xml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>Tutorial on mshj.net</title>
|
||||
<link>//localhost:1313/tags/tutorial/</link>
|
||||
<description>Recent content in Tutorial on mshj.net</description>
|
||||
<generator>Hugo</generator>
|
||||
<language>en-us</language>
|
||||
<lastBuildDate>Thu, 04 Apr 2024 02:46:07 -0400</lastBuildDate>
|
||||
<atom:link href="//localhost:1313/tags/tutorial/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>Hello World</title>
|
||||
<link>//localhost:1313/posts/hi-post/</link>
|
||||
<pubDate>Thu, 04 Apr 2024 02:46:07 -0400</pubDate>
|
||||
<guid>//localhost:1313/posts/hi-post/</guid>
|
||||
<description><h1 id="yoooo">yoooo</h1>
<p>this is one of my first articles homies. so i wil try my best to write it the best i can</p></description>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1 @@
|
|||
{"Target":"ananke/css/main.min.css","MediaType":"text/css","Data":{}}
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
body[a="dark"]{background-color:#000;color:#fff}body[a="dark"] a{color:#79a8ff}body[a="dark"] a:visited{color:#f78fe7}body[a="dark"] details{border:thin solid #fff}body[a="dark"] details summary{color:#fff}body[a="dark"] details[open] summary{border-bottom:1px solid #fff}body[a="dark"] pre{background:#000}body[a="dark"] code:not(pre>code){background-color:#fff;color:#000}body[a="dark"] *:target{background:#2f3849;color:#fff}body[a="dark"] table,body[a="dark"] th,body[a="dark"] td{border:thin solid #fff}body[a="dark"] .toc{border:thin solid #fff;padding:1rem}body[a="dark"] figcaption{color:#000}body[a="dark"] blockquote{border:thin solid #fff}body[a="light"]{background-color:#fff;color:#000}body[a="light"] a{color:#3548cf}body[a="light"] a:visited{color:#8f0075}body[a="light"] details{border:thin solid #000}body[a="light"] details summary{color:#000}body[a="light"] details[open] summary{border-bottom:1px solid #000}body[a="light"] pre{background:#fff}body[a="light"] code:not(pre>code){background-color:#000;color:#fff}body[a="light"] *:target{background:#dae5ec;color:#000}body[a="light"] table,body[a="light"] th,body[a="light"] td{border:thin solid #000}body[a="light"] .toc{border:thin solid #000;padding:1rem}body[a="light"] figcaption{color:#595959}body[a="light"] blockquote{border:thin solid #000}@media (prefers-color-scheme: dark){body[a="auto"]{background-color:#000;color:#fff}body[a="auto"] a{color:#79a8ff}body[a="auto"] a:visited{color:#f78fe7}body[a="auto"] details{border:thin solid #fff}body[a="auto"] details summary{color:#fff}body[a="auto"] details[open] summary{border-bottom:1px solid #fff}body[a="auto"] pre{background:#000}body[a="auto"] code:not(pre>code){background-color:#fff;color:#000}body[a="auto"] *:target{background:#2f3849;color:#fff}body[a="auto"] table,body[a="auto"] th,body[a="auto"] td{border:thin solid #fff}body[a="auto"] .toc{border:thin solid #fff;padding:1rem}body[a="auto"] figcaption{color:#000}body[a="auto"] blockquote{border:thin solid #fff}}@media (prefers-color-scheme: light){body[a="auto"]{background-color:#fff;color:#000}body[a="auto"] a{color:#3548cf}body[a="auto"] a:visited{color:#8f0075}body[a="auto"] details{border:thin solid #000}body[a="auto"] details summary{color:#000}body[a="auto"] details[open] summary{border-bottom:1px solid #000}body[a="auto"] pre{background:#fff}body[a="auto"] code:not(pre>code){background-color:#000;color:#fff}body[a="auto"] *:target{background:#dae5ec;color:#000}body[a="auto"] table,body[a="auto"] th,body[a="auto"] td{border:thin solid #000}body[a="auto"] .toc{border:thin solid #000;padding:1rem}body[a="auto"] figcaption{color:#595959}body[a="auto"] blockquote{border:thin solid #000}}html{height:100%}body{font-family:monospace;font-size:16px;line-height:1.4;margin:0;min-height:100%;overflow-wrap:break-word}h2,h3,h4,h5,h6{margin-top:1.5rem}p{margin:1rem 0}li{margin:0.4rem 0}a{text-decoration:none}a:hover{text-decoration:underline}hr{text-align:center;border:0;margin:2rem 0}hr:before{content:'/////'}hr:after{content:attr(data-content) "/////"}pre{padding:1em;overflow-x:auto}table{width:100%}table,th,td{border-collapse:collapse;padding:0.4rem}code{text-size-adjust:100%;-ms-text-size-adjust:100%;-moz-text-size-adjust:100%;-webkit-text-size-adjust:100%}code:not(pre>code){padding:0.1em 0.2em;font-size:90%}code.has-jax{-webkit-font-smoothing:antialiased;background:inherit !important;border:none !important;font-size:100%}blockquote{padding:1rem}blockquote p{margin:0}img{max-width:100%;display:block;margin:0 auto}figcaption{text-align:center;opacity:0.5}details{padding:1rem}details summary{text-decoration:none}details[open] summary{margin-bottom:0.5em;padding-bottom:0.5em}.post-meta{display:flex;justify-content:space-between;align-items:center}.w{max-width:640px;margin:0 auto;padding:4rem 2rem}.toc{padding:1rem}
|
||||
|
||||
/*# sourceMappingURL=main.css.map */
|
||||
|
|
@ -0,0 +1 @@
|
|||
{"Target":"/css/main.900100e9dbee2d56c58fac8bb717037cae7e26a9c36c29d2ff587bdd65f0cbbe510b41d81a3bb234919cdfdc7550d786b2fab70c8fc507772d732fe097106d12.css","MediaType":"text/css","Data":{"Integrity":"sha512-kAEA6dvuLVbFj6yLtxcDfK5+JqnDbCnS/1h73WXwy75RC0HYGjuyNJGc39x1UNeGsvq3DI/FB3ctcy/glxBtEg=="}}
|
||||
BIN
static/images/atom.png
Normal file
BIN
static/images/atom.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 8.2 KiB |
BIN
static/images/keeper.png
Normal file
BIN
static/images/keeper.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.9 KiB |
BIN
static/images/punpun.jpg
Normal file
BIN
static/images/punpun.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 23 KiB |
20
themes/terminal/LICENSE
Normal file
20
themes/terminal/LICENSE
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2023 YOUR_NAME_HERE
|
||||
|
||||
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.
|
||||
8
themes/terminal/archetypes/default.md
Normal file
8
themes/terminal/archetypes/default.md
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
title: "{{ replace .File.ContentBaseName "-" " " | title }}"
|
||||
date: {{ .Date }}
|
||||
tags: []
|
||||
categories: []
|
||||
featured_image: ""
|
||||
description: ""
|
||||
---
|
||||
6
themes/terminal/archetypes/projects.md
Normal file
6
themes/terminal/archetypes/projects.md
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
title: "{{ replace .File.ContentBaseName "-" " " | title }}"
|
||||
date: {{ .Date }}
|
||||
featured_image: ""
|
||||
description: ""
|
||||
---
|
||||
1
themes/terminal/hugo.toml
Normal file
1
themes/terminal/hugo.toml
Normal file
|
|
@ -0,0 +1 @@
|
|||
# Theme config.
|
||||
4
themes/terminal/layouts/404.html
Normal file
4
themes/terminal/layouts/404.html
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{{ define "main"}}
|
||||
|
||||
<h1>404</h1>
|
||||
{{end}}
|
||||
43
themes/terminal/layouts/_default/baseof.html
Normal file
43
themes/terminal/layouts/_default/baseof.html
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
{{- partial "head.html" . -}}
|
||||
|
||||
<body>
|
||||
{{- partial "header.html" . -}}
|
||||
<div id="content">
|
||||
{{- partial "topBar.html" . -}}
|
||||
<main>
|
||||
<div class="container">
|
||||
|
||||
<div class="components components-grid">
|
||||
<div>
|
||||
<aside id="menu">
|
||||
<img src="/images/punpun.jpg" alt="keeper pfp">
|
||||
|
||||
<h3>go home</h3>
|
||||
<nav>
|
||||
<ul>
|
||||
<li>blog posts</li>
|
||||
<br>
|
||||
<li>categories</li>
|
||||
{{ range .Site.Taxonomies.categories.Alphabetical }}
|
||||
<li>
|
||||
<a href="{{ .Page.Permalink }}">{{ .Page.Title }}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</nav>
|
||||
</aside>
|
||||
</div>
|
||||
<div class = "main-content">
|
||||
<main>
|
||||
{{- block "main" . }}{{- end }}
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
{{- partial "footer.html" . -}}
|
||||
</body>
|
||||
|
||||
</html>
|
||||
11
themes/terminal/layouts/_default/list.html
Normal file
11
themes/terminal/layouts/_default/list.html
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{{ define "main" }}
|
||||
<h1>List of Posts</h1>
|
||||
<ul>
|
||||
{{ range .Site.RegularPages }}
|
||||
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
|
||||
{{ if .Params.description }}
|
||||
<p>{{ .Params.description }}</p>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ end }}
|
||||
29
themes/terminal/layouts/_default/single.html
Normal file
29
themes/terminal/layouts/_default/single.html
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{{ define "main" }}
|
||||
<article class="card-container">
|
||||
<header><h1>{{ .Title }}</h1></header>
|
||||
<div class="content-wrapper">
|
||||
{{ if .Params.categories }}
|
||||
<p>{{ .Date.Format "2006-01-02" }}</p>
|
||||
<div class="tag-list">
|
||||
<strong>Categories:</strong>
|
||||
{{ range .Params.categories }}
|
||||
<a href="{{ "/categories/" | relLangURL }}{{ . | urlize }}" class="tag-link">{{ . }}</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ if .Params.tags }}
|
||||
<div class="tag-list">
|
||||
<strong>Tags:</strong>
|
||||
{{ range .Params.tags }}
|
||||
<a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}" class="tag-link">{{ . }}</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
<br>
|
||||
|
||||
{{ .Content }}
|
||||
</div>
|
||||
|
||||
|
||||
</article>
|
||||
{{ end }}
|
||||
15
themes/terminal/layouts/_default/taxonomy.html
Normal file
15
themes/terminal/layouts/_default/taxonomy.html
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{{ define "main" }}
|
||||
<div class="terminal-card">
|
||||
<header>{{ .Title }} <span class="terminal-badge terminal-badge-primary">{{ len .Pages }}</span></header>
|
||||
<div class="terminal-content">
|
||||
<ul class="terminal-menu">
|
||||
{{ range .Pages }}
|
||||
<li>
|
||||
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
||||
<span class="terminal-meta">{{ .Date.Format "2006-01-02" }}</span>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
14
themes/terminal/layouts/_default/terms.html
Normal file
14
themes/terminal/layouts/_default/terms.html
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{{ define "main" }}
|
||||
<div class="terminal-card">
|
||||
<header>{{ .Title }}</header>
|
||||
<div class="terminal-content">
|
||||
<ul class="terminal-menu">
|
||||
{{ range .Data.Terms.ByCount }}
|
||||
<li>
|
||||
<a href="{{ .Page.RelPermalink }}">{{ .Page.Title }} <span class="terminal-badge terminal-badge-primary">{{ .Count }}</span></a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
19
themes/terminal/layouts/categories/list.html
Normal file
19
themes/terminal/layouts/categories/list.html
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{{ define "main" }}
|
||||
<div class="card-container">
|
||||
<header>Category: {{ .Title }}</header>
|
||||
<div class="content-wrapper">
|
||||
<ul class="menu-list">
|
||||
{{ range .Pages }}
|
||||
<li class = "post-list">
|
||||
<h3 class="post-list-title"><a href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
|
||||
<span class="meta-info">{{ .Date.Format "2006-01-02" }}</span>
|
||||
{{ if .Params.description }}
|
||||
<p>{{ .Params.description }}</p>
|
||||
{{ end }}
|
||||
</li>
|
||||
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
11
themes/terminal/layouts/index.html
Normal file
11
themes/terminal/layouts/index.html
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{{ define "main"}}
|
||||
<h3>My nama jef:</h3>
|
||||
<p>My nam is Mshj. consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. In pellentesque massa placerat duis ultricies. Nec dui nunc mattis enim. Massa id neque aliquam vestibulum morbi blandit. Ut tortor pretium viverra suspendisse potenti nullam.</p>
|
||||
|
||||
|
||||
<h3>Latest Blog Posts</h3>
|
||||
{{ partial "blogList.html" . }}
|
||||
<h3>Latest Projects</h3>
|
||||
{{ partial "projectList.html" . }}
|
||||
|
||||
{{end}}
|
||||
11
themes/terminal/layouts/partials/blogList.html
Normal file
11
themes/terminal/layouts/partials/blogList.html
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<!-- layouts/_default/list.html -->
|
||||
<ul>
|
||||
{{ range (where .Site.RegularPages "Section" "!=" "projects") }}
|
||||
<li class = "post-list">
|
||||
<h3 class="post-list-title"><a href="{{ .RelPermalink }}">{{ .Title }}</a> </h3>
|
||||
{{ if .Params.description }}
|
||||
<p class = "post-list-description">{{ .Params.description }}</p>
|
||||
{{ end }}
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
17
themes/terminal/layouts/partials/footer.html
Normal file
17
themes/terminal/layouts/partials/footer.html
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
<footer class="site-footer">
|
||||
<nav class="footer-nav">
|
||||
<a href="https://github.com/jimenezjc" target="_blank" rel="noopener noreferrer">
|
||||
<svg
|
||||
width="24"
|
||||
height="24"
|
||||
viewBox="0 0 24 24"
|
||||
fill="currentColor"
|
||||
style="display: inline-block; vertical-align: middle;"
|
||||
>
|
||||
<path d="M12 0C5.373 0 0 5.373 0 12c0 5.302 3.438 9.8 8.207 11.387.6.113.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23A11.509 11.509 0 0112 5.803c1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576C20.566 21.797 24 17.3 24 12c0-6.627-4.373-12-12-12z"/>
|
||||
</svg>
|
||||
|
||||
</a>
|
||||
</nav>
|
||||
<p>Made by Mshj | <a href = "terminal.css.xyz">Credits to Terminal.css</a></p>
|
||||
</footer>
|
||||
5
themes/terminal/layouts/partials/head.html
Normal file
5
themes/terminal/layouts/partials/head.html
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<meta name="theme-color" content="#ffffff">
|
||||
<link rel="stylesheet" href="https://unpkg.com/terminal.css@0.7.2/dist/terminal.min.css" />
|
||||
<link rel="stylesheet" href="/css/styles.css"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head>
|
||||
3
themes/terminal/layouts/partials/header.html
Normal file
3
themes/terminal/layouts/partials/header.html
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
<header class="homepage-header">
|
||||
|
||||
</header>
|
||||
11
themes/terminal/layouts/partials/projectList.html
Normal file
11
themes/terminal/layouts/partials/projectList.html
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<!-- layouts/_default/list.html -->
|
||||
<ul>
|
||||
{{ range first 5 (where .Site.RegularPages "Section" "projects") }}
|
||||
<li class = "post-list">
|
||||
<h3 class="post-list-title"><a href="{{ .RelPermalink }}">{{ .Title }}</a> </h3>
|
||||
{{ if .Params.description }}
|
||||
<p class = "post-list-description">{{ .Params.description }}</p>
|
||||
{{ end }}
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
9
themes/terminal/layouts/partials/topBar.html
Normal file
9
themes/terminal/layouts/partials/topBar.html
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<header class="homepage-header">
|
||||
<div class="container">
|
||||
<div class = "header-container">
|
||||
<h1><a href="/">{{site.Title}}</a></h1>
|
||||
<span id="mini-header" class="mini-header"></span>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<script src="/js/topbar.js"></script>
|
||||
13
themes/terminal/layouts/projects/list.html
Normal file
13
themes/terminal/layouts/projects/list.html
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{{ define "main" }}
|
||||
<h1>Jects</h1>
|
||||
<ul>
|
||||
{{ range where .Site.RegularPages "Section" "projects" }}
|
||||
<li>
|
||||
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
||||
{{ if .Params.description }}
|
||||
<p>{{ .Params.description }}</p>
|
||||
{{ end }}
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ end }}
|
||||
11
themes/terminal/layouts/projects/single.html
Normal file
11
themes/terminal/layouts/projects/single.html
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{{ define "main" }}
|
||||
<article class="card-container">
|
||||
<header><h1>{{ .Title }}</h1></header>
|
||||
<div class="content-wrapper">
|
||||
<p>{{ .Date.Format "2006-01-02" }}</p>
|
||||
{{ .Content }}
|
||||
</div>
|
||||
|
||||
|
||||
</article>
|
||||
{{ end }}
|
||||
15
themes/terminal/layouts/tags/list.html
Normal file
15
themes/terminal/layouts/tags/list.html
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{{ define "main" }}
|
||||
<div class="card-container">
|
||||
<header>Tag: {{ .Title }}</header>
|
||||
<div class="terminal-content">
|
||||
<ul class="terminal-menu">
|
||||
{{ range .Pages }}
|
||||
<li>
|
||||
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
||||
<span class="meta-info">{{ .Date.Format "2006-01-02" }}</span>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
334
themes/terminal/static/css/styles.css
Normal file
334
themes/terminal/static/css/styles.css
Normal file
|
|
@ -0,0 +1,334 @@
|
|||
/* Sleek Terminal Card */
|
||||
.card-container {
|
||||
--terminal-bg: #1a1d23;
|
||||
--terminal-border: #2c3e50;
|
||||
--terminal-accent: #3498db;
|
||||
--terminal-text: #ecf0f1;
|
||||
--terminal-highlight: #2ecc71;
|
||||
|
||||
color: var(--terminal-text) !important;
|
||||
font-family: 'SF Mono', 'Menlo', monospace;
|
||||
padding: 1rem;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
transition: all 0.3s ease;
|
||||
max-width: 700px;
|
||||
margin: 1.5rem auto;
|
||||
}
|
||||
|
||||
.main-content {
|
||||
flex-grow: 1;
|
||||
width: 100%;
|
||||
padding-bottom: 60px;
|
||||
}
|
||||
|
||||
|
||||
/* Card container adjustments */
|
||||
.card-container {
|
||||
margin: 0 auto;
|
||||
width: 100%;
|
||||
max-width: 700px;
|
||||
padding-right: 1.5rem;
|
||||
padding-bottom: 1.5rem;
|
||||
padding-left: 1.5rem;
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
/* Header styling */
|
||||
.card-container header {
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
||||
margin-bottom: 0.5rem;
|
||||
padding-bottom: 0.75rem;
|
||||
font-size: 1.2rem;
|
||||
font-weight: 600;
|
||||
background-color: transparent;
|
||||
padding: 0;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.card-container header h1 {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.card-container header h2 {
|
||||
color: var(--terminal-text);
|
||||
font-size: inherit;
|
||||
font-weight: inherit;
|
||||
margin: 0;
|
||||
letter-spacing: -0.5px;
|
||||
}
|
||||
|
||||
/* Body content */
|
||||
.content-wrapper {
|
||||
line-height: 1.6;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
/* Code blocks */
|
||||
.content-wrapper pre {
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
border-radius: 4px;
|
||||
padding: 0.75rem;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
|
||||
/* Status indicator */
|
||||
.card-container::after {
|
||||
content: '●';
|
||||
position: absolute;
|
||||
top: 12px;
|
||||
right: 15px;
|
||||
color: var(--terminal-highlight);
|
||||
font-size: 0.8rem;
|
||||
text-shadow: 0 0 8px currentColor;
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Menu list */
|
||||
.menu-list {
|
||||
list-style-type: none !important;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.menu-list li {
|
||||
margin-bottom: 0.5rem;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.meta-info {
|
||||
font-size: 0.8rem;
|
||||
color: #666;
|
||||
margin-left: 0.5rem;
|
||||
}
|
||||
/* Tag list */
|
||||
.tag-list {
|
||||
margin-top: 1rem;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
/* Tag link */
|
||||
.tag-link {
|
||||
text-decoration: none;
|
||||
color: #ffffff;
|
||||
padding: 0.1rem 0.3rem;
|
||||
border-radius: 0.3rem;
|
||||
margin-right: 0.3rem;
|
||||
}
|
||||
|
||||
.tag-link:nth-child(8n+1) {
|
||||
background-color: #f2f2f2;
|
||||
}
|
||||
|
||||
.tag-link:nth-child(8n+2) {
|
||||
background-color: #ff69b4;
|
||||
}
|
||||
|
||||
.tag-link:nth-child(8n+3) {
|
||||
background-color: #33cc33;
|
||||
}
|
||||
|
||||
.tag-link:nth-child(8n+4) {
|
||||
background-color: #6666ff;
|
||||
}
|
||||
|
||||
.tag-link:nth-child(8n+5) {
|
||||
background-color: #ffff66;
|
||||
}
|
||||
|
||||
.tag-link:nth-child(8n+6) {
|
||||
background-color: #ff9966;
|
||||
}
|
||||
|
||||
.tag-link:nth-child(8n+7) {
|
||||
background-color: #cc66cc;
|
||||
}
|
||||
|
||||
.tag-link:nth-child(8n+0) {
|
||||
background-color: #66cccc;
|
||||
}
|
||||
.tag-link:hover {
|
||||
background-color: #ddd;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.components-grid {
|
||||
display: grid;
|
||||
grid-column-gap: 1.4em;
|
||||
grid-template-columns: auto;
|
||||
grid-template-rows: auto;
|
||||
}
|
||||
|
||||
.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) / 12), 1fr));
|
||||
}
|
||||
|
||||
.header-container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.mini-header {
|
||||
font-size: 0.8rem;
|
||||
color: #666;
|
||||
margin-left: 1rem;
|
||||
border-right: 2px solid #666;
|
||||
animation: blink 0.7s infinite;
|
||||
}
|
||||
|
||||
@keyframes blink {
|
||||
0% {
|
||||
border-color: #666;
|
||||
}
|
||||
50% {
|
||||
border-color: transparent;
|
||||
}
|
||||
100% {
|
||||
border-color: #666;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 70em) {
|
||||
.components-grid {
|
||||
grid-template-columns: 3fr 9fr;
|
||||
}
|
||||
|
||||
.components-grid aside {
|
||||
position: sticky;
|
||||
top: calc(var(--global-space) * 2);
|
||||
}
|
||||
}
|
||||
|
||||
.terminal-tags {
|
||||
margin-top: 1rem;
|
||||
line-height: 2;
|
||||
}
|
||||
|
||||
.terminal-tag {
|
||||
background-color: var(--secondary-color);
|
||||
color: var(--background-color);
|
||||
padding: 0.2rem 0.5rem;
|
||||
margin-right: 0.5rem;
|
||||
text-decoration: none;
|
||||
font-size: 0.8rem;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.terminal-tag:hover {
|
||||
background-color: var(--primary-color);
|
||||
}
|
||||
|
||||
.terminal-meta {
|
||||
opacity: 0.7;
|
||||
font-size: 0.8rem;
|
||||
margin-left: 0.5rem;
|
||||
}
|
||||
|
||||
|
||||
.post-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 1rem;
|
||||
border: 1px solid #eee;
|
||||
border-radius: 20px;
|
||||
margin-bottom: 1.5rem;
|
||||
position:static !important;
|
||||
|
||||
}
|
||||
.post-list li {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.post-list-title {
|
||||
font-weight: 600;
|
||||
color: #333;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
|
||||
.post-list-description {
|
||||
color: #e6e6e6;
|
||||
font-size: 0.9rem;
|
||||
line-height: 1.4;
|
||||
margin: 0 0 0 0;
|
||||
}
|
||||
|
||||
/* Add spacing between list items */
|
||||
.post-list + .post-list {
|
||||
margin-top: 1.5rem;
|
||||
}
|
||||
|
||||
/* Subtle hover effect */
|
||||
.post-list:hover {
|
||||
border-radius: 24px;
|
||||
}
|
||||
|
||||
.site-footer {
|
||||
margin-top: auto;
|
||||
width: 100%;
|
||||
padding: 1rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.footer-nav a {
|
||||
text-decoration: none;
|
||||
color: #666;
|
||||
margin: 0 0.5rem;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.footer-nav a:hover {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.footer-nav svg {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.site-footer p {
|
||||
font-size: 0.9rem;
|
||||
color: #666;
|
||||
margin: 0.5rem 0;
|
||||
}
|
||||
|
||||
body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
:root {
|
||||
--global-font-size: 15px;
|
||||
--global-line-height: 1.4em;
|
||||
--global-space: 10px;
|
||||
--font-stack: Menlo, Monaco, Lucida Console, Liberation Mono,
|
||||
DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace,
|
||||
serif;
|
||||
--mono-font-stack: Menlo, Monaco, Lucida Console, Liberation Mono,
|
||||
DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace,
|
||||
serif;
|
||||
--background-color: #15151b !important;
|
||||
--page-width: 60em;
|
||||
--font-color: #e8e9ed;
|
||||
--invert-font-color: #222225;
|
||||
--secondary-color: #a3abba;
|
||||
--tertiary-color: #a3abba;
|
||||
--primary-color: #62c4ff;
|
||||
--error-color: #ff3c74;
|
||||
--progress-bar-background: #3f3f44;
|
||||
--progress-bar-fill: #62c4ff;
|
||||
--code-bg-color: #3f3f44;
|
||||
--input-style: solid;
|
||||
--display-h1-decoration: none;
|
||||
}
|
||||
|
||||
|
||||
14
themes/terminal/static/js/topbar.js
Normal file
14
themes/terminal/static/js/topbar.js
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
const miniHeader = document.getElementById('mini-header');
|
||||
const texts = ['use linux', 'i hate css', 'gpl everything', 'made with love']; // add your random text here
|
||||
const text = texts[Math.floor(Math.random() * texts.length)];
|
||||
let charIndex = 0;
|
||||
|
||||
function typeText() {
|
||||
if (charIndex < text.length) {
|
||||
miniHeader.textContent += text.charAt(charIndex);
|
||||
charIndex++;
|
||||
setTimeout(typeText, 50); // adjust the typing speed here
|
||||
}
|
||||
}
|
||||
|
||||
typeText();
|
||||
21
themes/terminal/theme.toml
Normal file
21
themes/terminal/theme.toml
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
# theme.toml template for a Hugo theme
|
||||
# See https://github.com/gohugoio/hugoThemes#themetoml for an example
|
||||
|
||||
name = "Terminal"
|
||||
license = "MIT"
|
||||
licenselink = "https://github.com/yourname/yourtheme/blob/master/LICENSE"
|
||||
description = ""
|
||||
homepage = "http://example.com/"
|
||||
tags = []
|
||||
features = []
|
||||
min_version = "0.112.3"
|
||||
|
||||
[author]
|
||||
name = ""
|
||||
homepage = ""
|
||||
|
||||
# If porting an existing theme
|
||||
[original]
|
||||
name = ""
|
||||
homepage = ""
|
||||
repo = ""
|
||||
Loading…
Add table
Add a link
Reference in a new issue