summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md21
-rwxr-xr-x_default/baseof.html44
-rw-r--r--_default/single.html6
-rw-r--r--content-old/_index.md9
-rw-r--r--hugo.toml21
-rw-r--r--static/style.css33
6 files changed, 27 insertions, 107 deletions
diff --git a/README.md b/README.md
index 7cec74e..1308aa7 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,28 @@
# Theme Name
+Portes
## Features
+Barely any, by design. This theme is meant to be as simple as possible. Most sites I've made with it wind up being under 500KiB.
+However, it does have a couple of very basic shortcodes:
+
+### column(s):
+- Create a column block with `{{% columns %}}`
+- Everything inside of the first `{{% column %}}` will be on the left side,
+and everything within the second will be on the right.
+- I may decide to add support for three or more columns, but only if I need it.
+If you decide to patch it in yourself, feel free to shoot me an email and I'll consider adding it upstream.
+
+### icon:
+- Used to add a clickable icon link
+- `{{< icon src="/[your-icon]" alt="[alt-text]" link="https://example.org/[your-account]" >}} `
## Installation
+`
+cd [your site]/themes
+
+git clone https://git.btkoch.xyz/portes.git/
+`
## Configuration
+The top bar will populate with any pages in the menu "main".
+
diff --git a/_default/baseof.html b/_default/baseof.html
deleted file mode 100755
index 3a2c806..0000000
--- a/_default/baseof.html
+++ /dev/null
@@ -1,44 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="UTF-8">
- <link rel="icon" href="logo.png" width="192" height="192">
- <link rel="preconnect" href="https://fonts.googleapis.com">
- <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
- <link href="https://fonts.googleapis.com/css2?family=Balthazar&display=swap" rel="stylesheet">
- <link rel="stylesheet" href="/style.css">
- {{ $title := site.Title }}
- {{ if not .IsHome }}
- {{ $title = printf "%s | %s" .Title site.Title }}
- {{ end }}
- <title>
- {{ $title }}
- </title>
- </head>
-
-
- <header>
- <img src="/logo.png">
- <div class="topnav">
- {{ partial "menu.html" . }}
- </div>
- <br>
- </header>
-
- <body>
- <div class="box">
- <main>
- {{ block "main" . }}{{ end }}
- </main>
- </div>
- </body>
-
- <body>
- <div class="contact">
- </div>
- </body>
-
- <footer>
- <p>Designed by <a style="color:#174372;" href="https://btkoch.xyz">Kocher Web Styling</a></p>
- </footer>
-</html>
diff --git a/_default/single.html b/_default/single.html
deleted file mode 100644
index c7110a4..0000000
--- a/_default/single.html
+++ /dev/null
@@ -1,6 +0,0 @@
-{{ define "main" }}
-
-<h1><u>{{ .Title }}</u></h1>
-{{ .Content }}
-
-{{ end }}
diff --git a/content-old/_index.md b/content-old/_index.md
deleted file mode 100644
index 652623b..0000000
--- a/content-old/_index.md
+++ /dev/null
@@ -1,9 +0,0 @@
-+++
-title = 'Home'
-date = 2023-01-01T08:00:00-07:00
-draft = false
-+++
-
-Laborum voluptate pariatur ex culpa magna nostrud est incididunt fugiat
-pariatur do dolor ipsum enim. Consequat tempor do dolor eu. Non id id anim anim
-excepteur excepteur pariatur nostrud qui irure ullamco.
diff --git a/hugo.toml b/hugo.toml
index c4b80f5..4eca957 100644
--- a/hugo.toml
+++ b/hugo.toml
@@ -2,22 +2,13 @@ baseURL = 'https://example.org/'
languageCode = 'en-us'
title = 'My New Hugo Site'
-# [[menus.main]]
-# name = 'Home'
-# pageRef = '/'
-# weight = 10
-#
-# [[menus.main]]
-# name = 'Services Offered'
-# pageRef = '/services'
-# weight = 20
-#
-# [[menus.main]]
-# name = 'Contact'
-# pageRef = '/contact'
-# weight = 30
-
[module]
[module.hugoVersion]
extended = false
min = "0.116.0"
+
+
+[markup]
+ [markup.goldmark]
+ [markup.goldmark.renderer]
+ unsafe = true
diff --git a/static/style.css b/static/style.css
index fa1fd6a..613844d 100644
--- a/static/style.css
+++ b/static/style.css
@@ -77,17 +77,6 @@ th, td {
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
-/*
-.column {
- flex: 1;
-}
-
-.row {
- display: flex;
- column-gap: 20px;
-}
-*/
-
.contact {
font-size: 140%;
color: #D9D9D9;
@@ -116,9 +105,7 @@ th, td {
.topnav li a {
color: #174372;
-/* display: block; */
text-align: center;
-/* padding: 14px 16px; */
text-decoration: none;
transform: none;
}
@@ -127,23 +114,3 @@ th, td {
color: #174372;
}
-/* For columns shortcode: */
-.md-columns {
- display: flex;
- flex-wrap: wrap;
- margin-left: -1rem;
- margin-right: -1rem;
-
- div {
- flex: 1 1;
- margin: 1rem 0;
- min-width: 100px;
- max-width: 100%;
- padding: 0 1rem;
- }
-
- .markdown-inner {
- margin-top: 0;
- margin-bottom: 0;
- }
-}