Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
AthulMuralidhar committed Aug 9, 2024
0 parents commit 44e3e0c
Show file tree
Hide file tree
Showing 38 changed files with 1,126 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "themes/risotto"]
path = themes/risotto
url = https://github.com/joeroe/risotto
Empty file added .hugo_build.lock
Empty file.
5 changes: 5 additions & 0 deletions archetypes/default.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
+++
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
date = {{ .Date }}
draft = true
+++
4 changes: 4 additions & 0 deletions hugo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
baseURL = 'https://example.org/'
languageCode = 'en-us'
title = 'My New Hugo Site'
theme = 'risotto'
102 changes: 102 additions & 0 deletions public/categories/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
<!DOCTYPE html>
<html lang="en">

<head><script src="/livereload.js?mindelay=10&amp;v=2&amp;port=1313&amp;path=livereload" data-no-instant defer></script><title>Categories &ndash; My New Hugo Site</title>


<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="UTF-8"/>



<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css" integrity="sha512-DTOQO9RWCH3ppGqcWaEA1BIZOC6xxalwEsw9c2QQeAIftl+Vegovlnee1c9QX4TctnWMn13TZye+giMm8e2LwA==" crossorigin="anonymous" referrerpolicy="no-referrer" />


<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/academicons/1.9.4/css/academicons.min.css" integrity="sha512-IW0nhlW5MgNydsXJO40En2EoCkTTjZhI3yuODrZIc8cQ4h1XcF53PsqDHa09NqnkXuIe0Oiyyj171BqZFwISBw==" crossorigin="anonymous" referrerpolicy="no-referrer" />


<link rel="stylesheet" href="http://localhost:1313/css/palettes/base16-dark.css">
<link rel="stylesheet" href="http://localhost:1313/css/risotto.css">
<link rel="stylesheet" href="http://localhost:1313/css/custom.css">









<link rel="alternate" type="application/rss+xml" href="http://localhost:1313/categories/index.xml" title="My New Hugo Site">

</head>

<body>
<div class="page">

<header class="page__header"><nav class="page__nav main-nav">
<ul>
<li class="nomarker"><h1 class="page__logo"><a href="http://localhost:1313/" class="page__logo-inner">My New Hugo Site</a></h1></li>


</ul>
</nav>

</header>

<section class="page__body">
<h1 id="categories">Categories</h1>



<ul>

</ul>


</section>

<section class="page__aside">
<div class="aside__about">

<ul class="aside__social-links">

</ul>
</div>
<hr>
<div class="aside__content">


</div>
</section>

<footer class="page__footer"><p>













<br/><span class="active">$ echo $LANG<br/><b></b></span><br/>





</p>
<br /><br />
<p class="copyright"></p>
<p class="advertisement">Powered by <a href="https://gohugo.io/">hugo</a> and <a href="https://github.com/joeroe/risotto">risotto</a>.</p>
</footer>

</div>
</body>

</html>
11 changes: 11 additions & 0 deletions public/categories/index.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Categories on My New Hugo Site</title>
<link>http://localhost:1313/categories/</link>
<description>Recent content in Categories on My New Hugo Site</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<atom:link href="http://localhost:1313/categories/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>
26 changes: 26 additions & 0 deletions public/css/about.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/* About/bio section */
.about__logo {
height: 1.5rem;
}

.about__title {
display: inline;
vertical-align: top;
}

.about__title::before {
content: none;
}

/* Social media links */
.aside__social-links {
padding: 0;
}

.aside__social-links li {
display: inline-block;
}

.aside__social-links li::marker {
content: none;
}
17 changes: 17 additions & 0 deletions public/css/colours.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
:root {
/* Background */
--bg: var(--base00);
--off-bg: var(--base01);
--inner-bg: var(--base02);

/* Text */
--fg: var(--base05);
--off-fg: var(--base04);
--muted: var(--base03);
--link: var(--base0D);
--hover: var(--base0C);
--highlight: var(--base0A);

/* Logo */
--logo: var(--base0B);
}
1 change: 1 addition & 0 deletions public/css/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/* Override this file to customise the theme's CSS for your site */
7 changes: 7 additions & 0 deletions public/css/footer.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.page__footer {
color: var(--off-fg);
}

.page__footer p {
margin: 0;
}
19 changes: 19 additions & 0 deletions public/css/header.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/* Main menu */
.main-nav ul {
display: flex;
flex-flow: row wrap;
justify-content: flex-start;
align-items: center;
margin: 0;
padding: 0;
gap: 0.5rem 2rem;
}

.main-nav li {
text-transform: lowercase;
}

.main-nav li::marker {
content: "./";
}

