mirror of
https://github.com/JimenezJC/mshj_blog.git
synced 2025-12-06 09:19:55 -05:00
Initial Blog Commit
This commit is contained in:
commit
07775036ce
92 changed files with 4980 additions and 0 deletions
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 }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue