@@ -1,6 +1,9 @@
|
|||||||
|
#+OPTIONS: toc:nil
|
||||||
|
|
||||||
* nattopages
|
* nattopages
|
||||||
Pages by natto
|
Pages by natto
|
||||||
|
|
||||||
* License
|
* License
|
||||||
Software code uses the MIT 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.
|
||||||
|
@@ -2,9 +2,9 @@
|
|||||||
title: Contact
|
title: Contact
|
||||||
---
|
---
|
||||||
|
|
||||||
- Email :: [[mailto:natto@weirdnatto.in][natto@weirdnatto.in]]
|
- Email :: [[mailto:natto@weirdnatto.in][natto at weirdnatto dot com]]
|
||||||
[[mailto:singh.amneesh1784@gmail.com][singh.amneesh1784@gmail.com]]
|
[[mailto:singh.amneesh1784@gmail.com][singh dot amneesh1784 at gmail dot com]]
|
||||||
[[mailto:natto1784@protonmail.com][natto1784@protonmail.com]]
|
[[mailto:natto1784@protonmail.com][natto1784 at protonmail dot com]]
|
||||||
- IRC Nicks :: natto
|
- IRC Nicks :: natto
|
||||||
natto17
|
natto17
|
||||||
- LinkedIn :: [[https://www.linkedin.com/in/natto1784/][natto1784]]
|
- LinkedIn :: [[https://www.linkedin.com/in/natto1784/][natto1784]]
|
||||||
|
@@ -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-face {
|
||||||
font-family: 'Monoid Bold';
|
font-family: 'Monoid Bold';
|
||||||
src: url('https://larsenwork.com/monoid/css/Monoid-Bold.eot');
|
src: url('../fonts/Monoid-Bold.eot');
|
||||||
src: url('https://larsenwork.com/monoid/css/Monoid-Bold.eot?#iefix') format('embedded-opentype'),
|
src: url('../fonts/Monoid-Bold-iefix.eot') format('embedded-opentype'),
|
||||||
url('https://larsenwork.com/monoid/css/Monoid-Bold.woff2') format('woff2'),
|
url('../fonts/Monoid-Bold.woff2') format('woff2'),
|
||||||
url('https://larsenwork.com/monoid/css/Monoid-Bold.woff') format('woff'),
|
url('../fonts/Monoid-Bold.woff') format('woff'),
|
||||||
url('https://larsenwork.com/monoid/css/Monoid-Bold.ttf') format('truetype');
|
url('../fonts/Monoid-Bold.ttf') format('truetype');
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
@import url("https://cdn.jsdelivr.net/npm/@xz/fonts@1/serve/cascadia-code.min.css");
|
|
||||||
|
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
--yellow: #b58900;
|
--yellow: #b58900;
|
||||||
@@ -53,6 +65,7 @@ html {
|
|||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
|
font-family: "Oxygen", sans-serif;
|
||||||
font-size: 1.6rem;
|
font-size: 1.6rem;
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
}
|
}
|
||||||
@@ -75,8 +88,13 @@ main a:hover, footer a:hover {
|
|||||||
background: var(--blue);
|
background: var(--blue);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.subdomains li a:hover {
|
||||||
|
background: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
font-family: "Quantico", monospace;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:hover {
|
a:hover {
|
||||||
@@ -120,7 +138,7 @@ h2 {
|
|||||||
.post-preview-item {
|
.post-preview-item {
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
padding: 2rem;
|
padding: 2rem;
|
||||||
border: 0.5rem dotted var(--violet);
|
border: 0.5rem ridge var(--violet);
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-preview-item:not(:last-child) {
|
.post-preview-item:not(:last-child) {
|
||||||
|
BIN
fonts/Monoid-Bold-iefix.eot
Normal file
BIN
fonts/Monoid-Bold-iefix.eot
Normal file
Binary file not shown.
BIN
fonts/Monoid-Bold.eot
Normal file
BIN
fonts/Monoid-Bold.eot
Normal file
Binary file not shown.
BIN
fonts/Monoid-Bold.ttf
Normal file
BIN
fonts/Monoid-Bold.ttf
Normal file
Binary file not shown.
BIN
fonts/Monoid-Bold.woff
Normal file
BIN
fonts/Monoid-Bold.woff
Normal file
Binary file not shown.
BIN
fonts/Monoid-Bold.woff2
Normal file
BIN
fonts/Monoid-Bold.woff2
Normal file
Binary file not shown.
BIN
fonts/Oxygen.woff2
Normal file
BIN
fonts/Oxygen.woff2
Normal file
Binary file not shown.
BIN
fonts/Quantico-Regular.woff
Normal file
BIN
fonts/Quantico-Regular.woff
Normal file
Binary file not shown.
11
posts/2022-05-13-tnn.org
Normal file
11
posts/2022-05-13-tnn.org
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
---
|
||||||
|
title: amaang
|
||||||
|
tags: arebhay
|
||||||
|
---
|
||||||
|
|
||||||
|
crazy frog
|
||||||
|
|
||||||
|
#+BEGIN_EXPORT html
|
||||||
|
<!--more-->
|
||||||
|
#+END_EXPORT
|
||||||
|
Almost
|
@@ -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
|
|
@@ -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
|
|
29
src/site.hs
29
src/site.hs
@@ -2,18 +2,27 @@
|
|||||||
{-# LANGUAGE OverloadedStrings #-}
|
{-# LANGUAGE OverloadedStrings #-}
|
||||||
|
|
||||||
import Data.Functor.Identity (runIdentity)
|
import Data.Functor.Identity (runIdentity)
|
||||||
|
import Data.Maybe (isJust)
|
||||||
import Data.Text (Text)
|
import Data.Text (Text)
|
||||||
import qualified Data.Text as T
|
import qualified Data.Text as T
|
||||||
import Hakyll
|
import Hakyll
|
||||||
import Text.Pandoc (WriterOptions (writerHighlightStyle, writerNumberSections, writerTOCDepth, writerTableOfContents, writerTemplate))
|
import Text.Pandoc (WriterOptions (writerHighlightStyle, writerNumberSections, writerTOCDepth, writerTableOfContents, writerTemplate))
|
||||||
import Text.Pandoc.Templates (Template, compileTemplate)
|
import Text.Pandoc.Templates (Template, compileTemplate)
|
||||||
import Data.Maybe (isJust)
|
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
main :: IO ()
|
main :: IO ()
|
||||||
main = hakyllWith config $ do
|
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
|
route idRoute
|
||||||
compile copyFileCompiler
|
compile copyFileCompiler
|
||||||
|
|
||||||
@@ -87,12 +96,28 @@ main = hakyllWith config $ do
|
|||||||
>>= loadAndApplyTemplate "templates/default.html" indexCtx
|
>>= loadAndApplyTemplate "templates/default.html" indexCtx
|
||||||
>>= relativizeUrls
|
>>= 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
|
match "images/*" $ do
|
||||||
route idRoute
|
route idRoute
|
||||||
compile copyFileCompiler
|
compile copyFileCompiler
|
||||||
|
|
||||||
match "templates/*" $ compile templateBodyCompiler
|
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 :: Configuration
|
||||||
config =
|
config =
|
||||||
defaultConfiguration
|
defaultConfiguration
|
||||||
|
@@ -29,7 +29,8 @@
|
|||||||
<a href="https://git.weirdnatto.in/natto1784/nattopages">Source</a> available under MIT License<br>
|
<a href="https://git.weirdnatto.in/natto1784/nattopages">Source</a> available under MIT License<br>
|
||||||
Site proudly generated by
|
Site proudly generated by
|
||||||
<a href="http://jaspervdj.be/hakyll">Hakyll</a><br>
|
<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;">
|
<ul class="subdomains" style="list-style-type: none;">
|
||||||
$for(subdomains)$
|
$for(subdomains)$
|
||||||
<li style="display: inline-block;">
|
<li style="display: inline-block;">
|
||||||
|
Reference in New Issue
Block a user