62 changes: 62 additions & 0 deletions public/css/layout.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
/* 1rem = 16px by default */

.page {
max-width: 64rem;
margin: 1rem auto;
display: grid;
grid-template-areas:
"header"
"body"
"aside"
"footer";
grid-template-columns: minmax(0, 1fr); /* https://css-tricks.com/preventing-a-grid-blowout/ */
grid-row-gap: 2rem;
}

@media (min-width: 45rem) {
.page {
grid-template-areas:
"header header"
"body aside"
"footer footer";
grid-template-columns: minmax(0, 1fr) 15rem;
grid-column-gap: 2rem;
}
}

/* Header */
.page__header {
grid-area: header;
display: flex;
}

.page__logo {
flex-shrink: 0;
}

.page__nav {
flex-grow: 1;
}

/* Body + aside */
.page__body {
grid-area: body;
background-color: var(--off-bg);
box-shadow: 0 0 0 1rem var(--off-bg);
overflow-wrap: break-word;
}

.page__aside {
grid-area: aside;
color: var(--off-fg);
position: sticky;
top: 1rem;
right: 1rem;
overflow-y: auto;
max-height: 95vh;
}

/* Footer */
.page__footer {
grid-area: footer;
}
37 changes: 37 additions & 0 deletions public/css/logo.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
.page__logo {
padding: 0;
margin: 0;
font-weight: inherit;
color: var(--bg);
}

.page__logo:before {
content: none;
}

.page__logo-inner {
display: block;
background: var(--logo);
opacity: 0.90;
padding: 0.25rem;
}

a.page__logo-inner:link, a.page__logo-inner:visited {
color: inherit;
text-decoration: inherit;
}

a.page__logo-inner:hover,
a.page__logo-inner:active {
opacity: 1;
}

.page__logo-inner:before {
content: "[";
color: var(--bg);
}

.page__logo-inner:after {
content: "] $";
color: var(--bg);
}
20 changes: 20 additions & 0 deletions public/css/palettes/apprentice.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/* Apprentice by romainl */

:root {
--base00: #262626;
--base01: #AF5F5F;
--base02: #5F875F;
--base03: #87875F;
--base04: #5F87AF;
--base05: #5F5F87;
--base06: #5F8787;
--base07: #6C6C6C;
--base08: #444444;
--base09: #FF8700;
--base0A: #87AF87;
--base0B: #FFFFAF;
--base0C: #87AFD7;
--base0D: #8787AF;
--base0E: #5FAFAF;
--base0F: #BCBCBC;
}
22 changes: 22 additions & 0 deletions public/css/palettes/base16-dark.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/* base16 default dark
* https://github.com/chriskempson/base16-default-schemes
*/

:root {
--base00: #181818;
--base01: #282828;
--base02: #383838;
--base03: #585858;
--base04: #b8b8b8;
--base05: #d8d8d8;
--base06: #e8e8e8;
--base07: #f8f8f8;
--base08: #ab4642;
--base09: #dc9656;
--base0A: #f7ca88;
--base0B: #a1b56c;
--base0C: #86c1b9;
--base0D: #7cafc2;
--base0E: #ba8baf;
--base0F: #a16946;
}
22 changes: 22 additions & 0 deletions public/css/palettes/base16-light.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/* base16 default light
* https://github.com/chriskempson/base16-default-schemes
*/

:root {
--base00: #f8f8f8;
--base01: #e8e8e8;
--base02: #d8d8d8;
--base03: #b8b8b8;
--base04: #585858;
--base05: #383838;
--base06: #282828;
--base07: #181818;
--base08: #ab4642;
--base09: #dc9656;
--base0A: #f7ca88;
--base0B: #a1b56c;
--base0C: #86c1b9;
--base0D: #7cafc2;
--base0E: #ba8baf;
--base0F: #a16946;
}
20 changes: 20 additions & 0 deletions public/css/palettes/dracula.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/* Dracula by Mike Barkmin (http://github.com/mikebarkmin) based on Dracula Theme (http://github.com/dracula) */

:root {
--base00: #282936;
--base01: #3a3c4e;
--base02: #4d4f68;
--base03: #626483;
--base04: #62d6e8;
--base05: #e9e9f4;
--base06: #f1f2f8;
--base07: #f7f7fb;
--base08: #ea51b2;
--base09: #b45bcf;
--base0A: #00f769;
--base0B: #ebff87;
--base0C: #a1efe4;
--base0D: #62d6e8;
--base0E: #b45bcf;
--base0F: #00f769;
}
Loading

0 comments on commit 44e3e0c

Please sign in to comment.