aboutsummaryrefslogtreecommitdiffstats
path: root/_includes
diff options
context:
space:
mode:
author2024-06-24 13:36:19 +0530
committer2024-06-24 13:38:02 +0530
commit828b9b153804a0f590522d1f0df0db4eb00e3ed0 (patch)
tree634c1c85356eb40920c85600b4f3785456859266 /_includes
parentCI: Fixed CI (diff)
downloadsudomsg-828b9b153804a0f590522d1f0df0db4eb00e3ed0.tar
sudomsg-828b9b153804a0f590522d1f0df0db4eb00e3ed0.tar.gz
sudomsg-828b9b153804a0f590522d1f0df0db4eb00e3ed0.tar.bz2
sudomsg-828b9b153804a0f590522d1f0df0db4eb00e3ed0.tar.lz
sudomsg-828b9b153804a0f590522d1f0df0db4eb00e3ed0.tar.xz
sudomsg-828b9b153804a0f590522d1f0df0db4eb00e3ed0.tar.zst
sudomsg-828b9b153804a0f590522d1f0df0db4eb00e3ed0.zip
Rearranged the project layout
Diffstat (limited to '_includes')
-rw-r--r--_includes/base.html47
-rw-r--r--_includes/main.css112
-rw-r--r--_includes/page.html9
-rw-r--r--_includes/post.html19
4 files changed, 0 insertions, 187 deletions
diff --git a/_includes/base.html b/_includes/base.html
deleted file mode 100644
index 61df94a..0000000
--- a/_includes/base.html
+++ /dev/null
@@ -1,47 +0,0 @@
----json
-{
-"date": "git Created"
-}
----
-<!doctype html>
-<html :lang="metadata.language">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="color-scheme" content="light dark">
- <meta name="generator" :content="eleventy.generator">
- <title property="og:title" @text="title || metadata.title"></title>
- <meta property="og:locale" :content="metadata.language">
- <meta name="theme-color" :content="metadata.theme">
- <meta name="description" :property="og:description" :content="description || metadata.description">
- <meta property="og:url" :content="htmlBaseUrl(page.url, metadata.url)">
- <link rel="canonical" href="htmlBaseUrl(page.url, metadata.url)">
- <meta property="og:site_name" :content="metadata.title">
- <meta name="author" :content="metadata.author.name">
- <meta property="og:type" content="website">
- <meta name="twitter:card" content="summary">
- <link rel="alternate" href="/atom.xml" type="application/atom+xml" :title="metadata.title">
- <link rel="icon" href="/favicon.svg" type="image/svg+xml">
- <link rel="stylesheet" href="../node_modules/modern-normalize/modern-normalize.css" />
- <link rel="stylesheet" href="../node_modules/prismjs/themes/prism-okaidia.css" />
- <link rel="stylesheet" href="main.css" />
- <link rel="stylesheet" :href="getBundleFileUrl('css')" webc:keep />
-</head>
-
-<body>
- <header>
- <nav>
- <a href="#" style="font-weight: 900;">Sudomsg</a>
- <template webc:for="entry of eleventyNavigation(collections.all)" webc:nokeep>
- <a :href="entry.url" @text="entry.title"></a>
- </template>
- </nav>
- </header>
- <main @html="content"></main>
- <footer>
- Subscribe - <a href="/atom.xml">Atom</a>
- </footer>
-</body>
-
-</html>
diff --git a/_includes/main.css b/_includes/main.css
deleted file mode 100644
index 0f94c46..0000000
--- a/_includes/main.css
+++ /dev/null
@@ -1,112 +0,0 @@
-html {
- accent-color: darkred;
- text-align: justify;
-}
-
-* :any-link {
- color: inherit;
- text-decoration: underline;
-}
-
-aside {
- max-width: max(40%, 12rem);
- background: darkred;
- color: white;
- float: right;
- margin: 1rem;
- padding: 0.5rem;
-}
-
-img,
-svg,
-video,
-canvas,
-audio,
-iframe,
-embed,
-object {
- max-width: 100%;
- width: fit-content;
- padding: 1rem;
- margin: auto;
-}
-
-img,
-svg,
-video,
-canvas {
- height: auto;
-}
-
-picture {
- display: contents;
-}
-
-@media screen {
-
- * :any-link:hover,
- * :any-link:active {
- font-style: italic;
- }
-
- body {
- max-width: min(100dvw, 58rem);
- min-height: 100dvh;
- padding: 0.5rem;
- margin-left: auto;
- margin-right: auto;
- grid-template-columns: 1fr;
- grid-template-rows: auto 1fr auto;
- grid-template-areas:
- 'header'
- 'main'
- 'footer';
- display: grid;
- }
-
- :is(header, footer) {
- padding: 1rem;
- font-weight: bolder;
- background-color: darkred;
- }
-
- :is(header, footer) *:any-link {
- text-decoration: none;
- }
-
- header {
- grid-area: header;
- }
-
- main {
- grid-area: main;
- }
-
- footer {
- align-self: end;
- grid-area: footer;
- }
-
- nav>a {
- margin-right: 0.5rem;
- }
-}
-
-@media print {
-
- header,
- footer {
- display: none;
- }
-
- section,
- table {
- orphans: 4;
- break-inside: auto;
- }
-
- tr {
- break-inside: avoid;
- break-before: auto;
- }
-}
diff --git a/_includes/page.html b/_includes/page.html
deleted file mode 100644
index 2439e37..0000000
--- a/_includes/page.html
+++ /dev/null
@@ -1,9 +0,0 @@
----json
-{
-"layout": "base"
-}
----
-<article>
- <h1 @text="title"></h1>
- <template @html="content" webc:nokeep />
-</article>
diff --git a/_includes/post.html b/_includes/post.html
deleted file mode 100644
index baecde7..0000000
--- a/_includes/post.html
+++ /dev/null
@@ -1,19 +0,0 @@
----json
-{
-"layout": "base"
-}
----
-<article itemscope :itemtype="schema('BlogPosting')">
- <h1 @text="title"></h1>
- <small>
- <time :datetime="htmlDateString(page.date)" itemprop="datePublished"
- @text="readableDate(page.date)"></time>
- - <span itemprop="author" itemscope :itemtype="schema('Person')">
- <a :href="metadata.author.url" rel="author" itemprop="url">
- <span itemprop="name" @text="metadata.author.name"></span>
- </a>
- </span>
- </small>
- <p><small itemprop="abstract" @content="(description"></small></p>
- <div itemprop="articleBody" @html="content" />
-</article>