misc changes

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2022-05-21 21:37:00 +05:30
parent 1e71b94f3a
commit 95c9927eaf
15 changed files with 78 additions and 56 deletions

View File

@@ -1,6 +1,9 @@
#+OPTIONS: toc:nil
* nattopages
Pages by natto
* License
Software code uses the MIT license.
All the content under posts/ and images/personal uses the CC BY-NC-SA 4.0 license.
All the content under [[/posts/][/posts]] and [[/images/personal/][/images/personal]] uses the CC BY-NC-SA 4.0 license.

View File

@@ -2,10 +2,10 @@
title: Contact
---
- Email :: [[mailto:natto@weirdnatto.in][natto@weirdnatto.in]]
[[mailto:singh.amneesh1784@gmail.com][singh.amneesh1784@gmail.com]]
[[mailto:natto1784@protonmail.com][natto1784@protonmail.com]]
- IRC Nicks :: natto
- Email :: [[mailto:natto@weirdnatto.in][natto at weirdnatto dot com]]
[[mailto:singh.amneesh1784@gmail.com][singh dot amneesh1784 at gmail dot com]]
[[mailto:natto1784@protonmail.com][natto1784 at protonmail dot com]]
- IRC Nicks :: natto
natto17
- LinkedIn :: [[https://www.linkedin.com/in/natto1784/][natto1784]]
- Discord :: AlpaViraam#0735
- LinkedIn :: [[https://www.linkedin.com/in/natto1784/][natto1784]]
- Discord :: AlpaViraam#0735

View File

@@ -1,16 +1,28 @@
@font-face {
font-family: 'Quantico';
font-style: normal;
font-weight: 400;
src: url('../fonts/Quantico-Regular.woff') format('woff');
}
@font-face {
font-family: 'Oxygen';
font-style: normal;
font-weight: 400;
src: url('../fonts/Oxygen.woff2') format('woff2');
}
@font-face {
font-family: 'Monoid Bold';
src: url('https://larsenwork.com/monoid/css/Monoid-Bold.eot');
src: url('https://larsenwork.com/monoid/css/Monoid-Bold.eot?#iefix') format('embedded-opentype'),
url('https://larsenwork.com/monoid/css/Monoid-Bold.woff2') format('woff2'),
url('https://larsenwork.com/monoid/css/Monoid-Bold.woff') format('woff'),
url('https://larsenwork.com/monoid/css/Monoid-Bold.ttf') format('truetype');
src: url('../fonts/Monoid-Bold.eot');
src: url('../fonts/Monoid-Bold-iefix.eot') format('embedded-opentype'),
url('../fonts/Monoid-Bold.woff2') format('woff2'),
url('../fonts/Monoid-Bold.woff') format('woff'),
url('../fonts/Monoid-Bold.ttf') format('truetype');
font-weight: bold;
font-style: normal;
}
@import url("https://cdn.jsdelivr.net/npm/@xz/fonts@1/serve/cascadia-code.min.css");
:root {
--yellow: #b58900;
@@ -53,6 +65,7 @@ html {
}
body {
font-family: "Oxygen", sans-serif;
font-size: 1.6rem;
word-wrap: break-word;
}
@@ -70,13 +83,18 @@ main a, footer a {
color: var(--blue);
}
main a:hover, footer a:hover {
main a:hover, footer a:hover{
color: var(--light);
background: var(--blue);
}
.subdomains li a:hover {
background: none !important;
}
a {
text-decoration: none;
font-family: "Quantico", monospace;
}
a:hover {
@@ -120,11 +138,11 @@ h2 {
.post-preview-item {
list-style-type: none;
padding: 2rem;
border: 0.5rem dotted var(--violet);
border: 0.5rem ridge var(--violet);
}
.post-preview-item:not(:last-child) {
margin-bottom: 3rem;
margin-bottom: 3rem;
}
.post-title {

BIN
fonts/Monoid-Bold-iefix.eot Normal file

Binary file not shown.

BIN
fonts/Monoid-Bold.eot Normal file

Binary file not shown.

BIN
fonts/Monoid-Bold.ttf Normal file

Binary file not shown.

BIN
fonts/Monoid-Bold.woff Normal file

Binary file not shown.

BIN
fonts/Monoid-Bold.woff2 Normal file

Binary file not shown.

BIN
fonts/Oxygen.woff2 Normal file

Binary file not shown.

BIN
fonts/Quantico-Regular.woff Normal file

Binary file not shown.

11
posts/2022-05-13-tnn.org Normal file
View File

@@ -0,0 +1,11 @@
---
title: amaang
tags: arebhay
---
crazy frog
#+BEGIN_EXPORT html
<!--more-->
#+END_EXPORT
Almost

View File

@@ -1,18 +0,0 @@
---
title: alo
tags: amaang, shararati
enabletoc: true
---
#+OPTIONS: toc:nil
* The
alo, i am a.
#+BEGIN_EXPORT HTML
<!--more-->
#+END_EXPORT
** how
loda hai kya

View File

@@ -1,18 +0,0 @@
---
title: alo
tags: amaang
enabletoc: true
---
#+OPTIONS: toc:nil
* The
alo, i am a.
#+BEGIN_EXPORT HTML
<!--more-->
#+END_EXPORT
** how
loda hai kya

View File

@@ -2,18 +2,27 @@
{-# LANGUAGE OverloadedStrings #-}
import Data.Functor.Identity (runIdentity)
import Data.Maybe (isJust)
import Data.Text (Text)
import qualified Data.Text as T
import Hakyll
import Text.Pandoc (WriterOptions (writerHighlightStyle, writerNumberSections, writerTOCDepth, writerTableOfContents, writerTemplate))
import Text.Pandoc.Templates (Template, compileTemplate)
import Data.Maybe (isJust)
--------------------------------------------------------------------------------
main :: IO ()
main = hakyllWith config $ do
match "images/*" $ do
match "images/logos/*" $ do
route idRoute
compile copyFileCompiler
match "fonts/*" $ do
route idRoute
compile copyFileCompiler
match "sitemap.xml" $ do
route idRoute
compile copyFileCompiler
@@ -87,12 +96,28 @@ main = hakyllWith config $ do
>>= loadAndApplyTemplate "templates/default.html" indexCtx
>>= relativizeUrls
create ["rss.xml"] $ do
route idRoute
compile $ do
let feedCtx = postCtx tags <> bodyField "description"
posts <- fmap (take 10) . recentFirst =<< loadAllSnapshots "posts/*" "content"
renderRss rssFeedConfiguration feedCtx posts
match "images/*" $ do
route idRoute
compile copyFileCompiler
match "templates/*" $ compile templateBodyCompiler
rssFeedConfiguration :: FeedConfiguration
rssFeedConfiguration = FeedConfiguration
{ feedTitle = "nattopages"
, feedDescription = "Pages by natto"
, feedAuthorName = "Amneesh Singh"
, feedAuthorEmail = "natto@weirdnatto.in"
, feedRoot = "https://weirdnatto.in"
}
config :: Configuration
config =
defaultConfiguration

View File

@@ -29,7 +29,8 @@
<a href="https://git.weirdnatto.in/natto1784/nattopages">Source</a> available under MIT License<br>
Site proudly generated by
<a href="http://jaspervdj.be/hakyll">Hakyll</a><br>
53EC 089E F230 E47A 83BA 8F81 9594 9BD4 B853 F559
53EC 089E F230 E47A 83BA 8F81 9594 9BD4 B853 F559<br>
<a href="/rss.xml">RSS 2.0</a>
<ul class="subdomains" style="list-style-type: none;">
$for(subdomains)$
<li style="display: inline-block;">