first commit
This commit is contained in:
commit
50f32de758
0
.hugo_build.lock
Normal file
0
.hugo_build.lock
Normal file
5
archetypes/default.md
Normal file
5
archetypes/default.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
+++
|
||||||
|
date = '{{ .Date }}'
|
||||||
|
draft = true
|
||||||
|
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
|
||||||
|
+++
|
8
content/Life_in_college.md
Normal file
8
content/Life_in_college.md
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
+++
|
||||||
|
date = '2025-02-26T23:06:56-08:00'
|
||||||
|
draft = true
|
||||||
|
title = 'Life in college'
|
||||||
|
+++
|
||||||
|
|
||||||
|
# Beginning
|
||||||
|
Idk how to really
|
35
content/_index.md
Normal file
35
content/_index.md
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
+++
|
||||||
|
date = '2025-02-24T10:42:32-08:00'
|
||||||
|
draft = false
|
||||||
|
title = 'Rohan'
|
||||||
|
+++
|
||||||
|
|
||||||
|
# About me
|
||||||
|
I'm Rohan Deshpande, a current student at UCLA studying [Computational and Systems Biology](https://casb.ucla.edu/).
|
||||||
|
Since the UCLA LUG was gracious enough to give me a server, I figured it was about time that I started my own website instead of relying on other platforms.
|
||||||
|
|
||||||
|
This website is a way where I can document my time in college through articles, as well as explaining some stuff.
|
||||||
|
I want to host more stuff here in the future, such as my in-progress personal knowledge management system, but this can serve as a hub.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## Interests
|
||||||
|
Some of my interests include:
|
||||||
|
* Biology
|
||||||
|
* Chemistry
|
||||||
|
* Medicine
|
||||||
|
* Computer Science
|
||||||
|
* Math
|
||||||
|
* History
|
||||||
|
* Geopolitics
|
||||||
|
|
||||||
|
Very spread out.
|
||||||
|
The history and geopolitics is more of a hobby, but I am interested in getting involved in [systems biology](https://en.wikipedia.org/wiki/Systems_biology) research and using computers to create models of biological processes.
|
||||||
|
I'd appreciate any guidance involving this, or once I get into a lab and spend some time there I'll write an article.
|
||||||
|
|
||||||
|
## Currently Reading
|
||||||
|
**My Life: A Spoken Autobiography** by *Fidel Castro*
|
||||||
|
|
||||||
|
|
||||||
|
## Articles
|
||||||
|
|
10
content/about.md
Normal file
10
content/about.md
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
+++
|
||||||
|
date = '2025-02-24T10:20:27-08:00'
|
||||||
|
draft = false
|
||||||
|
title = 'First post'
|
||||||
|
+++
|
||||||
|
|
||||||
|
# My time
|
||||||
|
|
||||||
|
|
||||||
|
|
6
hugo.toml
Normal file
6
hugo.toml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
baseURL = '/'
|
||||||
|
relativeURLs = true
|
||||||
|
languageCode = 'en-us'
|
||||||
|
title = "Rohan's Website"
|
||||||
|
|
||||||
|
theme = 'lugo'
|
33
public/about/index.html
Normal file
33
public/about/index.html
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script>
|
||||||
|
<title>First Post | Rohan's Website</title>
|
||||||
|
<link rel="canonical" href="//localhost:1313/">
|
||||||
|
<link rel='alternate' type='application/rss+xml' title="Rohan's Website RSS" href='../index.xml'>
|
||||||
|
<link rel='stylesheet' type='text/css' href='../style.css'>
|
||||||
|
<link rel="icon" href="../favicon.ico">
|
||||||
|
<meta name="description" content="My time">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta name="robots" content="index, follow">
|
||||||
|
<meta charset="utf-8">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<main>
|
||||||
|
<header><h1 id="tag_First post">First post</h1></header>
|
||||||
|
<article>
|
||||||
|
|
||||||
|
<h1 id="my-time">My time</h1>
|
||||||
|
|
||||||
|
|
||||||
|
<div id="nextprev"><a href="../life_in_college/"><div id="nextart">Next:<br>Life_in_college</div></a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
<a href="//localhost:1313/">//localhost:1313/</a><br><br><a href="../index.xml"><img src="../rss.svg" style="max-height:1.5em" alt="RSS Feed" title="Subscribe via RSS for updates."></a>
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
30
public/categories/index.html
Normal file
30
public/categories/index.html
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script>
|
||||||
|
<title>Categories | Rohan's Website</title>
|
||||||
|
<link rel="canonical" href="//localhost:1313/">
|
||||||
|
<link rel='alternate' type='application/rss+xml' title="Rohan's Website RSS" href='../index.xml'>
|
||||||
|
<link rel='stylesheet' type='text/css' href='../style.css'>
|
||||||
|
<link rel="icon" href="../favicon.ico">
|
||||||
|
<meta name="description" content="">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta name="robots" content="index, follow">
|
||||||
|
<meta charset="utf-8">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<main>
|
||||||
|
<header><h1 id="tag_Categories">Categories</h1></header>
|
||||||
|
<article>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
<a href="//localhost:1313/">//localhost:1313/</a><br><br><a href="../index.xml"><img src="../rss.svg" style="max-height:1.5em" alt="RSS Feed" title="Subscribe via RSS for updates."></a>
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
33
public/categories/index.xml
Normal file
33
public/categories/index.xml
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||||
|
<channel>
|
||||||
|
<title>Rohan's Website</title>
|
||||||
|
<link>//localhost:1313/categories/</link>
|
||||||
|
<description>Recent content in Categories on Rohan's Website</description>
|
||||||
|
<generator>Hugo -- gohugo.io</generator>
|
||||||
|
<language>en-us</language>
|
||||||
|
|
||||||
|
<atom:link href="//localhost:1313/categories/index.xml" rel="self" type="application/rss+xml" />
|
||||||
|
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<title>Life_in_college</title>
|
||||||
|
<link>//localhost:1313/life_in_college/</link>
|
||||||
|
<pubDate>Wed, 26 Feb 2025 23:06:56 -0800</pubDate>
|
||||||
|
|
||||||
|
<guid>//localhost:1313/life_in_college/</guid>
|
||||||
|
<description><h1 id="test">Test</h1>
|
||||||
|
</description>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<title>First post</title>
|
||||||
|
<link>//localhost:1313/about/</link>
|
||||||
|
<pubDate>Mon, 24 Feb 2025 10:20:27 -0800</pubDate>
|
||||||
|
|
||||||
|
<guid>//localhost:1313/about/</guid>
|
||||||
|
<description><h1 id="my-time">My time</h1>
|
||||||
|
</description>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
</channel>
|
||||||
|
</rss>
|
63
public/index.html
Normal file
63
public/index.html
Normal file
@ -0,0 +1,63 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta name="generator" content="Hugo 0.143.1"><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script>
|
||||||
|
<title>Rohan's Website</title>
|
||||||
|
<link rel="canonical" href="//localhost:1313/">
|
||||||
|
<link rel='alternate' type='application/rss+xml' title="Rohan's Website RSS" href='./index.xml'>
|
||||||
|
<link rel='stylesheet' type='text/css' href='./style.css'>
|
||||||
|
<link rel="icon" href="./favicon.ico">
|
||||||
|
<meta name="description" content="About me
|
||||||
|
I’m Rohan Deshpande, a current student at UCLA studying Computational and Systems Biology.
|
||||||
|
Since the UCLA LUG was gracious enough to give me a server, I figured it was about time that I started my own website instead of relying on other platforms.
|
||||||
|
This website is a way where I can document my time in college through articles, as well as explaining some stuff.
|
||||||
|
I want to host more stuff here in the future, such as my in-progress personal knowledge management system, but this can serve as a hub.">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta name="robots" content="index, follow">
|
||||||
|
<meta charset="utf-8">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<main>
|
||||||
|
<header><h1 id="tag_Rohan">Rohan</h1></header>
|
||||||
|
<article>
|
||||||
|
<h1 id="about-me">About me</h1>
|
||||||
|
<p>I’m Rohan Deshpande, a current student at UCLA studying <a href="https://casb.ucla.edu/">Computational and Systems Biology</a>.
|
||||||
|
Since the UCLA LUG was gracious enough to give me a server, I figured it was about time that I started my own website instead of relying on other platforms.</p>
|
||||||
|
<p>This website is a way where I can document my time in college through articles, as well as explaining some stuff.
|
||||||
|
I want to host more stuff here in the future, such as my in-progress personal knowledge management system, but this can serve as a hub.</p>
|
||||||
|
<h2 id="interests">Interests</h2>
|
||||||
|
<p>Some of my interests include:</p>
|
||||||
|
<ul>
|
||||||
|
<li>Biology</li>
|
||||||
|
<li>Chemistry</li>
|
||||||
|
<li>Medicine</li>
|
||||||
|
<li>Computer Science</li>
|
||||||
|
<li>Math</li>
|
||||||
|
<li>History</li>
|
||||||
|
<li>Geopolitics</li>
|
||||||
|
</ul>
|
||||||
|
<p>Very spread out.
|
||||||
|
The history and geopolitics is more of a hobby, but I am interested in getting involved in <a href="https://en.wikipedia.org/wiki/Systems_biology">systems biology</a> research and using computers to create models of biological processes.
|
||||||
|
I’d appreciate any guidance involving this, or once I get into a lab and spend some time there I’ll write an article.</p>
|
||||||
|
<h2 id="currently-reading">Currently Reading</h2>
|
||||||
|
<p><strong>My Life: A Spoken Autobiography</strong> by <em>Fidel Castro</em></p>
|
||||||
|
<h2 id="articles">Articles</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li><time datetime="2025-02-26T23:06:56-08:00">2025 Feb 26</time> – <a href="./life_in_college/">Life in college</a>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
<li><time datetime="2025-02-24T10:20:27-08:00">2025 Feb 24</time> – <a href="./about/">First post</a>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
<a href="//localhost:1313/">//localhost:1313/</a><br><br><a href="./index.xml"><img src="./rss.svg" style="max-height:1.5em" alt="RSS Feed" title="Subscribe via RSS for updates."></a>
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
35
public/index.xml
Normal file
35
public/index.xml
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||||
|
<channel>
|
||||||
|
<title>Rohan's Website</title>
|
||||||
|
<link>//localhost:1313/</link>
|
||||||
|
<description>Recent content in Rohan on Rohan's Website</description>
|
||||||
|
<generator>Hugo -- gohugo.io</generator>
|
||||||
|
<language>en-us</language>
|
||||||
|
<lastBuildDate>Mon, 24 Feb 2025 10:42:32 -0800</lastBuildDate>
|
||||||
|
|
||||||
|
<atom:link href="//localhost:1313/index.xml" rel="self" type="application/rss+xml" />
|
||||||
|
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<title>Life in college</title>
|
||||||
|
<link>//localhost:1313/life_in_college/</link>
|
||||||
|
<pubDate>Wed, 26 Feb 2025 23:06:56 -0800</pubDate>
|
||||||
|
|
||||||
|
<guid>//localhost:1313/life_in_college/</guid>
|
||||||
|
<description><h1 id="beginning">Beginning</h1>
|
||||||
|
<p>Idk how to really</p>
|
||||||
|
</description>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<title>First post</title>
|
||||||
|
<link>//localhost:1313/about/</link>
|
||||||
|
<pubDate>Mon, 24 Feb 2025 10:20:27 -0800</pubDate>
|
||||||
|
|
||||||
|
<guid>//localhost:1313/about/</guid>
|
||||||
|
<description><h1 id="my-time">My time</h1>
|
||||||
|
</description>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
</channel>
|
||||||
|
</rss>
|
36
public/life_in_college/index.html
Normal file
36
public/life_in_college/index.html
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script>
|
||||||
|
<title>Life in College | Rohan's Website</title>
|
||||||
|
<link rel="canonical" href="//localhost:1313/">
|
||||||
|
<link rel='alternate' type='application/rss+xml' title="Rohan's Website RSS" href='../index.xml'>
|
||||||
|
<link rel='stylesheet' type='text/css' href='../style.css'>
|
||||||
|
<link rel="icon" href="../favicon.ico">
|
||||||
|
<meta name="description" content="Beginning
|
||||||
|
Idk how to really">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta name="robots" content="index, follow">
|
||||||
|
<meta charset="utf-8">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<main>
|
||||||
|
<header><h1 id="tag_Life in college">Life in college</h1></header>
|
||||||
|
<article>
|
||||||
|
|
||||||
|
<h1 id="beginning">Beginning</h1>
|
||||||
|
<p>Idk how to really</p>
|
||||||
|
|
||||||
|
|
||||||
|
<div id="nextprev">
|
||||||
|
<a href="../about/"><div id="prevart">Previous:<br>First post</div></a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
<a href="//localhost:1313/">//localhost:1313/</a><br><br><a href="../index.xml"><img src="../rss.svg" style="max-height:1.5em" alt="RSS Feed" title="Subscribe via RSS for updates."></a>
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
1
public/rss.svg
Normal file
1
public/rss.svg
Normal file
@ -0,0 +1 @@
|
|||||||
|
<?xml version="1.0" encoding="iso-8859-1"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 455.731 455.731" style="enable-background:new 0 0 455.731 455.731;" xml:space="preserve"><g><rect x="0" y="0" style="fill:#F78422;" width="455.731" height="455.731"/><g><path style="fill:#FFFFFF;" d="M296.208,159.16C234.445,97.397,152.266,63.382,64.81,63.382v64.348 c70.268,0,136.288,27.321,185.898,76.931c49.609,49.61,76.931,115.63,76.931,185.898h64.348 C391.986,303.103,357.971,220.923,296.208,159.16z"/><path style="fill:#FFFFFF;" d="M64.143,172.273v64.348c84.881,0,153.938,69.056,153.938,153.939h64.348 C282.429,270.196,184.507,172.273,64.143,172.273z"/><circle style="fill:#FFFFFF;" cx="109.833" cy="346.26" r="46.088"/></g></g></svg>
|
After Width: | Height: | Size: 920 B |
18
public/sitemap.xml
Normal file
18
public/sitemap.xml
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
<?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/life_in_college/</loc>
|
||||||
|
<lastmod>2025-02-26T23:06:56-08:00</lastmod>
|
||||||
|
</url><url>
|
||||||
|
<loc>//localhost:1313/</loc>
|
||||||
|
<lastmod>2025-02-24T10:42:32-08:00</lastmod>
|
||||||
|
</url><url>
|
||||||
|
<loc>//localhost:1313/about/</loc>
|
||||||
|
<lastmod>2025-02-24T10:20:27-08:00</lastmod>
|
||||||
|
</url><url>
|
||||||
|
<loc>//localhost:1313/categories/</loc>
|
||||||
|
</url><url>
|
||||||
|
<loc>//localhost:1313/tags/</loc>
|
||||||
|
</url>
|
||||||
|
</urlset>
|
45
public/style.css
Normal file
45
public/style.css
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
body {
|
||||||
|
font-family: sans-serif ;
|
||||||
|
background: #110000 ;
|
||||||
|
color: #ccc ;
|
||||||
|
}
|
||||||
|
|
||||||
|
main {
|
||||||
|
max-width: 800px ;
|
||||||
|
margin: auto ;
|
||||||
|
}
|
||||||
|
|
||||||
|
img {
|
||||||
|
max-width: 100% ;
|
||||||
|
}
|
||||||
|
|
||||||
|
header h1 {
|
||||||
|
text-align: center ;
|
||||||
|
}
|
||||||
|
|
||||||
|
footer {
|
||||||
|
text-align: center ;
|
||||||
|
clear: both ;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* For TAGLIST.HTML */
|
||||||
|
.taglist {
|
||||||
|
text-align: center ;
|
||||||
|
clear: both ;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* For NEXTPREV.HTML */
|
||||||
|
#nextprev {
|
||||||
|
/* The container for both the previous and next articles. */
|
||||||
|
}
|
||||||
|
#prevart {
|
||||||
|
float: left ;
|
||||||
|
text-align: left ;
|
||||||
|
}
|
||||||
|
#nextart {
|
||||||
|
float: right ;
|
||||||
|
text-align: right ;
|
||||||
|
}
|
||||||
|
#nextart,#prevart {
|
||||||
|
max-width: 33% ;
|
||||||
|
}
|
30
public/tags/index.html
Normal file
30
public/tags/index.html
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script>
|
||||||
|
<title>Tags | Rohan's Website</title>
|
||||||
|
<link rel="canonical" href="//localhost:1313/">
|
||||||
|
<link rel='alternate' type='application/rss+xml' title="Rohan's Website RSS" href='../index.xml'>
|
||||||
|
<link rel='stylesheet' type='text/css' href='../style.css'>
|
||||||
|
<link rel="icon" href="../favicon.ico">
|
||||||
|
<meta name="description" content="">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta name="robots" content="index, follow">
|
||||||
|
<meta charset="utf-8">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<main>
|
||||||
|
<header><h1 id="tag_Tags">Tags</h1></header>
|
||||||
|
<article>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
<a href="//localhost:1313/">//localhost:1313/</a><br><br><a href="../index.xml"><img src="../rss.svg" style="max-height:1.5em" alt="RSS Feed" title="Subscribe via RSS for updates."></a>
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
33
public/tags/index.xml
Normal file
33
public/tags/index.xml
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||||
|
<channel>
|
||||||
|
<title>Rohan's Website</title>
|
||||||
|
<link>//localhost:1313/tags/</link>
|
||||||
|
<description>Recent content in Tags on Rohan's Website</description>
|
||||||
|
<generator>Hugo -- gohugo.io</generator>
|
||||||
|
<language>en-us</language>
|
||||||
|
|
||||||
|
<atom:link href="//localhost:1313/tags/index.xml" rel="self" type="application/rss+xml" />
|
||||||
|
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<title>Life_in_college</title>
|
||||||
|
<link>//localhost:1313/life_in_college/</link>
|
||||||
|
<pubDate>Wed, 26 Feb 2025 23:06:56 -0800</pubDate>
|
||||||
|
|
||||||
|
<guid>//localhost:1313/life_in_college/</guid>
|
||||||
|
<description><h1 id="test">Test</h1>
|
||||||
|
</description>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<title>First post</title>
|
||||||
|
<link>//localhost:1313/about/</link>
|
||||||
|
<pubDate>Mon, 24 Feb 2025 10:20:27 -0800</pubDate>
|
||||||
|
|
||||||
|
<guid>//localhost:1313/about/</guid>
|
||||||
|
<description><h1 id="my-time">My time</h1>
|
||||||
|
</description>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
</channel>
|
||||||
|
</rss>
|
45
static/style.css
Normal file
45
static/style.css
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
body {
|
||||||
|
font-family: sans-serif ;
|
||||||
|
background: #110000 ;
|
||||||
|
color: #ccc ;
|
||||||
|
}
|
||||||
|
|
||||||
|
main {
|
||||||
|
max-width: 800px ;
|
||||||
|
margin: auto ;
|
||||||
|
}
|
||||||
|
|
||||||
|
img {
|
||||||
|
max-width: 100% ;
|
||||||
|
}
|
||||||
|
|
||||||
|
header h1 {
|
||||||
|
text-align: center ;
|
||||||
|
}
|
||||||
|
|
||||||
|
footer {
|
||||||
|
text-align: center ;
|
||||||
|
clear: both ;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* For TAGLIST.HTML */
|
||||||
|
.taglist {
|
||||||
|
text-align: center ;
|
||||||
|
clear: both ;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* For NEXTPREV.HTML */
|
||||||
|
#nextprev {
|
||||||
|
/* The container for both the previous and next articles. */
|
||||||
|
}
|
||||||
|
#prevart {
|
||||||
|
float: left ;
|
||||||
|
text-align: left ;
|
||||||
|
}
|
||||||
|
#nextart {
|
||||||
|
float: right ;
|
||||||
|
text-align: right ;
|
||||||
|
}
|
||||||
|
#nextart,#prevart {
|
||||||
|
max-width: 33% ;
|
||||||
|
}
|
32
themes/lugo/.github/workflows/upload.yml
vendored
Normal file
32
themes/lugo/.github/workflows/upload.yml
vendored
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
name: CI
|
||||||
|
|
||||||
|
# Controls when the action will run.
|
||||||
|
on:
|
||||||
|
# Triggers the workflow on push to master (including merged PRs)
|
||||||
|
push:
|
||||||
|
branches: [ master ]
|
||||||
|
|
||||||
|
# Allows you to run this workflow manually from the Actions tab
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
||||||
|
jobs:
|
||||||
|
# This workflow contains a single job called "build"
|
||||||
|
update:
|
||||||
|
# The type of runner that the job will run on
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||||
|
steps:
|
||||||
|
- name: Updating website.
|
||||||
|
uses: appleboy/ssh-action@master
|
||||||
|
with:
|
||||||
|
host: lukesmith.xyz
|
||||||
|
username: lugo
|
||||||
|
key: ${{ secrets.lugo_ssh }}
|
||||||
|
passphrase: ${{ secrets.lugo_pass }}
|
||||||
|
port: 22
|
||||||
|
script: |
|
||||||
|
cd /var/www/lugo
|
||||||
|
git stash
|
||||||
|
git pull --force origin master
|
21
themes/lugo/README.md
Normal file
21
themes/lugo/README.md
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
# Luke's Hugo Theme
|
||||||
|
|
||||||
|
A simple Hugo theme I plan on using for my personal website, [Based.Cooking](https://based.cooking) and [LandChad.net](https://landchad.net).
|
||||||
|
|
||||||
|
## get started
|
||||||
|
|
||||||
|
```sh
|
||||||
|
hugo new site new-site
|
||||||
|
cd new-site
|
||||||
|
git clone https://github.com/lukesmithxyz/lugo themes/lugo
|
||||||
|
echo "theme = 'lugo'" >> config.toml
|
||||||
|
cp themes/lugo/static/style.css static/
|
||||||
|
```
|
||||||
|
|
||||||
|
## stuff
|
||||||
|
|
||||||
|
- Makes one RSS feed for the entire site at `/index.xml`
|
||||||
|
- Stylesheet is in `/style.css` and includes some important stuff for partials.
|
||||||
|
- If a post is tagged, links to the tags are placed at the bottom of the post.
|
||||||
|
- `nextprev.html` adds links to the Next and Previous articles to the bottom of a page.
|
||||||
|
- `taglist.html` links all tags an article is tagged to for related content.
|
6
themes/lugo/archetypes/default.md
Normal file
6
themes/lugo/archetypes/default.md
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
title: "{{ replace .Name "-" " " | title }}"
|
||||||
|
date: {{ .Date }}
|
||||||
|
draft: true
|
||||||
|
---
|
||||||
|
|
17
themes/lugo/config.toml
Normal file
17
themes/lugo/config.toml
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
title = "Website Name"
|
||||||
|
baseURL = 'https://example.org'
|
||||||
|
languageCode = 'en-us'
|
||||||
|
|
||||||
|
[params]
|
||||||
|
# "relatedtext" is the text that appears above the tag list at the bottom of pages.
|
||||||
|
relatedtext = "Related"
|
||||||
|
favicon = "/favicon.ico"
|
||||||
|
|
||||||
|
#list items
|
||||||
|
datesinlist = true
|
||||||
|
authorsinlist = true
|
||||||
|
|
||||||
|
#footer items
|
||||||
|
nextprev = true
|
||||||
|
taglist = true
|
||||||
|
showrss = true
|
36
themes/lugo/layouts/_default/baseof.html
Normal file
36
themes/lugo/layouts/_default/baseof.html
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="{{ .Site.Language }}">
|
||||||
|
<head>
|
||||||
|
<title>{{ if not .IsHome }}{{ .Title | title }} | {{ end }}{{ .Site.Title }}</title>
|
||||||
|
<link rel="canonical" href="{{ .Site.BaseURL }}">
|
||||||
|
<link rel='alternate' type='application/rss+xml' title="{{ .Site.Title }} RSS" href='/index.xml'>
|
||||||
|
<link rel='stylesheet' type='text/css' href='/style.css'>
|
||||||
|
{{ with .Site.Params.favicon }}<link rel="icon" href="{{ . }}">
|
||||||
|
{{ end -}}
|
||||||
|
<meta name="description" content="{{ with .Params.description }}{{ . }}{{ else }}{{ .Summary }}{{ end }}">
|
||||||
|
{{ if isset .Params "tags" }}<meta name="keywords" content="{{ with .Params.tags }}{{ delimit . ", " }}{{ end }}">
|
||||||
|
{{ end -}}
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta name="robots" content="index, follow">
|
||||||
|
<meta charset="utf-8">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
{{ if .Site.Menus.main }}{{ partial "nav.html" . }}{{ end -}}
|
||||||
|
<main>
|
||||||
|
<header><h1 id="tag_{{ .Title }}">{{ block "title" . }}{{ end }}</h1></header>
|
||||||
|
<article>
|
||||||
|
{{ block "main" . }}
|
||||||
|
{{ .Content }}
|
||||||
|
{{ end }}
|
||||||
|
{{ if .Param "nextprev" }}{{ partial "nextprev.html" . -}}{{ end -}}
|
||||||
|
{{ if .Param "taglist" }}{{ partial "taglist.html" . }}{{ end -}}
|
||||||
|
</article>
|
||||||
|
</main>
|
||||||
|
{{ block "footer" . }}
|
||||||
|
<footer>
|
||||||
|
<a href="{{ .Site.BaseURL }}">{{ .Site.BaseURL }}</a>
|
||||||
|
{{- if .Param "showrss" }}<br><br><a href="/index.xml"><img src="/rss.svg" style="max-height:1.5em" alt="RSS Feed" title="Subscribe via RSS for updates."></a>{{ end }}
|
||||||
|
</footer>
|
||||||
|
{{ end }}
|
||||||
|
</body>
|
||||||
|
</html>
|
20
themes/lugo/layouts/_default/list.html
Normal file
20
themes/lugo/layouts/_default/list.html
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
{{ define "title" -}}
|
||||||
|
{{ .Title | title }}
|
||||||
|
{{- end }}
|
||||||
|
{{ define "main" -}}
|
||||||
|
{{ .Content }}
|
||||||
|
<ul>
|
||||||
|
{{- range.Pages }}
|
||||||
|
<li>
|
||||||
|
{{- if .Param "datesinlist" }}<time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Date.Format "2006 Jan 02" }}</time> – {{ end -}}
|
||||||
|
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
||||||
|
{{- if .Param "authorsinlist" }}
|
||||||
|
{{ with .Params.authors }}
|
||||||
|
by
|
||||||
|
{{ delimit . ", " " and " }}
|
||||||
|
{{end}}
|
||||||
|
{{ end -}}
|
||||||
|
</li>
|
||||||
|
{{- end }}
|
||||||
|
</ul>
|
||||||
|
{{- end }}
|
26
themes/lugo/layouts/_default/rss.xml
Normal file
26
themes/lugo/layouts/_default/rss.xml
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||||
|
<channel>
|
||||||
|
<title>{{ .Site.Title }}</title>
|
||||||
|
<link>{{ .Permalink }}</link>
|
||||||
|
<description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}</description>
|
||||||
|
<generator>Hugo -- gohugo.io</generator>{{ with .Site.LanguageCode }}
|
||||||
|
<language>{{.}}</language>{{end}}{{ with .Site.Author.email }}
|
||||||
|
<managingEditor>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</managingEditor>{{end}}{{ with .Site.Author.email }}
|
||||||
|
<webMaster>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</webMaster>{{end}}{{ with .Site.Copyright }}
|
||||||
|
<copyright>{{.}}</copyright>{{end}}{{ if not .Date.IsZero }}
|
||||||
|
<lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }}
|
||||||
|
{{ with .OutputFormats.Get "RSS" }}
|
||||||
|
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
|
||||||
|
{{ end }}
|
||||||
|
{{ range .Site.RegularPages }}
|
||||||
|
<item>
|
||||||
|
<title>{{ .Title }}</title>
|
||||||
|
<link>{{ .Permalink }}</link>
|
||||||
|
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
|
||||||
|
{{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
|
||||||
|
<guid>{{ .Permalink }}</guid>
|
||||||
|
<description>{{- .Content | html -}}</description>
|
||||||
|
</item>
|
||||||
|
{{ end }}
|
||||||
|
</channel>
|
||||||
|
</rss>
|
3
themes/lugo/layouts/_default/single.html
Normal file
3
themes/lugo/layouts/_default/single.html
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{{ define "title" -}}
|
||||||
|
{{ .Title }}
|
||||||
|
{{- end }}
|
8
themes/lugo/layouts/partials/nav.html
Normal file
8
themes/lugo/layouts/partials/nav.html
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
<nav>
|
||||||
|
<ul>
|
||||||
|
{{- $sec := .Page.Section }}{{ $file := .File.TranslationBaseName -}}
|
||||||
|
{{ range.Site.Menus.main.ByWeight }}{{ $base := path.Base .URL }}
|
||||||
|
<li><a {{ if or ( eq $sec $base ) ( eq $file $base ) ( and (eq $sec "") ( eq $file "_index") (eq $base "/") ) }}class="menuactive" {{ end }}href="{{ .URL }}"><span class=pre>{{ .Pre }}</span><span class=menuname>{{ .Name }}</span></a></li>
|
||||||
|
{{- end }}
|
||||||
|
</ul>
|
||||||
|
</nav>
|
10
themes/lugo/layouts/partials/nextprev.html
Normal file
10
themes/lugo/layouts/partials/nextprev.html
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{{ if or .Next .Prev -}}
|
||||||
|
<div id="nextprev">
|
||||||
|
{{- with .Prev }}
|
||||||
|
<a href="{{ .RelPermalink}}"><div id="prevart">Previous:<br>{{.Title}}</div></a>
|
||||||
|
{{ end -}}
|
||||||
|
{{- with .Next -}}
|
||||||
|
<a href="{{ .RelPermalink}}"><div id="nextart">Next:<br>{{.Title}}</div></a>
|
||||||
|
{{ end -}}
|
||||||
|
</div>
|
||||||
|
{{ end -}}
|
13
themes/lugo/layouts/partials/taglist.html
Normal file
13
themes/lugo/layouts/partials/taglist.html
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
{{- if isset .Params "tags" -}}
|
||||||
|
{{- $tagsLen := len .Params.tags -}}
|
||||||
|
{{- if gt $tagsLen 0 -}}
|
||||||
|
<div style="clear:both" class=taglist>
|
||||||
|
{{- with .Site.Params.relatedtext }}{{ . }}<br>{{ end -}}
|
||||||
|
{{- range $k, $v := .Params.tags -}}
|
||||||
|
{{- $url := printf "tags/%s" (. | urlize | lower) -}}
|
||||||
|
<a id="tag_{{ . | lower }}" href="{{ $url | absURL }}">{{ . | title }}</a>
|
||||||
|
{{- if lt $k (sub $tagsLen 1) }} · {{ end -}}
|
||||||
|
{{- end -}}
|
||||||
|
</div>
|
||||||
|
{{- end -}}
|
||||||
|
{{- end }}
|
10
themes/lugo/layouts/shortcodes/hidvid.html
Normal file
10
themes/lugo/layouts/shortcodes/hidvid.html
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<details>
|
||||||
|
<summary>Click to reveal video.</summary>
|
||||||
|
<iframe src="{{ index .Params 0 }}"
|
||||||
|
loading="lazy"
|
||||||
|
sandbox="allow-same-origin allow-scripts allow-popups"
|
||||||
|
allowfullscreen frameborder="0"
|
||||||
|
class="embvid"
|
||||||
|
title="Embedded Video">
|
||||||
|
</iframe>
|
||||||
|
</details>
|
20
themes/lugo/layouts/shortcodes/img.html
Normal file
20
themes/lugo/layouts/shortcodes/img.html
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
<!--
|
||||||
|
class: class of the figure
|
||||||
|
link: url the image directs to
|
||||||
|
alt: alternative text
|
||||||
|
caption: caption
|
||||||
|
mouse: what the image says when moused over ("title" in HTML)
|
||||||
|
-->
|
||||||
|
<figure {{ with .Get "class" }}class="{{.}}"{{ end -}}>
|
||||||
|
{{- with .Get "link"}}<a href="{{.}}">{{ end -}}
|
||||||
|
<img src="{{ .Get "src" }}"
|
||||||
|
{{- with .Get "mouse" }} title="{{.}}"{{ end -}}
|
||||||
|
{{- with .Get "alt" }} alt="{{.}}"{{ end -}}
|
||||||
|
>
|
||||||
|
{{- if .Get "link"}}</a>{{ end -}}
|
||||||
|
{{- with .Get "caption" -}}
|
||||||
|
<figcaption>
|
||||||
|
{{- . -}}
|
||||||
|
</figcaption>
|
||||||
|
{{- end -}}
|
||||||
|
</figure>
|
3
themes/lugo/layouts/shortcodes/tagcloud.html
Normal file
3
themes/lugo/layouts/shortcodes/tagcloud.html
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{{ if isset .Site.Taxonomies "tags" }}{{ if not (eq (len .Site.Taxonomies.tags) 0) }} <ul id="tagcloud">
|
||||||
|
{{ range $name, $items := .Site.Taxonomies.tags }}{{ $url := printf "%s/%s" "tags" ($name | urlize | lower)}}<li><a href="{{ $url | absURL }}" id="tag_{{ $name }}">{{ $name | title }}</a></li>
|
||||||
|
{{ end }}</ul>{{ end }}{{ end }}
|
6
themes/lugo/layouts/shortcodes/vid.html
Normal file
6
themes/lugo/layouts/shortcodes/vid.html
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<iframe src="{{ index .Params 0 }}"
|
||||||
|
loading="lazy"
|
||||||
|
sandbox="allow-same-origin allow-scripts allow-popups"
|
||||||
|
allowfullscreen frameborder="0"
|
||||||
|
title="Embedded Video">
|
||||||
|
</iframe>
|
1
themes/lugo/static/rss.svg
Normal file
1
themes/lugo/static/rss.svg
Normal file
@ -0,0 +1 @@
|
|||||||
|
<?xml version="1.0" encoding="iso-8859-1"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 455.731 455.731" style="enable-background:new 0 0 455.731 455.731;" xml:space="preserve"><g><rect x="0" y="0" style="fill:#F78422;" width="455.731" height="455.731"/><g><path style="fill:#FFFFFF;" d="M296.208,159.16C234.445,97.397,152.266,63.382,64.81,63.382v64.348 c70.268,0,136.288,27.321,185.898,76.931c49.609,49.61,76.931,115.63,76.931,185.898h64.348 C391.986,303.103,357.971,220.923,296.208,159.16z"/><path style="fill:#FFFFFF;" d="M64.143,172.273v64.348c84.881,0,153.938,69.056,153.938,153.939h64.348 C282.429,270.196,184.507,172.273,64.143,172.273z"/><circle style="fill:#FFFFFF;" cx="109.833" cy="346.26" r="46.088"/></g></g></svg>
|
After Width: | Height: | Size: 920 B |
45
themes/lugo/static/style.css
Normal file
45
themes/lugo/static/style.css
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
body {
|
||||||
|
font-family: sans-serif ;
|
||||||
|
background: #110000 ;
|
||||||
|
color: #ccc ;
|
||||||
|
}
|
||||||
|
|
||||||
|
main {
|
||||||
|
max-width: 800px ;
|
||||||
|
margin: auto ;
|
||||||
|
}
|
||||||
|
|
||||||
|
img {
|
||||||
|
max-width: 100% ;
|
||||||
|
}
|
||||||
|
|
||||||
|
header h1 {
|
||||||
|
text-align: center ;
|
||||||
|
}
|
||||||
|
|
||||||
|
footer {
|
||||||
|
text-align: center ;
|
||||||
|
clear: both ;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* For TAGLIST.HTML */
|
||||||
|
.taglist {
|
||||||
|
text-align: center ;
|
||||||
|
clear: both ;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* For NEXTPREV.HTML */
|
||||||
|
#nextprev {
|
||||||
|
/* The container for both the previous and next articles. */
|
||||||
|
}
|
||||||
|
#prevart {
|
||||||
|
float: left ;
|
||||||
|
text-align: left ;
|
||||||
|
}
|
||||||
|
#nextart {
|
||||||
|
float: right ;
|
||||||
|
text-align: right ;
|
||||||
|
}
|
||||||
|
#nextart,#prevart {
|
||||||
|
max-width: 33% ;
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user