commit 15a6807518b0a54ddbf89ff265b5617e4263a83d Author: Jens Bech-Sørensen <jens@bechsor.no> Date: Tue May 13 21:59:36 2025 +0200 Initial commit: Hugo site with PaperMod theme diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..1d95c41 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/book"] + path = themes/book + url = https://github.com/alex-shpak/hugo-book diff --git a/compose.yml b/compose.yml new file mode 100644 index 0000000..a513374 --- /dev/null +++ b/compose.yml @@ -0,0 +1,11 @@ +services: + hugo: + image: ghcr.io/gohugoio/hugo:latest # Official Hugo image + container_name: hugo-blog + platform: linux/amd64 # Use emulation for M4 chip + volumes: + - ./site:/src + ports: + - "1313:1313" + command: server -D --bind=0.0.0.0 --source=/src + restart: unless-stopped diff --git a/content/docs/123.md b/content/docs/123.md new file mode 100644 index 0000000..7fe4d5f --- /dev/null +++ b/content/docs/123.md @@ -0,0 +1,15 @@ +--- +title: "Example Page" +weight: 1 +--- + +# Example Documentation + +This is an example page using the Book theme. + +## Features + +- Clean documentation layout +- Sidebar navigation +- Search functionality +- Mobile friendly designdddd diff --git a/content/docs/_index.md b/content/docs/_index.md new file mode 100644 index 0000000..e8516e5 --- /dev/null +++ b/content/docs/_index.md @@ -0,0 +1,8 @@ +--- +title: "Documentation" +weight: 1 +--- + +# Documentation + +Welcome to the documentation section. This demonstrates the Book theme's documentation capabilities. diff --git a/content/docs/example.md b/content/docs/example.md new file mode 100644 index 0000000..d8d37d0 --- /dev/null +++ b/content/docs/example.md @@ -0,0 +1,15 @@ +--- +title: "Example Page" +weight: 1 +--- + +# Example Documentation + +This is an example page using the Book theme. + +## Features + +- Clean documentation layout +- Sidebar navigation +- Search functionality +- Mobile friendly design diff --git a/content/posts/aaa.md b/content/posts/aaa.md new file mode 100644 index 0000000..1d60b70 --- /dev/null +++ b/content/posts/aaa.md @@ -0,0 +1 @@ +ddd diff --git a/content/posts/first-post.md b/content/posts/first-post.md new file mode 100644 index 0000000..2d5bf47 --- /dev/null +++ b/content/posts/first-post.md @@ -0,0 +1,9 @@ +--- +title: "My First Post" +date: 2025-05-13 +draft: false +--- + +# Hello World! + +This is my first blog post using the Book theme. diff --git a/hugo.yaml b/hugo.yaml new file mode 100644 index 0000000..dd29aa9 --- /dev/null +++ b/hugo.yaml @@ -0,0 +1,42 @@ +baseURL: "http://localhost:1313/" +languageCode: "en-us" +title: "My Documentation Site" +theme: "book" + +# Book theme specific parameters +params: + # (Optional) Set to 'true' to mark as draft + # bookDraft: true + + # (Optional) Set this to the section name if section is not root + # bookSection: docs + + # Set source repository location + # Used for 'Last Modified' and 'Edit this page' links + bookRepo: https://github.com/alex-shpak/hugo-book + + # Enable "Edit this page" links for 'doc' type pages + bookEditPath: edit/main/exampleSite/content + + # Configure the date format used on the pages + # In git information + # bookDateFormat: "Jan 2, 2006" + + # Enable search + bookSearch: true + + # Enable comments + # bookComments: true + +# Configure menu +menu: + after: + - name: "GitHub" + url: "https://github.com/alex-shpak/hugo-book" + weight: 10 + +# Required to properly render the Book theme +markup: + goldmark: + renderer: + unsafe: true diff --git a/setup-cross-platform.sh b/setup-cross-platform.sh new file mode 100755 index 0000000..9a6c136 --- /dev/null +++ b/setup-cross-platform.sh @@ -0,0 +1,166 @@ +#!/bin/bash + +# Remove any previous setup to start fresh +rm -rf site +mkdir -p site + +# Create hugo.yaml config file +cat > site/hugo.yaml << EOF +baseURL: "http://localhost:1313/" +languageCode: "en-us" +title: "Jens Bech's Blog" +theme: "PaperMod" + +# Menu items +menu: + main: + - identifier: archive + name: Archive + url: /archive/ + weight: 10 + - identifier: categories + name: Categories + url: /categories/ + weight: 20 + - identifier: tags + name: Tags + url: /tags/ + weight: 30 + - identifier: search + name: Search + url: /search/ + weight: 40 + +# PaperMod theme specific parameters +params: + # Theme appearance + defaultTheme: auto + disableThemeToggle: false + + # Homepage settings + profileMode: + enabled: true + title: "Jens Bech" + subtitle: "Welcome to my minimalist blog" + imageUrl: "/images/profile.jpg" + buttons: + - name: Archive + url: "/archive/" + - name: Categories + url: "/categories/" + - name: Tags + url: "/tags/" + + # Display settings + ShowReadingTime: true + ShowShareButtons: false + ShowPostNavLinks: true + ShowBreadCrumbs: true + ShowCodeCopyButtons: true + hideFooter: false + + # Search settings + fuseOpts: + isCaseSensitive: false + shouldSort: true + location: 0 + distance: 1000 + threshold: 0.4 + minMatchCharLength: 0 + keys: ["title", "permalink", "summary", "content"] +EOF + +# Create theme directory +mkdir -p site/themes +# Clone the PaperMod theme +git clone https://github.com/adityatelange/hugo-PaperMod site/themes/PaperMod + +# Create search page +mkdir -p site/content +cat > site/content/search.md << EOF +--- +title: "Search" +layout: "search" +summary: "search" +--- +EOF + +# Create archive page +cat > site/content/archive.md << EOF +--- +title: "Archive" +layout: "archives" +url: "/archive/" +summary: "archives" +--- +EOF + +# Create example blog posts +mkdir -p site/content/posts + +# Get current date - works on both systems +CURRENT_DATE=$(date +"%Y-%m-%d") + +# Calculate tomorrow's date in a cross-platform way +# First try macOS syntax +if date -v+1d &>/dev/null; then + # macOS date command + TOMORROW=$(date -v+1d +"%Y-%m-%d") +elif date -d "+1 day" &>/dev/null; then + # Linux date command + TOMORROW=$(date -d "+1 day" +"%Y-%m-%d") +else + # Fallback - just use current date for both + TOMORROW=$CURRENT_DATE +fi + +cat > site/content/posts/first-post.md << EOF +--- +title: "My First Post" +date: ${CURRENT_DATE} +draft: false +tags: ["blog", "tech"] +categories: ["personal"] +author: "Jens Bech" +--- + +# Hello World! + +This is my first blog post using the PaperMod theme. It's a clean, elegant theme with great features: + +## Features + +- Light/Dark mode toggle +- Clean design with good typography +- Mobile-friendly interface +- Fast loading times +- Search capability +- Archive view for browsing all posts +EOF + +cat > site/content/posts/second-post.md << EOF +--- +title: "Getting Started with Hugo" +date: ${TOMORROW} +draft: false +tags: ["hugo", "guide"] +categories: ["tutorials"] +author: "Jens Bech" +--- + +# Getting Started with Hugo + +Hugo is an amazing static site generator that makes blogging a breeze! + +## Why Hugo? + +- Blazing fast performance +- Flexible content management +- Simple deployment +- Great theme ecosystem +EOF + +# Create directory for images +mkdir -p site/static/images + +echo "Hugo site with PaperMod theme properly set up! Now run the Docker container." diff --git a/setup-papermod-standard.sh b/setup-papermod-standard.sh new file mode 100755 index 0000000..e8f9c11 --- /dev/null +++ b/setup-papermod-standard.sh @@ -0,0 +1,132 @@ +#!/bin/bash + +# Remove any previous setup to start fresh +rm -rf site +mkdir -p site + +# Create hugo.yaml config file matching the demo image +cat > site/hugo.yaml << EOF +baseURL: "http://localhost:1313/" +languageCode: "en-us" +title: "PaperMod" +theme: "PaperMod" + +# Menu items +menu: + main: + - identifier: archives + name: Archives + url: /archives/ + weight: 10 + - identifier: tags + name: Tags + url: /tags/ + weight: 20 + +# PaperMod theme specific parameters +params: + # Theme appearance + defaultTheme: auto + disableThemeToggle: false + + # Homepage settings - NOT using profileMode (showing list of posts) + homeInfoParams: + Title: "Hi there \U0001F44B" + Content: "Welcome to my blog" + + socialIcons: + - name: twitter + url: "https://twitter.com/" + - name: stackoverflow + url: "https://stackoverflow.com/" + - name: github + url: "https://github.com/" + - name: linkedin + url: "https://linkedin.com/" + - name: cv + url: "https://example.com/" + + # Display settings + ShowReadingTime: true + ShowShareButtons: false + ShowPostNavLinks: true + ShowBreadCrumbs: true + ShowCodeCopyButtons: true + hideFooter: false + + # Search settings + fuseOpts: + isCaseSensitive: false + shouldSort: true + location: 0 + distance: 1000 + threshold: 0.4 + minMatchCharLength: 0 + keys: ["title", "permalink", "summary", "content"] +EOF + +# Create theme directory +mkdir -p site/themes +# Clone the PaperMod theme +git clone https://github.com/adityatelange/hugo-PaperMod site/themes/PaperMod + +# Create archive page +mkdir -p site/content +cat > site/content/archives.md << EOF +--- +title: "Archives" +layout: "archives" +url: "/archives/" +summary: "archives" +--- +EOF + +# Create example blog posts exactly like in the demo +mkdir -p site/content/posts + +# Get current date in YYYY-MM-DD format +CURRENT_DATE=$(date +"%Y-%m-%d") + +cat > site/content/posts/papermod-installation.md << EOF +--- +title: "Papermod - Installation" +date: 2020-09-15 +summary: "Follow this guide to setup hugo and create a new site. Make sure you install latest version of hugo(>=0.57.1). After you have created a new site, at Step 3 follow the steps..." +tags: ["PaperMod"] +author: "Aditya Telange" +--- + +# Papermod - Installation + +Follow this guide to setup hugo and create a new site. Make sure you install latest version of hugo(>=0.57.1). After you have created a new site, at Step 3 follow the steps... +EOF + +cat > site/content/posts/papermod-features.md << EOF +--- +title: "Papermod - Features" +date: 2020-09-16 +summary: "Assets (js/css) The following is enabled by default minification - makes the assets size smallest as possible. bundling - bundles all the styles in one single asset fingerprint/integrity check. Default Theme light/dark..." +tags: ["PaperMod"] +author: "Aditya Telange" +--- + +# Papermod - Features + +Assets (js/css) The following is enabled by default minification - makes the assets size smallest as possible. bundling - bundles all the styles in one single asset fingerprint/integrity check. Default Theme light/dark... +EOF + +cat > site/content/posts/markdown-syntax.md << EOF +--- +title: "Markdown Syntax Guide" +date: 2019-03-11 +summary: "This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme..." +tags: ["markdown", "syntax"] +author: "Hugo Authors" +--- + +# Markdown Syntax Guide + +This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme... +EOF + +echo "Hugo site with PaperMod theme properly set up to match the demo! Now run the Docker container." diff --git a/site/.hugo_build.lock b/site/.hugo_build.lock new file mode 100644 index 0000000..e69de29 diff --git a/site/content/archives.md b/site/content/archives.md new file mode 100644 index 0000000..20e1daa --- /dev/null +++ b/site/content/archives.md @@ -0,0 +1,6 @@ +--- +title: "Archives" +layout: "archives" +url: "/archives/" +summary: "archives" +--- diff --git a/site/content/posts/markdown-syntax.md b/site/content/posts/markdown-syntax.md new file mode 100644 index 0000000..66d4241 --- /dev/null +++ b/site/content/posts/markdown-syntax.md @@ -0,0 +1,11 @@ +--- +title: "Markdown Syntax Guide" +date: 2019-03-11 +summary: "This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme..." +tags: ["markdown", "syntax"] +author: "Hugo Authors" +--- + +# Markdown Syntax Guide + +This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme... diff --git a/site/content/posts/papermod-features.md b/site/content/posts/papermod-features.md new file mode 100644 index 0000000..11cdd63 --- /dev/null +++ b/site/content/posts/papermod-features.md @@ -0,0 +1,11 @@ +--- +title: "Papermod - Features" +date: 2020-09-16 +summary: "Assets (js/css) The following is enabled by default minification - makes the assets size smallest as possible. bundling - bundles all the styles in one single asset fingerprint/integrity check. Default Theme light/dark..." +tags: ["PaperMod"] +author: "Aditya Telange" +--- + +# Papermod - Features + +Assets (js/css) The following is enabled by default minification - makes the assets size smallest as possible. bundling - bundles all the styles in one single asset fingerprint/integrity check. Default Theme light/dark... diff --git a/site/content/posts/papermod-installation.md b/site/content/posts/papermod-installation.md new file mode 100644 index 0000000..d891684 --- /dev/null +++ b/site/content/posts/papermod-installation.md @@ -0,0 +1,11 @@ +--- +title: "Papermod - Installation" +date: 2020-09-15 +summary: "Follow this guide to setup hugo and create a new site. Make sure you install latest version of hugo(>=0.57.1). After you have created a new site, at Step 3 follow the steps..." +tags: ["PaperMod"] +author: "Aditya Telange" +--- + +# Papermod - Installation + +Follow this guide to setup hugo and create a new site. Make sure you install latest version of hugo(>=0.57.1). After you have created a new site, at Step 3 follow the steps... diff --git a/site/hugo.yaml b/site/hugo.yaml new file mode 100644 index 0000000..0166c2c --- /dev/null +++ b/site/hugo.yaml @@ -0,0 +1,57 @@ +baseURL: "http://localhost:1313/" +languageCode: "en-us" +title: "PaperMod" +theme: "PaperMod" + +# Menu items +menu: + main: + - identifier: archives + name: Archives + url: /archives/ + weight: 10 + - identifier: tags + name: Tags + url: /tags/ + weight: 20 + +# PaperMod theme specific parameters +params: + # Theme appearance + defaultTheme: auto + disableThemeToggle: false + + # Homepage settings - NOT using profileMode (showing list of posts) + homeInfoParams: + Title: "Hi there \U0001F44B" + Content: "Welcome to my blog" + + socialIcons: + - name: twitter + url: "https://twitter.com/" + - name: stackoverflow + url: "https://stackoverflow.com/" + - name: github + url: "https://github.com/" + - name: linkedin + url: "https://linkedin.com/" + - name: cv + url: "https://example.com/" + + # Display settings + ShowReadingTime: true + ShowShareButtons: false + ShowPostNavLinks: true + ShowBreadCrumbs: true + ShowCodeCopyButtons: true + hideFooter: false + + # Search settings + fuseOpts: + isCaseSensitive: false + shouldSort: true + location: 0 + distance: 1000 + threshold: 0.4 + minMatchCharLength: 0 + keys: ["title", "permalink", "summary", "content"] diff --git a/site/public/404.html b/site/public/404.html new file mode 100644 index 0000000..88a3b18 --- /dev/null +++ b/site/public/404.html @@ -0,0 +1,189 @@ +<!DOCTYPE html> +<html lang="en" dir="auto"> + +<head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script><meta charset="utf-8"> +<meta http-equiv="X-UA-Compatible" content="IE=edge"> +<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> +<meta name="robots" content="noindex, nofollow"> +<title>404 Page not found | PaperMod</title> +<meta name="keywords" content=""> +<meta name="description" content=""> +<meta name="author" content=""> +<link rel="canonical" href="http://localhost:1313/404.html"> +<link crossorigin="anonymous" href="/assets/css/stylesheet.f49d66caae9ea0fd43f21f29e71a8d3e284517ed770f2aa86fa012953ad3c9ef.css" integrity="sha256-9J1myq6eoP1D8h8p5xqNPihFF+13Dyqob6ASlTrTye8=" rel="preload stylesheet" as="style"> +<link rel="icon" href="http://localhost:1313/favicon.ico"> +<link rel="icon" type="image/png" sizes="16x16" href="http://localhost:1313/favicon-16x16.png"> +<link rel="icon" type="image/png" sizes="32x32" href="http://localhost:1313/favicon-32x32.png"> +<link rel="apple-touch-icon" href="http://localhost:1313/apple-touch-icon.png"> +<link rel="mask-icon" href="http://localhost:1313/safari-pinned-tab.svg"> +<meta name="theme-color" content="#2e2e33"> +<meta name="msapplication-TileColor" content="#2e2e33"> +<link rel="alternate" hreflang="en" href="http://localhost:1313/404.html"> +<noscript> + <style> + #theme-toggle, + .top-link { + display: none; + } + + </style> + <style> + @media (prefers-color-scheme: dark) { + :root { + --theme: rgb(29, 30, 32); + --entry: rgb(46, 46, 51); + --primary: rgb(218, 218, 219); + --secondary: rgb(155, 156, 157); + --tertiary: rgb(65, 66, 68); + --content: rgb(196, 196, 197); + --code-block-bg: rgb(46, 46, 51); + --code-bg: rgb(55, 56, 62); + --border: rgb(51, 51, 51); + } + + .list { + background: var(--theme); + } + + .list:not(.dark)::-webkit-scrollbar-track { + background: 0 0; + } + + .list:not(.dark)::-webkit-scrollbar-thumb { + border-color: var(--theme); + } + } + + </style> +</noscript> +</head> + +<body class="list" id="top"> +<script> + if (localStorage.getItem("pref-theme") === "dark") { + document.body.classList.add('dark'); + } else if (localStorage.getItem("pref-theme") === "light") { + document.body.classList.remove('dark') + } else if (window.matchMedia('(prefers-color-scheme: dark)').matches) { + document.body.classList.add('dark'); + } + +</script> + +<header class="header"> + <nav class="nav"> + <div class="logo"> + <a href="http://localhost:1313/" accesskey="h" title="PaperMod (Alt + H)">PaperMod</a> + <div class="logo-switches"> + <button id="theme-toggle" accesskey="t" title="(Alt + T)" aria-label="Toggle theme"> + <svg id="moon" xmlns="http://www.w3.org/2000/svg" width="24" height="18" viewBox="0 0 24 24" + fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" + stroke-linejoin="round"> + <path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path> + </svg> + <svg id="sun" xmlns="http://www.w3.org/2000/svg" width="24" height="18" viewBox="0 0 24 24" + fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" + stroke-linejoin="round"> + <circle cx="12" cy="12" r="5"></circle> + <line x1="12" y1="1" x2="12" y2="3"></line> + <line x1="12" y1="21" x2="12" y2="23"></line> + <line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line> + <line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line> + <line x1="1" y1="12" x2="3" y2="12"></line> + <line x1="21" y1="12" x2="23" y2="12"></line> + <line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line> + <line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line> + </svg> + </button> + </div> + </div> + <ul id="menu"> + <li> + <a href="http://localhost:1313/archives/" title="Archives"> + <span>Archives</span> + </a> + </li> + <li> + <a href="http://localhost:1313/tags/" title="Tags"> + <span>Tags</span> + </a> + </li> + </ul> + </nav> +</header> +<main class="main"> +<div class="not-found">404</div> + </main> + +<footer class="footer"> + <span>© 2025 <a href="http://localhost:1313/">PaperMod</a></span> · + + <span> + Powered by + <a href="https://gohugo.io/" rel="noopener noreferrer" target="_blank">Hugo</a> & + <a href="https://github.com/adityatelange/hugo-PaperMod/" rel="noopener" target="_blank">PaperMod</a> + </span> +</footer> +<a href="#top" aria-label="go to top" title="Go to Top (Alt + G)" class="top-link" id="top-link" accesskey="g"> + <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 6" fill="currentColor"> + <path d="M12 6H0l6-6z" /> + </svg> +</a> + +<script> + let menu = document.getElementById('menu') + if (menu) { + menu.scrollLeft = localStorage.getItem("menu-scroll-position"); + menu.onscroll = function () { + localStorage.setItem("menu-scroll-position", menu.scrollLeft); + } + } + + document.querySelectorAll('a[href^="#"]').forEach(anchor => { + anchor.addEventListener("click", function (e) { + e.preventDefault(); + var id = this.getAttribute("href").substr(1); + if (!window.matchMedia('(prefers-reduced-motion: reduce)').matches) { + document.querySelector(`[id='${decodeURIComponent(id)}']`).scrollIntoView({ + behavior: "smooth" + }); + } else { + document.querySelector(`[id='${decodeURIComponent(id)}']`).scrollIntoView(); + } + if (id === "top") { + history.replaceState(null, null, " "); + } else { + history.pushState(null, null, `#${id}`); + } + }); + }); + +</script> +<script> + var mybutton = document.getElementById("top-link"); + window.onscroll = function () { + if (document.body.scrollTop > 800 || document.documentElement.scrollTop > 800) { + mybutton.style.visibility = "visible"; + mybutton.style.opacity = "1"; + } else { + mybutton.style.visibility = "hidden"; + mybutton.style.opacity = "0"; + } + }; + +</script> +<script> + document.getElementById("theme-toggle").addEventListener("click", () => { + if (document.body.className.includes("dark")) { + document.body.classList.remove('dark'); + localStorage.setItem("pref-theme", 'light'); + } else { + document.body.classList.add('dark'); + localStorage.setItem("pref-theme", 'dark'); + } + }) + +</script> +</body> + +</html> diff --git a/site/public/archives/index.html b/site/public/archives/index.html new file mode 100644 index 0000000..43072a1 --- /dev/null +++ b/site/public/archives/index.html @@ -0,0 +1,240 @@ +<!DOCTYPE html> +<html lang="en" dir="auto"> + +<head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script><meta charset="utf-8"> +<meta http-equiv="X-UA-Compatible" content="IE=edge"> +<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> +<meta name="robots" content="noindex, nofollow"> +<title>Archives | PaperMod</title> +<meta name="keywords" content=""> +<meta name="description" content="archives"> +<meta name="author" content=""> +<link rel="canonical" href="http://localhost:1313/archives/"> +<link crossorigin="anonymous" href="/assets/css/stylesheet.f49d66caae9ea0fd43f21f29e71a8d3e284517ed770f2aa86fa012953ad3c9ef.css" integrity="sha256-9J1myq6eoP1D8h8p5xqNPihFF+13Dyqob6ASlTrTye8=" rel="preload stylesheet" as="style"> +<link rel="icon" href="http://localhost:1313/favicon.ico"> +<link rel="icon" type="image/png" sizes="16x16" href="http://localhost:1313/favicon-16x16.png"> +<link rel="icon" type="image/png" sizes="32x32" href="http://localhost:1313/favicon-32x32.png"> +<link rel="apple-touch-icon" href="http://localhost:1313/apple-touch-icon.png"> +<link rel="mask-icon" href="http://localhost:1313/safari-pinned-tab.svg"> +<meta name="theme-color" content="#2e2e33"> +<meta name="msapplication-TileColor" content="#2e2e33"> +<link rel="alternate" hreflang="en" href="http://localhost:1313/archives/"> +<noscript> + <style> + #theme-toggle, + .top-link { + display: none; + } + + </style> + <style> + @media (prefers-color-scheme: dark) { + :root { + --theme: rgb(29, 30, 32); + --entry: rgb(46, 46, 51); + --primary: rgb(218, 218, 219); + --secondary: rgb(155, 156, 157); + --tertiary: rgb(65, 66, 68); + --content: rgb(196, 196, 197); + --code-block-bg: rgb(46, 46, 51); + --code-bg: rgb(55, 56, 62); + --border: rgb(51, 51, 51); + } + + .list { + background: var(--theme); + } + + .list:not(.dark)::-webkit-scrollbar-track { + background: 0 0; + } + + .list:not(.dark)::-webkit-scrollbar-thumb { + border-color: var(--theme); + } + } + + </style> +</noscript> +</head> + +<body class="list" id="top"> +<script> + if (localStorage.getItem("pref-theme") === "dark") { + document.body.classList.add('dark'); + } else if (localStorage.getItem("pref-theme") === "light") { + document.body.classList.remove('dark') + } else if (window.matchMedia('(prefers-color-scheme: dark)').matches) { + document.body.classList.add('dark'); + } + +</script> + +<header class="header"> + <nav class="nav"> + <div class="logo"> + <a href="http://localhost:1313/" accesskey="h" title="PaperMod (Alt + H)">PaperMod</a> + <div class="logo-switches"> + <button id="theme-toggle" accesskey="t" title="(Alt + T)" aria-label="Toggle theme"> + <svg id="moon" xmlns="http://www.w3.org/2000/svg" width="24" height="18" viewBox="0 0 24 24" + fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" + stroke-linejoin="round"> + <path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path> + </svg> + <svg id="sun" xmlns="http://www.w3.org/2000/svg" width="24" height="18" viewBox="0 0 24 24" + fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" + stroke-linejoin="round"> + <circle cx="12" cy="12" r="5"></circle> + <line x1="12" y1="1" x2="12" y2="3"></line> + <line x1="12" y1="21" x2="12" y2="23"></line> + <line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line> + <line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line> + <line x1="1" y1="12" x2="3" y2="12"></line> + <line x1="21" y1="12" x2="23" y2="12"></line> + <line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line> + <line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line> + </svg> + </button> + </div> + </div> + <ul id="menu"> + <li> + <a href="http://localhost:1313/archives/" title="Archives"> + <span class="active">Archives</span> + </a> + </li> + <li> + <a href="http://localhost:1313/tags/" title="Tags"> + <span>Tags</span> + </a> + </li> + </ul> + </nav> +</header> +<main class="main"> + +<header class="page-header"> + <h1> + Archives + </h1> +</header> +<div class="archive-year"> + <h2 class="archive-year-header" id="2020"> + <a class="archive-header-link" href="#2020">2020</a> + <sup class="archive-count"> 2</sup> + </h2> + <div class="archive-month"> + <h3 class="archive-month-header" id="2020-September"> + <a class="archive-header-link" href="#2020-September">September</a> + <sup class="archive-count"> 2</sup> + </h3> + <div class="archive-posts"> + <div class="archive-entry"> + <h3 class="archive-entry-title entry-hint-parent">Papermod - Features + </h3> + <div class="archive-meta"><span title='2020-09-16 00:00:00 +0000 UTC'>September 16, 2020</span> · 1 min · Aditya Telange</div> + <a class="entry-link" aria-label="post link to Papermod - Features" href="http://localhost:1313/posts/papermod-features/"></a> + </div> + <div class="archive-entry"> + <h3 class="archive-entry-title entry-hint-parent">Papermod - Installation + </h3> + <div class="archive-meta"><span title='2020-09-15 00:00:00 +0000 UTC'>September 15, 2020</span> · 1 min · Aditya Telange</div> + <a class="entry-link" aria-label="post link to Papermod - Installation" href="http://localhost:1313/posts/papermod-installation/"></a> + </div> + </div> + </div> +</div> +<div class="archive-year"> + <h2 class="archive-year-header" id="2019"> + <a class="archive-header-link" href="#2019">2019</a> + <sup class="archive-count"> 1</sup> + </h2> + <div class="archive-month"> + <h3 class="archive-month-header" id="2019-March"> + <a class="archive-header-link" href="#2019-March">March</a> + <sup class="archive-count"> 1</sup> + </h3> + <div class="archive-posts"> + <div class="archive-entry"> + <h3 class="archive-entry-title entry-hint-parent">Markdown Syntax Guide + </h3> + <div class="archive-meta"><span title='2019-03-11 00:00:00 +0000 UTC'>March 11, 2019</span> · 1 min · Hugo Authors</div> + <a class="entry-link" aria-label="post link to Markdown Syntax Guide" href="http://localhost:1313/posts/markdown-syntax/"></a> + </div> + </div> + </div> +</div> + </main> + +<footer class="footer"> + <span>© 2025 <a href="http://localhost:1313/">PaperMod</a></span> · + + <span> + Powered by + <a href="https://gohugo.io/" rel="noopener noreferrer" target="_blank">Hugo</a> & + <a href="https://github.com/adityatelange/hugo-PaperMod/" rel="noopener" target="_blank">PaperMod</a> + </span> +</footer> +<a href="#top" aria-label="go to top" title="Go to Top (Alt + G)" class="top-link" id="top-link" accesskey="g"> + <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 6" fill="currentColor"> + <path d="M12 6H0l6-6z" /> + </svg> +</a> + +<script> + let menu = document.getElementById('menu') + if (menu) { + menu.scrollLeft = localStorage.getItem("menu-scroll-position"); + menu.onscroll = function () { + localStorage.setItem("menu-scroll-position", menu.scrollLeft); + } + } + + document.querySelectorAll('a[href^="#"]').forEach(anchor => { + anchor.addEventListener("click", function (e) { + e.preventDefault(); + var id = this.getAttribute("href").substr(1); + if (!window.matchMedia('(prefers-reduced-motion: reduce)').matches) { + document.querySelector(`[id='${decodeURIComponent(id)}']`).scrollIntoView({ + behavior: "smooth" + }); + } else { + document.querySelector(`[id='${decodeURIComponent(id)}']`).scrollIntoView(); + } + if (id === "top") { + history.replaceState(null, null, " "); + } else { + history.pushState(null, null, `#${id}`); + } + }); + }); + +</script> +<script> + var mybutton = document.getElementById("top-link"); + window.onscroll = function () { + if (document.body.scrollTop > 800 || document.documentElement.scrollTop > 800) { + mybutton.style.visibility = "visible"; + mybutton.style.opacity = "1"; + } else { + mybutton.style.visibility = "hidden"; + mybutton.style.opacity = "0"; + } + }; + +</script> +<script> + document.getElementById("theme-toggle").addEventListener("click", () => { + if (document.body.className.includes("dark")) { + document.body.classList.remove('dark'); + localStorage.setItem("pref-theme", 'light'); + } else { + document.body.classList.add('dark'); + localStorage.setItem("pref-theme", 'dark'); + } + }) + +</script> +</body> + +</html> diff --git a/site/public/assets/css/stylesheet.f49d66caae9ea0fd43f21f29e71a8d3e284517ed770f2aa86fa012953ad3c9ef.css b/site/public/assets/css/stylesheet.f49d66caae9ea0fd43f21f29e71a8d3e284517ed770f2aa86fa012953ad3c9ef.css new file mode 100644 index 0000000..556387c --- /dev/null +++ b/site/public/assets/css/stylesheet.f49d66caae9ea0fd43f21f29e71a8d3e284517ed770f2aa86fa012953ad3c9ef.css @@ -0,0 +1,7 @@ +/* + PaperMod v8+ + License: MIT https://github.com/adityatelange/hugo-PaperMod/blob/master/LICENSE + Copyright (c) 2020 nanxiaobei and adityatelange + Copyright (c) 2021-2025 adityatelange +*/ +:root{--gap:24px;--content-gap:20px;--nav-width:1024px;--main-width:720px;--header-height:60px;--footer-height:60px;--radius:8px;--theme:rgb(255, 255, 255);--entry:rgb(255, 255, 255);--primary:rgb(30, 30, 30);--secondary:rgb(108, 108, 108);--tertiary:rgb(214, 214, 214);--content:rgb(31, 31, 31);--code-block-bg:rgb(28, 29, 33);--code-bg:rgb(245, 245, 245);--border:rgb(238, 238, 238)}.dark{--theme:rgb(29, 30, 32);--entry:rgb(46, 46, 51);--primary:rgb(218, 218, 219);--secondary:rgb(155, 156, 157);--tertiary:rgb(65, 66, 68);--content:rgb(196, 196, 197);--code-block-bg:rgb(46, 46, 51);--code-bg:rgb(55, 56, 62);--border:rgb(51, 51, 51)}.list{background:var(--code-bg)}.dark.list{background:var(--theme)}*,::after,::before{box-sizing:border-box}html{-webkit-tap-highlight-color:transparent;overflow-y:scroll;-webkit-text-size-adjust:100%;text-size-adjust:100%}a,button,body,h1,h2,h3,h4,h5,h6{color:var(--primary)}body{font-family:-apple-system,BlinkMacSystemFont,segoe ui,Roboto,Oxygen,Ubuntu,Cantarell,open sans,helvetica neue,sans-serif;font-size:18px;line-height:1.6;word-break:break-word;background:var(--theme)}article,aside,figcaption,figure,footer,header,hgroup,main,nav,section,table{display:block}h1,h2,h3,h4,h5,h6{line-height:1.2}h1,h2,h3,h4,h5,h6,p{margin-top:0;margin-bottom:0}ul{padding:0}a{text-decoration:none}body,figure,ul{margin:0}table{width:100%;border-collapse:collapse;border-spacing:0;overflow-x:auto;word-break:keep-all}button,input,textarea{padding:0;font:inherit;background:0 0;border:0}input,textarea{outline:0}button,input[type=button],input[type=submit]{cursor:pointer}input:-webkit-autofill,textarea:-webkit-autofill{box-shadow:0 0 0 50px var(--theme)inset}img{display:block;max-width:100%}.not-found{position:absolute;left:0;right:0;display:flex;align-items:center;justify-content:center;height:80%;font-size:160px;font-weight:700}.archive-posts{width:100%;font-size:16px}.archive-year{margin-top:40px}.archive-year:not(:last-of-type){border-bottom:2px solid var(--border)}.archive-month{display:flex;align-items:flex-start;padding:10px 0}.archive-month-header{margin:25px 0;width:200px}.archive-month:not(:last-of-type){border-bottom:1px solid var(--border)}.archive-entry{position:relative;padding:5px;margin:10px 0}.archive-entry-title{margin:5px 0;font-weight:400}.archive-count,.archive-meta{color:var(--secondary);font-size:14px}.footer,.top-link{font-size:12px;color:var(--secondary)}.footer{max-width:calc(var(--main-width) + var(--gap) * 2);margin:auto;padding:calc((var(--footer-height) - var(--gap))/2)var(--gap);text-align:center;line-height:24px}.footer span{margin-inline-start:1px;margin-inline-end:1px}.footer span:last-child{white-space:nowrap}.footer a{color:inherit;border-bottom:1px solid var(--secondary)}.footer a:hover{border-bottom:1px solid var(--primary)}.top-link{visibility:hidden;position:fixed;bottom:60px;right:30px;z-index:99;background:var(--tertiary);width:42px;height:42px;padding:12px;border-radius:64px;transition:visibility .5s,opacity .8s linear}.top-link,.top-link svg{filter:drop-shadow(0 0 0 var(--theme))}.footer a:hover,.top-link:hover{color:var(--primary)}.top-link:focus,#theme-toggle:focus{outline:0}.nav{display:flex;flex-wrap:wrap;justify-content:space-between;max-width:calc(var(--nav-width) + var(--gap) * 2);margin-inline-start:auto;margin-inline-end:auto;line-height:var(--header-height)}.nav a{display:block}.logo,#menu{display:flex;margin:auto var(--gap)}.logo{flex-wrap:inherit}.logo a{font-size:24px;font-weight:700}.logo a img,.logo a svg{display:inline;vertical-align:middle;pointer-events:none;transform:translate(0,-10%);border-radius:6px;margin-inline-end:8px}button#theme-toggle{font-size:26px;margin:auto 4px}body.dark #moon{vertical-align:middle;display:none}body:not(.dark) #sun{display:none}#menu{list-style:none;word-break:keep-all;overflow-x:auto;white-space:nowrap}#menu li+li{margin-inline-start:var(--gap)}#menu a{font-size:16px}#menu .active{font-weight:500;border-bottom:2px solid}.lang-switch li,.lang-switch ul,.logo-switches{display:inline-flex;margin:auto 4px}.lang-switch{display:flex;flex-wrap:inherit}.lang-switch a{margin:auto 3px;font-size:16px;font-weight:500}.logo-switches{flex-wrap:inherit}.main{position:relative;min-height:calc(100vh - var(--header-height) - var(--footer-height));max-width:calc(var(--main-width) + var(--gap) * 2);margin:auto;padding:var(--gap)}.page-header h1{font-size:40px}.pagination{display:flex}.pagination a{color:var(--theme);font-size:13px;line-height:36px;background:var(--primary);border-radius:calc(36px/2);padding:0 16px}.pagination .next{margin-inline-start:auto}.social-icons a{display:inline-flex;padding:10px}.social-icons a svg{height:26px;width:26px}code{direction:ltr}div.highlight,pre{position:relative}.copy-code{display:none;position:absolute;top:4px;right:4px;color:rgba(255,255,255,.8);background:rgba(78,78,78,.8);border-radius:var(--radius);padding:0 5px;font-size:14px;user-select:none}div.highlight:hover .copy-code,pre:hover .copy-code{display:block}.first-entry{position:relative;display:flex;flex-direction:column;justify-content:center;min-height:320px;margin:var(--gap)0 calc(var(--gap) * 2)}.first-entry .entry-header{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.first-entry .entry-header h1{font-size:34px;line-height:1.3}.first-entry .entry-content{margin:14px 0;font-size:16px;-webkit-line-clamp:3}.first-entry .entry-footer{font-size:14px}.home-info .entry-content{-webkit-line-clamp:unset}.post-entry{position:relative;margin-bottom:var(--gap);padding:var(--gap);background:var(--entry);border-radius:var(--radius);transition:transform .1s;border:1px solid var(--border)}.post-entry:active{transform:scale(.96)}.tag-entry .entry-cover{display:none}.entry-header h2{font-size:24px;line-height:1.3}.entry-content{margin:8px 0;color:var(--secondary);font-size:14px;line-height:1.6;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.entry-footer{color:var(--secondary);font-size:13px}.entry-link{position:absolute;left:0;right:0;top:0;bottom:0}.entry-hint{color:var(--secondary)}.entry-hint-parent{display:flex;justify-content:space-between}.entry-cover{font-size:14px;margin-bottom:var(--gap);text-align:center}.entry-cover img{border-radius:var(--radius);width:100%;height:auto}.entry-cover a{color:var(--secondary);box-shadow:0 1px 0 var(--primary)}.page-header,.post-header{margin:24px auto var(--content-gap)}.post-title{margin-bottom:2px;font-size:40px}.post-description{margin-top:10px;margin-bottom:5px}.post-meta,.breadcrumbs{color:var(--secondary);font-size:14px;display:flex;flex-wrap:wrap}.post-meta .i18n_list li{display:inline-flex;list-style:none;margin:auto 3px;box-shadow:0 1px 0 var(--secondary)}.breadcrumbs a{font-size:16px}.post-content{color:var(--content)}.post-content h3,.post-content h4,.post-content h5,.post-content h6{margin:24px 0 16px}.post-content h1{margin:40px auto 32px;font-size:40px}.post-content h2{margin:32px auto 24px;font-size:32px}.post-content h3{font-size:24px}.post-content h4{font-size:16px}.post-content h5{font-size:14px}.post-content h6{font-size:12px}.post-content a,.toc a:hover{box-shadow:0 1px;box-decoration-break:clone;-webkit-box-decoration-break:clone}.post-content a code{margin:auto 0;border-radius:0;box-shadow:0 -1px 0 var(--primary)inset}.post-content del{text-decoration:line-through}.post-content dl,.post-content ol,.post-content p,.post-content figure,.post-content ul{margin-bottom:var(--content-gap)}.post-content ol,.post-content ul{padding-inline-start:20px}.post-content li{margin-top:5px}.post-content li p{margin-bottom:0}.post-content dl{display:flex;flex-wrap:wrap;margin:0}.post-content dt{width:25%;font-weight:700}.post-content dd{width:75%;margin-inline-start:0;padding-inline-start:10px}.post-content dd~dd,.post-content dt~dt{margin-top:10px}.post-content table{margin-bottom:var(--content-gap)}.post-content table th,.post-content table:not(.highlighttable,.highlight table,.gist .highlight) td{min-width:80px;padding:8px 5px;line-height:1.5;border-bottom:1px solid var(--border)}.post-content table th{text-align:start}.post-content table:not(.highlighttable) td code:only-child{margin:auto 0}.post-content .highlight table{border-radius:var(--radius)}.post-content .highlight:not(table){margin:10px auto;background:var(--code-block-bg)!important;border-radius:var(--radius);direction:ltr}.post-content li>.highlight{margin-inline-end:0}.post-content ul pre{margin-inline-start:calc(var(--gap) * -2)}.post-content .highlight pre{margin:0}.post-content .highlighttable{table-layout:fixed}.post-content .highlighttable td:first-child{width:40px}.post-content .highlighttable td .linenodiv{padding-inline-end:0!important}.post-content .highlighttable td .highlight,.post-content .highlighttable td .linenodiv pre{margin-bottom:0}.post-content code{margin:auto 4px;padding:4px 6px;font-size:.78em;line-height:1.5;background:var(--code-bg);border-radius:2px}.post-content pre code{display:grid;margin:auto 0;padding:10px;color:#d5d5d6;background:var(--code-block-bg)!important;border-radius:var(--radius);overflow-x:auto;word-break:break-all}.post-content blockquote{margin:20px 0;padding:0 14px;border-inline-start:3px solid var(--primary)}.post-content hr{margin:30px 0;height:2px;background:var(--tertiary);border:0}.post-content iframe{max-width:100%}.post-content img{border-radius:4px;margin:1rem 0}.post-content img[src*="#center"]{margin:1rem auto}.post-content figure.align-center{text-align:center}.post-content figure>figcaption{color:var(--primary);font-size:16px;font-weight:700;margin:8px 0 16px}.post-content figure>figcaption>p{color:var(--secondary);font-size:14px;font-weight:400}.toc{margin:0 2px 40px;border:1px solid var(--border);background:var(--code-bg);border-radius:var(--radius);padding:.4em}.dark .toc{background:var(--entry)}.toc details summary{cursor:zoom-in;margin-inline-start:10px;user-select:none}.toc details[open] summary{cursor:zoom-out}.toc .details{display:inline;font-weight:500}.toc .inner{margin:5px 20px 0;padding:0 10px;opacity:.9}.toc li ul{margin-inline-start:var(--gap)}.toc summary:focus{outline:0}.post-footer{margin-top:56px}.post-footer>*{margin-bottom:10px}.post-tags{display:flex;flex-wrap:wrap;gap:10px}.post-tags li{display:inline-block}.post-tags a,.share-buttons,.paginav{border-radius:var(--radius);background:var(--code-bg);border:1px solid var(--border)}.post-tags a{display:block;padding:0 14px;color:var(--secondary);font-size:14px;line-height:34px;background:var(--code-bg)}.post-tags a:hover,.paginav a:hover{background:var(--border)}.share-buttons{padding:10px;display:flex;justify-content:center;overflow-x:auto;gap:10px}.share-buttons li,.share-buttons a{display:inline-flex}.share-buttons a:not(:last-of-type){margin-inline-end:12px}h1:hover .anchor,h2:hover .anchor,h3:hover .anchor,h4:hover .anchor,h5:hover .anchor,h6:hover .anchor{display:inline-flex;color:var(--secondary);margin-inline-start:8px;font-weight:500;user-select:none}.paginav{display:flex;line-height:30px}.paginav a{padding-inline-start:14px;padding-inline-end:14px;border-radius:var(--radius)}.paginav .title{letter-spacing:1px;text-transform:uppercase;font-size:small;color:var(--secondary)}.paginav .prev,.paginav .next{width:50%}.paginav span:hover:not(.title){box-shadow:0 1px}.paginav .next{margin-inline-start:auto;text-align:right}[dir=rtl] .paginav .next{text-align:left}h1>a>svg{display:inline}img.in-text{display:inline;margin:auto}.buttons,.main .profile{display:flex;justify-content:center}.main .profile{align-items:center;min-height:calc(100vh - var(--header-height) - var(--footer-height) - (var(--gap) * 2));text-align:center}.profile .profile_inner{display:flex;flex-direction:column;align-items:center;gap:10px}.profile img{border-radius:50%}.buttons{flex-wrap:wrap;max-width:400px}.button{background:var(--tertiary);border-radius:var(--radius);margin:8px;padding:6px;transition:transform .1s}.button-inner{padding:0 8px}.button:active{transform:scale(.96)}#searchbox input{padding:4px 10px;width:100%;color:var(--primary);font-weight:700;border:2px solid var(--tertiary);border-radius:var(--radius)}#searchbox input:focus{border-color:var(--secondary)}#searchResults li{list-style:none;border-radius:var(--radius);padding:10px;margin:10px 0;position:relative;font-weight:500}#searchResults{margin:10px 0;width:100%}#searchResults li:active{transition:transform .1s;transform:scale(.98)}#searchResults a{position:absolute;width:100%;height:100%;top:0;left:0;outline:none}#searchResults .focus{transform:scale(.98);border:2px solid var(--tertiary)}.terms-tags li{display:inline-block;margin:10px;font-weight:500}.terms-tags a{display:block;padding:3px 10px;background:var(--tertiary);border-radius:6px;transition:transform .1s}.terms-tags a:active{background:var(--tertiary);transform:scale(.96)}.bg{color:#cad3f5;background-color:#24273a}.chroma{color:#cad3f5;background-color:#24273a}.chroma .x{}.chroma .err{color:#ed8796}.chroma .cl{}.chroma .lnlinks{outline:none;text-decoration:none;color:inherit}.chroma .lntd{vertical-align:top;padding:0;margin:0;border:0}.chroma .lntable{border-spacing:0;padding:0;margin:0;border:0}.chroma .hl{background-color:#474733}.chroma .lnt{white-space:pre;-webkit-user-select:none;user-select:none;margin-right:.4em;padding:0 .4em;color:#8087a2}.chroma .ln{white-space:pre;-webkit-user-select:none;user-select:none;margin-right:.4em;padding:0 .4em;color:#8087a2}.chroma .line{display:flex}.chroma .k{color:#c6a0f6}.chroma .kc{color:#f5a97f}.chroma .kd{color:#ed8796}.chroma .kn{color:#8bd5ca}.chroma .kp{color:#c6a0f6}.chroma .kr{color:#c6a0f6}.chroma .kt{color:#ed8796}.chroma .n{}.chroma .na{color:#8aadf4}.chroma .nb{color:#91d7e3}.chroma .bp{color:#91d7e3}.chroma .nc{color:#eed49f}.chroma .no{color:#eed49f}.chroma .nd{color:#8aadf4;font-weight:700}.chroma .ni{color:#8bd5ca}.chroma .ne{color:#f5a97f}.chroma .nf{color:#8aadf4}.chroma .fm{color:#8aadf4}.chroma .nl{color:#91d7e3}.chroma .nn{color:#f5a97f}.chroma .nx{}.chroma .py{color:#f5a97f}.chroma .nt{color:#c6a0f6}.chroma .nv{color:#f4dbd6}.chroma .vc{color:#f4dbd6}.chroma .vg{color:#f4dbd6}.chroma .vi{color:#f4dbd6}.chroma .vm{color:#f4dbd6}.chroma .l{}.chroma .ld{}.chroma .s{color:#a6da95}.chroma .sa{color:#ed8796}.chroma .sb{color:#a6da95}.chroma .sc{color:#a6da95}.chroma .dl{color:#8aadf4}.chroma .sd{color:#6e738d}.chroma .s2{color:#a6da95}.chroma .se{color:#8aadf4}.chroma .sh{color:#6e738d}.chroma .si{color:#a6da95}.chroma .sx{color:#a6da95}.chroma .sr{color:#8bd5ca}.chroma .s1{color:#a6da95}.chroma .ss{color:#a6da95}.chroma .m{color:#f5a97f}.chroma .mb{color:#f5a97f}.chroma .mf{color:#f5a97f}.chroma .mh{color:#f5a97f}.chroma .mi{color:#f5a97f}.chroma .il{color:#f5a97f}.chroma .mo{color:#f5a97f}.chroma .o{color:#91d7e3;font-weight:700}.chroma .ow{color:#91d7e3;font-weight:700}.chroma .p{}.chroma .c{color:#6e738d;font-style:italic}.chroma .ch{color:#6e738d;font-style:italic}.chroma .cm{color:#6e738d;font-style:italic}.chroma .c1{color:#6e738d;font-style:italic}.chroma .cs{color:#6e738d;font-style:italic}.chroma .cp{color:#6e738d;font-style:italic}.chroma .cpf{color:#6e738d;font-weight:700;font-style:italic}.chroma .g{}.chroma .gd{color:#ed8796;background-color:#363a4f}.chroma .ge{font-style:italic}.chroma .gr{color:#ed8796}.chroma .gh{color:#f5a97f;font-weight:700}.chroma .gi{color:#a6da95;background-color:#363a4f}.chroma .go{}.chroma .gp{}.chroma .gs{font-weight:700}.chroma .gu{color:#f5a97f;font-weight:700}.chroma .gt{color:#ed8796}.chroma .gl{text-decoration:underline}.chroma .w{}.chroma{background-color:unset!important}.chroma .hl{display:flex}.chroma .lnt{padding:0 0 0 12px}.highlight pre.chroma code{padding:8px 0}.highlight pre.chroma .line .cl,.chroma .ln{padding:0 10px}.chroma .lntd:last-of-type{width:100%}::-webkit-scrollbar-track{background:0 0}.list:not(.dark)::-webkit-scrollbar-track{background:var(--code-bg)}::-webkit-scrollbar-thumb{background:var(--tertiary);border:5px solid var(--theme);border-radius:var(--radius)}.list:not(.dark)::-webkit-scrollbar-thumb{border:5px solid var(--code-bg)}::-webkit-scrollbar-thumb:hover{background:var(--secondary)}::-webkit-scrollbar:not(.highlighttable,.highlight table,.gist .highlight){background:var(--theme)}.post-content .highlighttable td .highlight pre code::-webkit-scrollbar{display:none}.post-content :not(table) ::-webkit-scrollbar-thumb{border:2px solid var(--code-block-bg);background:#717175}.post-content :not(table) ::-webkit-scrollbar-thumb:hover{background:#a3a3a5}.gist table::-webkit-scrollbar-thumb{border:2px solid #fff;background:#adadad}.gist table::-webkit-scrollbar-thumb:hover{background:#707070}.post-content table::-webkit-scrollbar-thumb{border-width:2px}@media screen and (min-width:768px){::-webkit-scrollbar{width:19px;height:11px}}@media screen and (max-width:768px){:root{--gap:14px}.profile img{transform:scale(.85)}.first-entry{min-height:260px}.archive-month{flex-direction:column}.archive-year{margin-top:20px}.footer{padding:calc((var(--footer-height) - var(--gap) - 10px)/2)var(--gap)}}@media screen and (max-width:900px){.list .top-link{transform:translateY(-5rem)}}@media screen and (max-width:340px){.share-buttons{justify-content:unset}}@media(prefers-reduced-motion){.terms-tags a:active,.button:active,.post-entry:active,.top-link,#searchResults .focus,#searchResults li:active{transform:none}} \ No newline at end of file diff --git a/site/public/categories/index.html b/site/public/categories/index.html new file mode 100644 index 0000000..66524f4 --- /dev/null +++ b/site/public/categories/index.html @@ -0,0 +1,195 @@ +<!DOCTYPE html> +<html lang="en" dir="auto"> + +<head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script><meta charset="utf-8"> +<meta http-equiv="X-UA-Compatible" content="IE=edge"> +<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> +<meta name="robots" content="noindex, nofollow"> +<title>Categories | PaperMod</title> +<meta name="keywords" content=""> +<meta name="description" content=""> +<meta name="author" content=""> +<link rel="canonical" href="http://localhost:1313/categories/"> +<link crossorigin="anonymous" href="/assets/css/stylesheet.f49d66caae9ea0fd43f21f29e71a8d3e284517ed770f2aa86fa012953ad3c9ef.css" integrity="sha256-9J1myq6eoP1D8h8p5xqNPihFF+13Dyqob6ASlTrTye8=" rel="preload stylesheet" as="style"> +<link rel="icon" href="http://localhost:1313/favicon.ico"> +<link rel="icon" type="image/png" sizes="16x16" href="http://localhost:1313/favicon-16x16.png"> +<link rel="icon" type="image/png" sizes="32x32" href="http://localhost:1313/favicon-32x32.png"> +<link rel="apple-touch-icon" href="http://localhost:1313/apple-touch-icon.png"> +<link rel="mask-icon" href="http://localhost:1313/safari-pinned-tab.svg"> +<meta name="theme-color" content="#2e2e33"> +<meta name="msapplication-TileColor" content="#2e2e33"> +<link rel="alternate" type="application/rss+xml" href="http://localhost:1313/categories/index.xml"> +<link rel="alternate" hreflang="en" href="http://localhost:1313/categories/"> +<noscript> + <style> + #theme-toggle, + .top-link { + display: none; + } + + </style> + <style> + @media (prefers-color-scheme: dark) { + :root { + --theme: rgb(29, 30, 32); + --entry: rgb(46, 46, 51); + --primary: rgb(218, 218, 219); + --secondary: rgb(155, 156, 157); + --tertiary: rgb(65, 66, 68); + --content: rgb(196, 196, 197); + --code-block-bg: rgb(46, 46, 51); + --code-bg: rgb(55, 56, 62); + --border: rgb(51, 51, 51); + } + + .list { + background: var(--theme); + } + + .list:not(.dark)::-webkit-scrollbar-track { + background: 0 0; + } + + .list:not(.dark)::-webkit-scrollbar-thumb { + border-color: var(--theme); + } + } + + </style> +</noscript> +</head> + +<body class="list" id="top"> +<script> + if (localStorage.getItem("pref-theme") === "dark") { + document.body.classList.add('dark'); + } else if (localStorage.getItem("pref-theme") === "light") { + document.body.classList.remove('dark') + } else if (window.matchMedia('(prefers-color-scheme: dark)').matches) { + document.body.classList.add('dark'); + } + +</script> + +<header class="header"> + <nav class="nav"> + <div class="logo"> + <a href="http://localhost:1313/" accesskey="h" title="PaperMod (Alt + H)">PaperMod</a> + <div class="logo-switches"> + <button id="theme-toggle" accesskey="t" title="(Alt + T)" aria-label="Toggle theme"> + <svg id="moon" xmlns="http://www.w3.org/2000/svg" width="24" height="18" viewBox="0 0 24 24" + fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" + stroke-linejoin="round"> + <path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path> + </svg> + <svg id="sun" xmlns="http://www.w3.org/2000/svg" width="24" height="18" viewBox="0 0 24 24" + fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" + stroke-linejoin="round"> + <circle cx="12" cy="12" r="5"></circle> + <line x1="12" y1="1" x2="12" y2="3"></line> + <line x1="12" y1="21" x2="12" y2="23"></line> + <line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line> + <line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line> + <line x1="1" y1="12" x2="3" y2="12"></line> + <line x1="21" y1="12" x2="23" y2="12"></line> + <line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line> + <line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line> + </svg> + </button> + </div> + </div> + <ul id="menu"> + <li> + <a href="http://localhost:1313/archives/" title="Archives"> + <span>Archives</span> + </a> + </li> + <li> + <a href="http://localhost:1313/tags/" title="Tags"> + <span>Tags</span> + </a> + </li> + </ul> + </nav> +</header> +<main class="main"> +<header class="page-header"> + <h1>Categories</h1> +</header> + +<ul class="terms-tags"> +</ul> + </main> + +<footer class="footer"> + <span>© 2025 <a href="http://localhost:1313/">PaperMod</a></span> · + + <span> + Powered by + <a href="https://gohugo.io/" rel="noopener noreferrer" target="_blank">Hugo</a> & + <a href="https://github.com/adityatelange/hugo-PaperMod/" rel="noopener" target="_blank">PaperMod</a> + </span> +</footer> +<a href="#top" aria-label="go to top" title="Go to Top (Alt + G)" class="top-link" id="top-link" accesskey="g"> + <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 6" fill="currentColor"> + <path d="M12 6H0l6-6z" /> + </svg> +</a> + +<script> + let menu = document.getElementById('menu') + if (menu) { + menu.scrollLeft = localStorage.getItem("menu-scroll-position"); + menu.onscroll = function () { + localStorage.setItem("menu-scroll-position", menu.scrollLeft); + } + } + + document.querySelectorAll('a[href^="#"]').forEach(anchor => { + anchor.addEventListener("click", function (e) { + e.preventDefault(); + var id = this.getAttribute("href").substr(1); + if (!window.matchMedia('(prefers-reduced-motion: reduce)').matches) { + document.querySelector(`[id='${decodeURIComponent(id)}']`).scrollIntoView({ + behavior: "smooth" + }); + } else { + document.querySelector(`[id='${decodeURIComponent(id)}']`).scrollIntoView(); + } + if (id === "top") { + history.replaceState(null, null, " "); + } else { + history.pushState(null, null, `#${id}`); + } + }); + }); + +</script> +<script> + var mybutton = document.getElementById("top-link"); + window.onscroll = function () { + if (document.body.scrollTop > 800 || document.documentElement.scrollTop > 800) { + mybutton.style.visibility = "visible"; + mybutton.style.opacity = "1"; + } else { + mybutton.style.visibility = "hidden"; + mybutton.style.opacity = "0"; + } + }; + +</script> +<script> + document.getElementById("theme-toggle").addEventListener("click", () => { + if (document.body.className.includes("dark")) { + document.body.classList.remove('dark'); + localStorage.setItem("pref-theme", 'light'); + } else { + document.body.classList.add('dark'); + localStorage.setItem("pref-theme", 'dark'); + } + }) + +</script> +</body> + +</html> diff --git a/site/public/categories/index.xml b/site/public/categories/index.xml new file mode 100644 index 0000000..9d98ea0 --- /dev/null +++ b/site/public/categories/index.xml @@ -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" xmlns:content="http://purl.org/rss/1.0/modules/content/"> + <channel> + <title>Categories on PaperMod</title> + <link>http://localhost:1313/categories/</link> + <description>Recent content in Categories on PaperMod</description> + <generator>Hugo -- 0.147.3</generator> + <language>en-us</language> + <atom:link href="http://localhost:1313/categories/index.xml" rel="self" type="application/rss+xml" /> + </channel> +</rss> diff --git a/site/public/index.html b/site/public/index.html new file mode 100644 index 0000000..cab1bb5 --- /dev/null +++ b/site/public/index.html @@ -0,0 +1,285 @@ +<!DOCTYPE html> +<html lang="en" dir="auto"> + +<head> + <meta name="generator" content="Hugo 0.147.3"><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script><meta charset="utf-8"> +<meta http-equiv="X-UA-Compatible" content="IE=edge"> +<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> +<meta name="robots" content="noindex, nofollow"> +<title>PaperMod</title> + +<meta name="description" content=""> +<meta name="author" content=""> +<link rel="canonical" href="http://localhost:1313/"> +<link crossorigin="anonymous" href="/assets/css/stylesheet.f49d66caae9ea0fd43f21f29e71a8d3e284517ed770f2aa86fa012953ad3c9ef.css" integrity="sha256-9J1myq6eoP1D8h8p5xqNPihFF+13Dyqob6ASlTrTye8=" rel="preload stylesheet" as="style"> +<link rel="icon" href="http://localhost:1313/favicon.ico"> +<link rel="icon" type="image/png" sizes="16x16" href="http://localhost:1313/favicon-16x16.png"> +<link rel="icon" type="image/png" sizes="32x32" href="http://localhost:1313/favicon-32x32.png"> +<link rel="apple-touch-icon" href="http://localhost:1313/apple-touch-icon.png"> +<link rel="mask-icon" href="http://localhost:1313/safari-pinned-tab.svg"> +<meta name="theme-color" content="#2e2e33"> +<meta name="msapplication-TileColor" content="#2e2e33"> +<link rel="alternate" type="application/rss+xml" href="http://localhost:1313/index.xml"> +<link rel="alternate" hreflang="en" href="http://localhost:1313/"> +<noscript> + <style> + #theme-toggle, + .top-link { + display: none; + } + + </style> + <style> + @media (prefers-color-scheme: dark) { + :root { + --theme: rgb(29, 30, 32); + --entry: rgb(46, 46, 51); + --primary: rgb(218, 218, 219); + --secondary: rgb(155, 156, 157); + --tertiary: rgb(65, 66, 68); + --content: rgb(196, 196, 197); + --code-block-bg: rgb(46, 46, 51); + --code-bg: rgb(55, 56, 62); + --border: rgb(51, 51, 51); + } + + .list { + background: var(--theme); + } + + .list:not(.dark)::-webkit-scrollbar-track { + background: 0 0; + } + + .list:not(.dark)::-webkit-scrollbar-thumb { + border-color: var(--theme); + } + } + + </style> +</noscript> +</head> + +<body class="list" id="top"> +<script> + if (localStorage.getItem("pref-theme") === "dark") { + document.body.classList.add('dark'); + } else if (localStorage.getItem("pref-theme") === "light") { + document.body.classList.remove('dark') + } else if (window.matchMedia('(prefers-color-scheme: dark)').matches) { + document.body.classList.add('dark'); + } + +</script> + +<header class="header"> + <nav class="nav"> + <div class="logo"> + <a href="http://localhost:1313/" accesskey="h" title="PaperMod (Alt + H)">PaperMod</a> + <div class="logo-switches"> + <button id="theme-toggle" accesskey="t" title="(Alt + T)" aria-label="Toggle theme"> + <svg id="moon" xmlns="http://www.w3.org/2000/svg" width="24" height="18" viewBox="0 0 24 24" + fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" + stroke-linejoin="round"> + <path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path> + </svg> + <svg id="sun" xmlns="http://www.w3.org/2000/svg" width="24" height="18" viewBox="0 0 24 24" + fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" + stroke-linejoin="round"> + <circle cx="12" cy="12" r="5"></circle> + <line x1="12" y1="1" x2="12" y2="3"></line> + <line x1="12" y1="21" x2="12" y2="23"></line> + <line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line> + <line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line> + <line x1="1" y1="12" x2="3" y2="12"></line> + <line x1="21" y1="12" x2="23" y2="12"></line> + <line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line> + <line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line> + </svg> + </button> + </div> + </div> + <ul id="menu"> + <li> + <a href="http://localhost:1313/archives/" title="Archives"> + <span>Archives</span> + </a> + </li> + <li> + <a href="http://localhost:1313/tags/" title="Tags"> + <span>Tags</span> + </a> + </li> + </ul> + </nav> +</header> +<main class="main"> +<article class="first-entry home-info"> + <header class="entry-header"> + <h1>Hi there 👋</h1> + </header> + <div class="entry-content"> + Welcome to my blog + </div> + <footer class="entry-footer"> + <div class="social-icons" > + <a href="https://twitter.com/" target="_blank" rel="noopener noreferrer me" + title="Twitter"> + <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" + stroke-linecap="round" stroke-linejoin="round"> + <path + d="M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z"> + </path> +</svg> + </a> + <a href="https://stackoverflow.com/" target="_blank" rel="noopener noreferrer me" + title="Stackoverflow"> + <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" + stroke-linecap="round" stroke-linejoin="round"> + <path + d="M2.913 16.041v6.848h17.599v-6.848M7.16 18.696h8.925M7.65 13.937l8.675 1.8M9.214 9.124l8.058 3.758M12.086 4.65l6.849 5.66M15.774 1.111l5.313 7.162" /> +</svg> + </a> + <a href="https://github.com/" target="_blank" rel="noopener noreferrer me" + title="Github"> + <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" + stroke-linecap="round" stroke-linejoin="round"> + <path + d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"> + </path> +</svg> + </a> + <a href="https://linkedin.com/" target="_blank" rel="noopener noreferrer me" + title="Linkedin"> + <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" + stroke-linecap="round" stroke-linejoin="round"> + <path d="M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z"></path> + <rect x="2" y="9" width="4" height="12"></rect> + <circle cx="4" cy="4" r="2"></circle> +</svg> + </a> + <a href="https://example.com/" target="_blank" rel="noopener noreferrer me" + title="Cv"> + <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" + stroke-linecap="round" stroke-linejoin="round"> + <path + d="M4 4v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8.342a2 2 0 0 0-.602-1.43l-4.44-4.342A2 2 0 0 0 13.56 2H6a2 2 0 0 0-2 2z" /> + <path d="M9 13h6" /> + <path d="M9 17h3" /> + <path d="M14 2v4a2 2 0 0 0 2 2h4" /> +</svg> + </a> +</div> + + </footer> +</article> + +<article class="post-entry"> + <header class="entry-header"> + <h2 class="entry-hint-parent">Papermod - Features + </h2> + </header> + <div class="entry-content"> + <p>Assets (js/css) The following is enabled by default minification - makes the assets size smallest as possible. bundling - bundles all the styles in one single asset fingerprint/integrity check. Default Theme light/dark…</p> + </div> + <footer class="entry-footer"><span title='2020-09-16 00:00:00 +0000 UTC'>September 16, 2020</span> · 1 min · Aditya Telange</footer> + <a class="entry-link" aria-label="post link to Papermod - Features" href="http://localhost:1313/posts/papermod-features/"></a> +</article> + +<article class="post-entry"> + <header class="entry-header"> + <h2 class="entry-hint-parent">Papermod - Installation + </h2> + </header> + <div class="entry-content"> + <p>Follow this guide to setup hugo and create a new site. Make sure you install latest version of hugo(>=0.57.1). After you have created a new site, at Step 3 follow the steps…</p> + </div> + <footer class="entry-footer"><span title='2020-09-15 00:00:00 +0000 UTC'>September 15, 2020</span> · 1 min · Aditya Telange</footer> + <a class="entry-link" aria-label="post link to Papermod - Installation" href="http://localhost:1313/posts/papermod-installation/"></a> +</article> + +<article class="post-entry"> + <header class="entry-header"> + <h2 class="entry-hint-parent">Markdown Syntax Guide + </h2> + </header> + <div class="entry-content"> + <p>This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme…</p> + </div> + <footer class="entry-footer"><span title='2019-03-11 00:00:00 +0000 UTC'>March 11, 2019</span> · 1 min · Hugo Authors</footer> + <a class="entry-link" aria-label="post link to Markdown Syntax Guide" href="http://localhost:1313/posts/markdown-syntax/"></a> +</article> + </main> + +<footer class="footer"> + <span>© 2025 <a href="http://localhost:1313/">PaperMod</a></span> · + + <span> + Powered by + <a href="https://gohugo.io/" rel="noopener noreferrer" target="_blank">Hugo</a> & + <a href="https://github.com/adityatelange/hugo-PaperMod/" rel="noopener" target="_blank">PaperMod</a> + </span> +</footer> +<a href="#top" aria-label="go to top" title="Go to Top (Alt + G)" class="top-link" id="top-link" accesskey="g"> + <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 6" fill="currentColor"> + <path d="M12 6H0l6-6z" /> + </svg> +</a> + +<script> + let menu = document.getElementById('menu') + if (menu) { + menu.scrollLeft = localStorage.getItem("menu-scroll-position"); + menu.onscroll = function () { + localStorage.setItem("menu-scroll-position", menu.scrollLeft); + } + } + + document.querySelectorAll('a[href^="#"]').forEach(anchor => { + anchor.addEventListener("click", function (e) { + e.preventDefault(); + var id = this.getAttribute("href").substr(1); + if (!window.matchMedia('(prefers-reduced-motion: reduce)').matches) { + document.querySelector(`[id='${decodeURIComponent(id)}']`).scrollIntoView({ + behavior: "smooth" + }); + } else { + document.querySelector(`[id='${decodeURIComponent(id)}']`).scrollIntoView(); + } + if (id === "top") { + history.replaceState(null, null, " "); + } else { + history.pushState(null, null, `#${id}`); + } + }); + }); + +</script> +<script> + var mybutton = document.getElementById("top-link"); + window.onscroll = function () { + if (document.body.scrollTop > 800 || document.documentElement.scrollTop > 800) { + mybutton.style.visibility = "visible"; + mybutton.style.opacity = "1"; + } else { + mybutton.style.visibility = "hidden"; + mybutton.style.opacity = "0"; + } + }; + +</script> +<script> + document.getElementById("theme-toggle").addEventListener("click", () => { + if (document.body.className.includes("dark")) { + document.body.classList.remove('dark'); + localStorage.setItem("pref-theme", 'light'); + } else { + document.body.classList.add('dark'); + localStorage.setItem("pref-theme", 'dark'); + } + }) + +</script> +</body> + +</html> diff --git a/site/public/index.xml b/site/public/index.xml new file mode 100644 index 0000000..f730649 --- /dev/null +++ b/site/public/index.xml @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="utf-8" standalone="yes"?> +<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"> + <channel> + <title>PaperMod</title> + <link>http://localhost:1313/</link> + <description>Recent content on PaperMod</description> + <generator>Hugo -- 0.147.3</generator> + <language>en-us</language> + <lastBuildDate>Wed, 16 Sep 2020 00:00:00 +0000</lastBuildDate> + <atom:link href="http://localhost:1313/index.xml" rel="self" type="application/rss+xml" /> + <item> + <title>Papermod - Features</title> + <link>http://localhost:1313/posts/papermod-features/</link> + <pubDate>Wed, 16 Sep 2020 00:00:00 +0000</pubDate> + <guid>http://localhost:1313/posts/papermod-features/</guid> + <description>Assets (js/css) The following is enabled by default minification - makes the assets size smallest as possible. bundling - bundles all the styles in one single asset fingerprint/integrity check. Default Theme light/dark&hellip;</description> + </item> + <item> + <title>Papermod - Installation</title> + <link>http://localhost:1313/posts/papermod-installation/</link> + <pubDate>Tue, 15 Sep 2020 00:00:00 +0000</pubDate> + <guid>http://localhost:1313/posts/papermod-installation/</guid> + <description>Follow this guide to setup hugo and create a new site. Make sure you install latest version of hugo(&gt;=0.57.1). After you have created a new site, at Step 3 follow the steps&hellip;</description> + </item> + <item> + <title>Markdown Syntax Guide</title> + <link>http://localhost:1313/posts/markdown-syntax/</link> + <pubDate>Mon, 11 Mar 2019 00:00:00 +0000</pubDate> + <guid>http://localhost:1313/posts/markdown-syntax/</guid> + <description>This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme&hellip;</description> + </item> + </channel> +</rss> diff --git a/site/public/page/1/index.html b/site/public/page/1/index.html new file mode 100644 index 0000000..0e4714b --- /dev/null +++ b/site/public/page/1/index.html @@ -0,0 +1,10 @@ +<!DOCTYPE html> +<html lang="en-us"> + <head> + <title>http://localhost:1313/</title> + <link rel="canonical" href="http://localhost:1313/"> + <meta name="robots" content="noindex"> + <meta charset="utf-8"> + <meta http-equiv="refresh" content="0; url=http://localhost:1313/"> + </head> +</html> diff --git a/site/public/posts/index.html b/site/public/posts/index.html new file mode 100644 index 0000000..b8f97d1 --- /dev/null +++ b/site/public/posts/index.html @@ -0,0 +1,230 @@ +<!DOCTYPE html> +<html lang="en" dir="auto"> + +<head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script><meta charset="utf-8"> +<meta http-equiv="X-UA-Compatible" content="IE=edge"> +<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> +<meta name="robots" content="noindex, nofollow"> +<title>Posts | PaperMod</title> +<meta name="keywords" content=""> +<meta name="description" content="Posts - PaperMod"> +<meta name="author" content=""> +<link rel="canonical" href="http://localhost:1313/posts/"> +<link crossorigin="anonymous" href="/assets/css/stylesheet.f49d66caae9ea0fd43f21f29e71a8d3e284517ed770f2aa86fa012953ad3c9ef.css" integrity="sha256-9J1myq6eoP1D8h8p5xqNPihFF+13Dyqob6ASlTrTye8=" rel="preload stylesheet" as="style"> +<link rel="icon" href="http://localhost:1313/favicon.ico"> +<link rel="icon" type="image/png" sizes="16x16" href="http://localhost:1313/favicon-16x16.png"> +<link rel="icon" type="image/png" sizes="32x32" href="http://localhost:1313/favicon-32x32.png"> +<link rel="apple-touch-icon" href="http://localhost:1313/apple-touch-icon.png"> +<link rel="mask-icon" href="http://localhost:1313/safari-pinned-tab.svg"> +<meta name="theme-color" content="#2e2e33"> +<meta name="msapplication-TileColor" content="#2e2e33"> +<link rel="alternate" type="application/rss+xml" href="http://localhost:1313/posts/index.xml"> +<link rel="alternate" hreflang="en" href="http://localhost:1313/posts/"> +<noscript> + <style> + #theme-toggle, + .top-link { + display: none; + } + + </style> + <style> + @media (prefers-color-scheme: dark) { + :root { + --theme: rgb(29, 30, 32); + --entry: rgb(46, 46, 51); + --primary: rgb(218, 218, 219); + --secondary: rgb(155, 156, 157); + --tertiary: rgb(65, 66, 68); + --content: rgb(196, 196, 197); + --code-block-bg: rgb(46, 46, 51); + --code-bg: rgb(55, 56, 62); + --border: rgb(51, 51, 51); + } + + .list { + background: var(--theme); + } + + .list:not(.dark)::-webkit-scrollbar-track { + background: 0 0; + } + + .list:not(.dark)::-webkit-scrollbar-thumb { + border-color: var(--theme); + } + } + + </style> +</noscript> +</head> + +<body class="list" id="top"> +<script> + if (localStorage.getItem("pref-theme") === "dark") { + document.body.classList.add('dark'); + } else if (localStorage.getItem("pref-theme") === "light") { + document.body.classList.remove('dark') + } else if (window.matchMedia('(prefers-color-scheme: dark)').matches) { + document.body.classList.add('dark'); + } + +</script> + +<header class="header"> + <nav class="nav"> + <div class="logo"> + <a href="http://localhost:1313/" accesskey="h" title="PaperMod (Alt + H)">PaperMod</a> + <div class="logo-switches"> + <button id="theme-toggle" accesskey="t" title="(Alt + T)" aria-label="Toggle theme"> + <svg id="moon" xmlns="http://www.w3.org/2000/svg" width="24" height="18" viewBox="0 0 24 24" + fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" + stroke-linejoin="round"> + <path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path> + </svg> + <svg id="sun" xmlns="http://www.w3.org/2000/svg" width="24" height="18" viewBox="0 0 24 24" + fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" + stroke-linejoin="round"> + <circle cx="12" cy="12" r="5"></circle> + <line x1="12" y1="1" x2="12" y2="3"></line> + <line x1="12" y1="21" x2="12" y2="23"></line> + <line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line> + <line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line> + <line x1="1" y1="12" x2="3" y2="12"></line> + <line x1="21" y1="12" x2="23" y2="12"></line> + <line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line> + <line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line> + </svg> + </button> + </div> + </div> + <ul id="menu"> + <li> + <a href="http://localhost:1313/archives/" title="Archives"> + <span>Archives</span> + </a> + </li> + <li> + <a href="http://localhost:1313/tags/" title="Tags"> + <span>Tags</span> + </a> + </li> + </ul> + </nav> +</header> +<main class="main"> +<header class="page-header"><div class="breadcrumbs"><a href="http://localhost:1313/">Home</a></div> + <h1> + Posts + </h1> +</header> + +<article class="post-entry"> + <header class="entry-header"> + <h2 class="entry-hint-parent">Papermod - Features + </h2> + </header> + <div class="entry-content"> + <p>Assets (js/css) The following is enabled by default minification - makes the assets size smallest as possible. bundling - bundles all the styles in one single asset fingerprint/integrity check. Default Theme light/dark…</p> + </div> + <footer class="entry-footer"><span title='2020-09-16 00:00:00 +0000 UTC'>September 16, 2020</span> · 1 min · Aditya Telange</footer> + <a class="entry-link" aria-label="post link to Papermod - Features" href="http://localhost:1313/posts/papermod-features/"></a> +</article> + +<article class="post-entry"> + <header class="entry-header"> + <h2 class="entry-hint-parent">Papermod - Installation + </h2> + </header> + <div class="entry-content"> + <p>Follow this guide to setup hugo and create a new site. Make sure you install latest version of hugo(>=0.57.1). After you have created a new site, at Step 3 follow the steps…</p> + </div> + <footer class="entry-footer"><span title='2020-09-15 00:00:00 +0000 UTC'>September 15, 2020</span> · 1 min · Aditya Telange</footer> + <a class="entry-link" aria-label="post link to Papermod - Installation" href="http://localhost:1313/posts/papermod-installation/"></a> +</article> + +<article class="post-entry"> + <header class="entry-header"> + <h2 class="entry-hint-parent">Markdown Syntax Guide + </h2> + </header> + <div class="entry-content"> + <p>This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme…</p> + </div> + <footer class="entry-footer"><span title='2019-03-11 00:00:00 +0000 UTC'>March 11, 2019</span> · 1 min · Hugo Authors</footer> + <a class="entry-link" aria-label="post link to Markdown Syntax Guide" href="http://localhost:1313/posts/markdown-syntax/"></a> +</article> + </main> + +<footer class="footer"> + <span>© 2025 <a href="http://localhost:1313/">PaperMod</a></span> · + + <span> + Powered by + <a href="https://gohugo.io/" rel="noopener noreferrer" target="_blank">Hugo</a> & + <a href="https://github.com/adityatelange/hugo-PaperMod/" rel="noopener" target="_blank">PaperMod</a> + </span> +</footer> +<a href="#top" aria-label="go to top" title="Go to Top (Alt + G)" class="top-link" id="top-link" accesskey="g"> + <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 6" fill="currentColor"> + <path d="M12 6H0l6-6z" /> + </svg> +</a> + +<script> + let menu = document.getElementById('menu') + if (menu) { + menu.scrollLeft = localStorage.getItem("menu-scroll-position"); + menu.onscroll = function () { + localStorage.setItem("menu-scroll-position", menu.scrollLeft); + } + } + + document.querySelectorAll('a[href^="#"]').forEach(anchor => { + anchor.addEventListener("click", function (e) { + e.preventDefault(); + var id = this.getAttribute("href").substr(1); + if (!window.matchMedia('(prefers-reduced-motion: reduce)').matches) { + document.querySelector(`[id='${decodeURIComponent(id)}']`).scrollIntoView({ + behavior: "smooth" + }); + } else { + document.querySelector(`[id='${decodeURIComponent(id)}']`).scrollIntoView(); + } + if (id === "top") { + history.replaceState(null, null, " "); + } else { + history.pushState(null, null, `#${id}`); + } + }); + }); + +</script> +<script> + var mybutton = document.getElementById("top-link"); + window.onscroll = function () { + if (document.body.scrollTop > 800 || document.documentElement.scrollTop > 800) { + mybutton.style.visibility = "visible"; + mybutton.style.opacity = "1"; + } else { + mybutton.style.visibility = "hidden"; + mybutton.style.opacity = "0"; + } + }; + +</script> +<script> + document.getElementById("theme-toggle").addEventListener("click", () => { + if (document.body.className.includes("dark")) { + document.body.classList.remove('dark'); + localStorage.setItem("pref-theme", 'light'); + } else { + document.body.classList.add('dark'); + localStorage.setItem("pref-theme", 'dark'); + } + }) + +</script> +</body> + +</html> diff --git a/site/public/posts/index.xml b/site/public/posts/index.xml new file mode 100644 index 0000000..37fbd21 --- /dev/null +++ b/site/public/posts/index.xml @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="utf-8" standalone="yes"?> +<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"> + <channel> + <title>Posts on PaperMod</title> + <link>http://localhost:1313/posts/</link> + <description>Recent content in Posts on PaperMod</description> + <generator>Hugo -- 0.147.3</generator> + <language>en-us</language> + <lastBuildDate>Wed, 16 Sep 2020 00:00:00 +0000</lastBuildDate> + <atom:link href="http://localhost:1313/posts/index.xml" rel="self" type="application/rss+xml" /> + <item> + <title>Papermod - Features</title> + <link>http://localhost:1313/posts/papermod-features/</link> + <pubDate>Wed, 16 Sep 2020 00:00:00 +0000</pubDate> + <guid>http://localhost:1313/posts/papermod-features/</guid> + <description>Assets (js/css) The following is enabled by default minification - makes the assets size smallest as possible. bundling - bundles all the styles in one single asset fingerprint/integrity check. Default Theme light/dark&hellip;</description> + </item> + <item> + <title>Papermod - Installation</title> + <link>http://localhost:1313/posts/papermod-installation/</link> + <pubDate>Tue, 15 Sep 2020 00:00:00 +0000</pubDate> + <guid>http://localhost:1313/posts/papermod-installation/</guid> + <description>Follow this guide to setup hugo and create a new site. Make sure you install latest version of hugo(&gt;=0.57.1). After you have created a new site, at Step 3 follow the steps&hellip;</description> + </item> + <item> + <title>Markdown Syntax Guide</title> + <link>http://localhost:1313/posts/markdown-syntax/</link> + <pubDate>Mon, 11 Mar 2019 00:00:00 +0000</pubDate> + <guid>http://localhost:1313/posts/markdown-syntax/</guid> + <description>This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme&hellip;</description> + </item> + </channel> +</rss> diff --git a/site/public/posts/markdown-syntax/index.html b/site/public/posts/markdown-syntax/index.html new file mode 100644 index 0000000..fd7592d --- /dev/null +++ b/site/public/posts/markdown-syntax/index.html @@ -0,0 +1,267 @@ +<!DOCTYPE html> +<html lang="en" dir="auto"> + +<head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script><meta charset="utf-8"> +<meta http-equiv="X-UA-Compatible" content="IE=edge"> +<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> +<meta name="robots" content="noindex, nofollow"> +<title>Markdown Syntax Guide | PaperMod</title> +<meta name="keywords" content="markdown, syntax"> +<meta name="description" content="This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme…"> +<meta name="author" content="Hugo Authors"> +<link rel="canonical" href="http://localhost:1313/posts/markdown-syntax/"> +<link crossorigin="anonymous" href="/assets/css/stylesheet.f49d66caae9ea0fd43f21f29e71a8d3e284517ed770f2aa86fa012953ad3c9ef.css" integrity="sha256-9J1myq6eoP1D8h8p5xqNPihFF+13Dyqob6ASlTrTye8=" rel="preload stylesheet" as="style"> +<link rel="icon" href="http://localhost:1313/favicon.ico"> +<link rel="icon" type="image/png" sizes="16x16" href="http://localhost:1313/favicon-16x16.png"> +<link rel="icon" type="image/png" sizes="32x32" href="http://localhost:1313/favicon-32x32.png"> +<link rel="apple-touch-icon" href="http://localhost:1313/apple-touch-icon.png"> +<link rel="mask-icon" href="http://localhost:1313/safari-pinned-tab.svg"> +<meta name="theme-color" content="#2e2e33"> +<meta name="msapplication-TileColor" content="#2e2e33"> +<link rel="alternate" hreflang="en" href="http://localhost:1313/posts/markdown-syntax/"> +<noscript> + <style> + #theme-toggle, + .top-link { + display: none; + } + + </style> + <style> + @media (prefers-color-scheme: dark) { + :root { + --theme: rgb(29, 30, 32); + --entry: rgb(46, 46, 51); + --primary: rgb(218, 218, 219); + --secondary: rgb(155, 156, 157); + --tertiary: rgb(65, 66, 68); + --content: rgb(196, 196, 197); + --code-block-bg: rgb(46, 46, 51); + --code-bg: rgb(55, 56, 62); + --border: rgb(51, 51, 51); + } + + .list { + background: var(--theme); + } + + .list:not(.dark)::-webkit-scrollbar-track { + background: 0 0; + } + + .list:not(.dark)::-webkit-scrollbar-thumb { + border-color: var(--theme); + } + } + + </style> +</noscript> +</head> + +<body class="" id="top"> +<script> + if (localStorage.getItem("pref-theme") === "dark") { + document.body.classList.add('dark'); + } else if (localStorage.getItem("pref-theme") === "light") { + document.body.classList.remove('dark') + } else if (window.matchMedia('(prefers-color-scheme: dark)').matches) { + document.body.classList.add('dark'); + } + +</script> + +<header class="header"> + <nav class="nav"> + <div class="logo"> + <a href="http://localhost:1313/" accesskey="h" title="PaperMod (Alt + H)">PaperMod</a> + <div class="logo-switches"> + <button id="theme-toggle" accesskey="t" title="(Alt + T)" aria-label="Toggle theme"> + <svg id="moon" xmlns="http://www.w3.org/2000/svg" width="24" height="18" viewBox="0 0 24 24" + fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" + stroke-linejoin="round"> + <path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path> + </svg> + <svg id="sun" xmlns="http://www.w3.org/2000/svg" width="24" height="18" viewBox="0 0 24 24" + fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" + stroke-linejoin="round"> + <circle cx="12" cy="12" r="5"></circle> + <line x1="12" y1="1" x2="12" y2="3"></line> + <line x1="12" y1="21" x2="12" y2="23"></line> + <line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line> + <line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line> + <line x1="1" y1="12" x2="3" y2="12"></line> + <line x1="21" y1="12" x2="23" y2="12"></line> + <line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line> + <line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line> + </svg> + </button> + </div> + </div> + <ul id="menu"> + <li> + <a href="http://localhost:1313/archives/" title="Archives"> + <span>Archives</span> + </a> + </li> + <li> + <a href="http://localhost:1313/tags/" title="Tags"> + <span>Tags</span> + </a> + </li> + </ul> + </nav> +</header> +<main class="main"> + +<article class="post-single"> + <header class="post-header"> + <div class="breadcrumbs"><a href="http://localhost:1313/">Home</a> » <a href="http://localhost:1313/posts/">Posts</a></div> + <h1 class="post-title entry-hint-parent"> + Markdown Syntax Guide + </h1> + <div class="post-meta"><span title='2019-03-11 00:00:00 +0000 UTC'>March 11, 2019</span> · 1 min · Hugo Authors + +</div> + </header> + <div class="post-content"><h1 id="markdown-syntax-guide">Markdown Syntax Guide<a hidden class="anchor" aria-hidden="true" href="#markdown-syntax-guide">#</a></h1> +<p>This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme…</p> + + + </div> + + <footer class="post-footer"> + <ul class="post-tags"> + <li><a href="http://localhost:1313/tags/markdown/">Markdown</a></li> + <li><a href="http://localhost:1313/tags/syntax/">Syntax</a></li> + </ul> +<nav class="paginav"> + <a class="prev" href="http://localhost:1313/posts/papermod-installation/"> + <span class="title">« Prev</span> + <br> + <span>Papermod - Installation</span> + </a> +</nav> + + </footer> +</article> + </main> + +<footer class="footer"> + <span>© 2025 <a href="http://localhost:1313/">PaperMod</a></span> · + + <span> + Powered by + <a href="https://gohugo.io/" rel="noopener noreferrer" target="_blank">Hugo</a> & + <a href="https://github.com/adityatelange/hugo-PaperMod/" rel="noopener" target="_blank">PaperMod</a> + </span> +</footer> +<a href="#top" aria-label="go to top" title="Go to Top (Alt + G)" class="top-link" id="top-link" accesskey="g"> + <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 6" fill="currentColor"> + <path d="M12 6H0l6-6z" /> + </svg> +</a> + +<script> + let menu = document.getElementById('menu') + if (menu) { + menu.scrollLeft = localStorage.getItem("menu-scroll-position"); + menu.onscroll = function () { + localStorage.setItem("menu-scroll-position", menu.scrollLeft); + } + } + + document.querySelectorAll('a[href^="#"]').forEach(anchor => { + anchor.addEventListener("click", function (e) { + e.preventDefault(); + var id = this.getAttribute("href").substr(1); + if (!window.matchMedia('(prefers-reduced-motion: reduce)').matches) { + document.querySelector(`[id='${decodeURIComponent(id)}']`).scrollIntoView({ + behavior: "smooth" + }); + } else { + document.querySelector(`[id='${decodeURIComponent(id)}']`).scrollIntoView(); + } + if (id === "top") { + history.replaceState(null, null, " "); + } else { + history.pushState(null, null, `#${id}`); + } + }); + }); + +</script> +<script> + var mybutton = document.getElementById("top-link"); + window.onscroll = function () { + if (document.body.scrollTop > 800 || document.documentElement.scrollTop > 800) { + mybutton.style.visibility = "visible"; + mybutton.style.opacity = "1"; + } else { + mybutton.style.visibility = "hidden"; + mybutton.style.opacity = "0"; + } + }; + +</script> +<script> + document.getElementById("theme-toggle").addEventListener("click", () => { + if (document.body.className.includes("dark")) { + document.body.classList.remove('dark'); + localStorage.setItem("pref-theme", 'light'); + } else { + document.body.classList.add('dark'); + localStorage.setItem("pref-theme", 'dark'); + } + }) + +</script> +<script> + document.querySelectorAll('pre > code').forEach((codeblock) => { + const container = codeblock.parentNode.parentNode; + + const copybutton = document.createElement('button'); + copybutton.classList.add('copy-code'); + copybutton.innerHTML = 'copy'; + + function copyingDone() { + copybutton.innerHTML = 'copied!'; + setTimeout(() => { + copybutton.innerHTML = 'copy'; + }, 2000); + } + + copybutton.addEventListener('click', (cb) => { + if ('clipboard' in navigator) { + navigator.clipboard.writeText(codeblock.textContent); + copyingDone(); + return; + } + + const range = document.createRange(); + range.selectNodeContents(codeblock); + const selection = window.getSelection(); + selection.removeAllRanges(); + selection.addRange(range); + try { + document.execCommand('copy'); + copyingDone(); + } catch (e) { }; + selection.removeRange(range); + }); + + if (container.classList.contains("highlight")) { + container.appendChild(copybutton); + } else if (container.parentNode.firstChild == container) { + + } else if (codeblock.parentNode.parentNode.parentNode.parentNode.parentNode.nodeName == "TABLE") { + + codeblock.parentNode.parentNode.parentNode.parentNode.parentNode.appendChild(copybutton); + } else { + + codeblock.parentNode.appendChild(copybutton); + } + }); +</script> +</body> + +</html> diff --git a/site/public/posts/page/1/index.html b/site/public/posts/page/1/index.html new file mode 100644 index 0000000..ac9cba2 --- /dev/null +++ b/site/public/posts/page/1/index.html @@ -0,0 +1,10 @@ +<!DOCTYPE html> +<html lang="en-us"> + <head> + <title>http://localhost:1313/posts/</title> + <link rel="canonical" href="http://localhost:1313/posts/"> + <meta name="robots" content="noindex"> + <meta charset="utf-8"> + <meta http-equiv="refresh" content="0; url=http://localhost:1313/posts/"> + </head> +</html> diff --git a/site/public/posts/papermod-features/index.html b/site/public/posts/papermod-features/index.html new file mode 100644 index 0000000..ed26ab9 --- /dev/null +++ b/site/public/posts/papermod-features/index.html @@ -0,0 +1,266 @@ +<!DOCTYPE html> +<html lang="en" dir="auto"> + +<head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script><meta charset="utf-8"> +<meta http-equiv="X-UA-Compatible" content="IE=edge"> +<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> +<meta name="robots" content="noindex, nofollow"> +<title>Papermod - Features | PaperMod</title> +<meta name="keywords" content="PaperMod"> +<meta name="description" content="Assets (js/css) The following is enabled by default minification - makes the assets size smallest as possible. bundling - bundles all the styles in one single asset fingerprint/integrity check. Default Theme light/dark…"> +<meta name="author" content="Aditya Telange"> +<link rel="canonical" href="http://localhost:1313/posts/papermod-features/"> +<link crossorigin="anonymous" href="/assets/css/stylesheet.f49d66caae9ea0fd43f21f29e71a8d3e284517ed770f2aa86fa012953ad3c9ef.css" integrity="sha256-9J1myq6eoP1D8h8p5xqNPihFF+13Dyqob6ASlTrTye8=" rel="preload stylesheet" as="style"> +<link rel="icon" href="http://localhost:1313/favicon.ico"> +<link rel="icon" type="image/png" sizes="16x16" href="http://localhost:1313/favicon-16x16.png"> +<link rel="icon" type="image/png" sizes="32x32" href="http://localhost:1313/favicon-32x32.png"> +<link rel="apple-touch-icon" href="http://localhost:1313/apple-touch-icon.png"> +<link rel="mask-icon" href="http://localhost:1313/safari-pinned-tab.svg"> +<meta name="theme-color" content="#2e2e33"> +<meta name="msapplication-TileColor" content="#2e2e33"> +<link rel="alternate" hreflang="en" href="http://localhost:1313/posts/papermod-features/"> +<noscript> + <style> + #theme-toggle, + .top-link { + display: none; + } + + </style> + <style> + @media (prefers-color-scheme: dark) { + :root { + --theme: rgb(29, 30, 32); + --entry: rgb(46, 46, 51); + --primary: rgb(218, 218, 219); + --secondary: rgb(155, 156, 157); + --tertiary: rgb(65, 66, 68); + --content: rgb(196, 196, 197); + --code-block-bg: rgb(46, 46, 51); + --code-bg: rgb(55, 56, 62); + --border: rgb(51, 51, 51); + } + + .list { + background: var(--theme); + } + + .list:not(.dark)::-webkit-scrollbar-track { + background: 0 0; + } + + .list:not(.dark)::-webkit-scrollbar-thumb { + border-color: var(--theme); + } + } + + </style> +</noscript> +</head> + +<body class="" id="top"> +<script> + if (localStorage.getItem("pref-theme") === "dark") { + document.body.classList.add('dark'); + } else if (localStorage.getItem("pref-theme") === "light") { + document.body.classList.remove('dark') + } else if (window.matchMedia('(prefers-color-scheme: dark)').matches) { + document.body.classList.add('dark'); + } + +</script> + +<header class="header"> + <nav class="nav"> + <div class="logo"> + <a href="http://localhost:1313/" accesskey="h" title="PaperMod (Alt + H)">PaperMod</a> + <div class="logo-switches"> + <button id="theme-toggle" accesskey="t" title="(Alt + T)" aria-label="Toggle theme"> + <svg id="moon" xmlns="http://www.w3.org/2000/svg" width="24" height="18" viewBox="0 0 24 24" + fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" + stroke-linejoin="round"> + <path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path> + </svg> + <svg id="sun" xmlns="http://www.w3.org/2000/svg" width="24" height="18" viewBox="0 0 24 24" + fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" + stroke-linejoin="round"> + <circle cx="12" cy="12" r="5"></circle> + <line x1="12" y1="1" x2="12" y2="3"></line> + <line x1="12" y1="21" x2="12" y2="23"></line> + <line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line> + <line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line> + <line x1="1" y1="12" x2="3" y2="12"></line> + <line x1="21" y1="12" x2="23" y2="12"></line> + <line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line> + <line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line> + </svg> + </button> + </div> + </div> + <ul id="menu"> + <li> + <a href="http://localhost:1313/archives/" title="Archives"> + <span>Archives</span> + </a> + </li> + <li> + <a href="http://localhost:1313/tags/" title="Tags"> + <span>Tags</span> + </a> + </li> + </ul> + </nav> +</header> +<main class="main"> + +<article class="post-single"> + <header class="post-header"> + <div class="breadcrumbs"><a href="http://localhost:1313/">Home</a> » <a href="http://localhost:1313/posts/">Posts</a></div> + <h1 class="post-title entry-hint-parent"> + Papermod - Features + </h1> + <div class="post-meta"><span title='2020-09-16 00:00:00 +0000 UTC'>September 16, 2020</span> · 1 min · Aditya Telange + +</div> + </header> + <div class="post-content"><h1 id="papermod---features">Papermod - Features<a hidden class="anchor" aria-hidden="true" href="#papermod---features">#</a></h1> +<p>Assets (js/css) The following is enabled by default minification - makes the assets size smallest as possible. bundling - bundles all the styles in one single asset fingerprint/integrity check. Default Theme light/dark…</p> + + + </div> + + <footer class="post-footer"> + <ul class="post-tags"> + <li><a href="http://localhost:1313/tags/papermod/">PaperMod</a></li> + </ul> +<nav class="paginav"> + <a class="next" href="http://localhost:1313/posts/papermod-installation/"> + <span class="title">Next »</span> + <br> + <span>Papermod - Installation</span> + </a> +</nav> + + </footer> +</article> + </main> + +<footer class="footer"> + <span>© 2025 <a href="http://localhost:1313/">PaperMod</a></span> · + + <span> + Powered by + <a href="https://gohugo.io/" rel="noopener noreferrer" target="_blank">Hugo</a> & + <a href="https://github.com/adityatelange/hugo-PaperMod/" rel="noopener" target="_blank">PaperMod</a> + </span> +</footer> +<a href="#top" aria-label="go to top" title="Go to Top (Alt + G)" class="top-link" id="top-link" accesskey="g"> + <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 6" fill="currentColor"> + <path d="M12 6H0l6-6z" /> + </svg> +</a> + +<script> + let menu = document.getElementById('menu') + if (menu) { + menu.scrollLeft = localStorage.getItem("menu-scroll-position"); + menu.onscroll = function () { + localStorage.setItem("menu-scroll-position", menu.scrollLeft); + } + } + + document.querySelectorAll('a[href^="#"]').forEach(anchor => { + anchor.addEventListener("click", function (e) { + e.preventDefault(); + var id = this.getAttribute("href").substr(1); + if (!window.matchMedia('(prefers-reduced-motion: reduce)').matches) { + document.querySelector(`[id='${decodeURIComponent(id)}']`).scrollIntoView({ + behavior: "smooth" + }); + } else { + document.querySelector(`[id='${decodeURIComponent(id)}']`).scrollIntoView(); + } + if (id === "top") { + history.replaceState(null, null, " "); + } else { + history.pushState(null, null, `#${id}`); + } + }); + }); + +</script> +<script> + var mybutton = document.getElementById("top-link"); + window.onscroll = function () { + if (document.body.scrollTop > 800 || document.documentElement.scrollTop > 800) { + mybutton.style.visibility = "visible"; + mybutton.style.opacity = "1"; + } else { + mybutton.style.visibility = "hidden"; + mybutton.style.opacity = "0"; + } + }; + +</script> +<script> + document.getElementById("theme-toggle").addEventListener("click", () => { + if (document.body.className.includes("dark")) { + document.body.classList.remove('dark'); + localStorage.setItem("pref-theme", 'light'); + } else { + document.body.classList.add('dark'); + localStorage.setItem("pref-theme", 'dark'); + } + }) + +</script> +<script> + document.querySelectorAll('pre > code').forEach((codeblock) => { + const container = codeblock.parentNode.parentNode; + + const copybutton = document.createElement('button'); + copybutton.classList.add('copy-code'); + copybutton.innerHTML = 'copy'; + + function copyingDone() { + copybutton.innerHTML = 'copied!'; + setTimeout(() => { + copybutton.innerHTML = 'copy'; + }, 2000); + } + + copybutton.addEventListener('click', (cb) => { + if ('clipboard' in navigator) { + navigator.clipboard.writeText(codeblock.textContent); + copyingDone(); + return; + } + + const range = document.createRange(); + range.selectNodeContents(codeblock); + const selection = window.getSelection(); + selection.removeAllRanges(); + selection.addRange(range); + try { + document.execCommand('copy'); + copyingDone(); + } catch (e) { }; + selection.removeRange(range); + }); + + if (container.classList.contains("highlight")) { + container.appendChild(copybutton); + } else if (container.parentNode.firstChild == container) { + + } else if (codeblock.parentNode.parentNode.parentNode.parentNode.parentNode.nodeName == "TABLE") { + + codeblock.parentNode.parentNode.parentNode.parentNode.parentNode.appendChild(copybutton); + } else { + + codeblock.parentNode.appendChild(copybutton); + } + }); +</script> +</body> + +</html> diff --git a/site/public/posts/papermod-installation/index.html b/site/public/posts/papermod-installation/index.html new file mode 100644 index 0000000..a5388f2 --- /dev/null +++ b/site/public/posts/papermod-installation/index.html @@ -0,0 +1,271 @@ +<!DOCTYPE html> +<html lang="en" dir="auto"> + +<head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script><meta charset="utf-8"> +<meta http-equiv="X-UA-Compatible" content="IE=edge"> +<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> +<meta name="robots" content="noindex, nofollow"> +<title>Papermod - Installation | PaperMod</title> +<meta name="keywords" content="PaperMod"> +<meta name="description" content="Follow this guide to setup hugo and create a new site. Make sure you install latest version of hugo(>=0.57.1). After you have created a new site, at Step 3 follow the steps…"> +<meta name="author" content="Aditya Telange"> +<link rel="canonical" href="http://localhost:1313/posts/papermod-installation/"> +<link crossorigin="anonymous" href="/assets/css/stylesheet.f49d66caae9ea0fd43f21f29e71a8d3e284517ed770f2aa86fa012953ad3c9ef.css" integrity="sha256-9J1myq6eoP1D8h8p5xqNPihFF+13Dyqob6ASlTrTye8=" rel="preload stylesheet" as="style"> +<link rel="icon" href="http://localhost:1313/favicon.ico"> +<link rel="icon" type="image/png" sizes="16x16" href="http://localhost:1313/favicon-16x16.png"> +<link rel="icon" type="image/png" sizes="32x32" href="http://localhost:1313/favicon-32x32.png"> +<link rel="apple-touch-icon" href="http://localhost:1313/apple-touch-icon.png"> +<link rel="mask-icon" href="http://localhost:1313/safari-pinned-tab.svg"> +<meta name="theme-color" content="#2e2e33"> +<meta name="msapplication-TileColor" content="#2e2e33"> +<link rel="alternate" hreflang="en" href="http://localhost:1313/posts/papermod-installation/"> +<noscript> + <style> + #theme-toggle, + .top-link { + display: none; + } + + </style> + <style> + @media (prefers-color-scheme: dark) { + :root { + --theme: rgb(29, 30, 32); + --entry: rgb(46, 46, 51); + --primary: rgb(218, 218, 219); + --secondary: rgb(155, 156, 157); + --tertiary: rgb(65, 66, 68); + --content: rgb(196, 196, 197); + --code-block-bg: rgb(46, 46, 51); + --code-bg: rgb(55, 56, 62); + --border: rgb(51, 51, 51); + } + + .list { + background: var(--theme); + } + + .list:not(.dark)::-webkit-scrollbar-track { + background: 0 0; + } + + .list:not(.dark)::-webkit-scrollbar-thumb { + border-color: var(--theme); + } + } + + </style> +</noscript> +</head> + +<body class="" id="top"> +<script> + if (localStorage.getItem("pref-theme") === "dark") { + document.body.classList.add('dark'); + } else if (localStorage.getItem("pref-theme") === "light") { + document.body.classList.remove('dark') + } else if (window.matchMedia('(prefers-color-scheme: dark)').matches) { + document.body.classList.add('dark'); + } + +</script> + +<header class="header"> + <nav class="nav"> + <div class="logo"> + <a href="http://localhost:1313/" accesskey="h" title="PaperMod (Alt + H)">PaperMod</a> + <div class="logo-switches"> + <button id="theme-toggle" accesskey="t" title="(Alt + T)" aria-label="Toggle theme"> + <svg id="moon" xmlns="http://www.w3.org/2000/svg" width="24" height="18" viewBox="0 0 24 24" + fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" + stroke-linejoin="round"> + <path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path> + </svg> + <svg id="sun" xmlns="http://www.w3.org/2000/svg" width="24" height="18" viewBox="0 0 24 24" + fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" + stroke-linejoin="round"> + <circle cx="12" cy="12" r="5"></circle> + <line x1="12" y1="1" x2="12" y2="3"></line> + <line x1="12" y1="21" x2="12" y2="23"></line> + <line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line> + <line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line> + <line x1="1" y1="12" x2="3" y2="12"></line> + <line x1="21" y1="12" x2="23" y2="12"></line> + <line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line> + <line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line> + </svg> + </button> + </div> + </div> + <ul id="menu"> + <li> + <a href="http://localhost:1313/archives/" title="Archives"> + <span>Archives</span> + </a> + </li> + <li> + <a href="http://localhost:1313/tags/" title="Tags"> + <span>Tags</span> + </a> + </li> + </ul> + </nav> +</header> +<main class="main"> + +<article class="post-single"> + <header class="post-header"> + <div class="breadcrumbs"><a href="http://localhost:1313/">Home</a> » <a href="http://localhost:1313/posts/">Posts</a></div> + <h1 class="post-title entry-hint-parent"> + Papermod - Installation + </h1> + <div class="post-meta"><span title='2020-09-15 00:00:00 +0000 UTC'>September 15, 2020</span> · 1 min · Aditya Telange + +</div> + </header> + <div class="post-content"><h1 id="papermod---installation">Papermod - Installation<a hidden class="anchor" aria-hidden="true" href="#papermod---installation">#</a></h1> +<p>Follow this guide to setup hugo and create a new site. Make sure you install latest version of hugo(>=0.57.1). After you have created a new site, at Step 3 follow the steps…</p> + + + </div> + + <footer class="post-footer"> + <ul class="post-tags"> + <li><a href="http://localhost:1313/tags/papermod/">PaperMod</a></li> + </ul> +<nav class="paginav"> + <a class="prev" href="http://localhost:1313/posts/papermod-features/"> + <span class="title">« Prev</span> + <br> + <span>Papermod - Features</span> + </a> + <a class="next" href="http://localhost:1313/posts/markdown-syntax/"> + <span class="title">Next »</span> + <br> + <span>Markdown Syntax Guide</span> + </a> +</nav> + + </footer> +</article> + </main> + +<footer class="footer"> + <span>© 2025 <a href="http://localhost:1313/">PaperMod</a></span> · + + <span> + Powered by + <a href="https://gohugo.io/" rel="noopener noreferrer" target="_blank">Hugo</a> & + <a href="https://github.com/adityatelange/hugo-PaperMod/" rel="noopener" target="_blank">PaperMod</a> + </span> +</footer> +<a href="#top" aria-label="go to top" title="Go to Top (Alt + G)" class="top-link" id="top-link" accesskey="g"> + <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 6" fill="currentColor"> + <path d="M12 6H0l6-6z" /> + </svg> +</a> + +<script> + let menu = document.getElementById('menu') + if (menu) { + menu.scrollLeft = localStorage.getItem("menu-scroll-position"); + menu.onscroll = function () { + localStorage.setItem("menu-scroll-position", menu.scrollLeft); + } + } + + document.querySelectorAll('a[href^="#"]').forEach(anchor => { + anchor.addEventListener("click", function (e) { + e.preventDefault(); + var id = this.getAttribute("href").substr(1); + if (!window.matchMedia('(prefers-reduced-motion: reduce)').matches) { + document.querySelector(`[id='${decodeURIComponent(id)}']`).scrollIntoView({ + behavior: "smooth" + }); + } else { + document.querySelector(`[id='${decodeURIComponent(id)}']`).scrollIntoView(); + } + if (id === "top") { + history.replaceState(null, null, " "); + } else { + history.pushState(null, null, `#${id}`); + } + }); + }); + +</script> +<script> + var mybutton = document.getElementById("top-link"); + window.onscroll = function () { + if (document.body.scrollTop > 800 || document.documentElement.scrollTop > 800) { + mybutton.style.visibility = "visible"; + mybutton.style.opacity = "1"; + } else { + mybutton.style.visibility = "hidden"; + mybutton.style.opacity = "0"; + } + }; + +</script> +<script> + document.getElementById("theme-toggle").addEventListener("click", () => { + if (document.body.className.includes("dark")) { + document.body.classList.remove('dark'); + localStorage.setItem("pref-theme", 'light'); + } else { + document.body.classList.add('dark'); + localStorage.setItem("pref-theme", 'dark'); + } + }) + +</script> +<script> + document.querySelectorAll('pre > code').forEach((codeblock) => { + const container = codeblock.parentNode.parentNode; + + const copybutton = document.createElement('button'); + copybutton.classList.add('copy-code'); + copybutton.innerHTML = 'copy'; + + function copyingDone() { + copybutton.innerHTML = 'copied!'; + setTimeout(() => { + copybutton.innerHTML = 'copy'; + }, 2000); + } + + copybutton.addEventListener('click', (cb) => { + if ('clipboard' in navigator) { + navigator.clipboard.writeText(codeblock.textContent); + copyingDone(); + return; + } + + const range = document.createRange(); + range.selectNodeContents(codeblock); + const selection = window.getSelection(); + selection.removeAllRanges(); + selection.addRange(range); + try { + document.execCommand('copy'); + copyingDone(); + } catch (e) { }; + selection.removeRange(range); + }); + + if (container.classList.contains("highlight")) { + container.appendChild(copybutton); + } else if (container.parentNode.firstChild == container) { + + } else if (codeblock.parentNode.parentNode.parentNode.parentNode.parentNode.nodeName == "TABLE") { + + codeblock.parentNode.parentNode.parentNode.parentNode.parentNode.appendChild(copybutton); + } else { + + codeblock.parentNode.appendChild(copybutton); + } + }); +</script> +</body> + +</html> diff --git a/site/public/sitemap.xml b/site/public/sitemap.xml new file mode 100644 index 0000000..2af8daa --- /dev/null +++ b/site/public/sitemap.xml @@ -0,0 +1,36 @@ +<?xml version="1.0" encoding="utf-8" standalone="yes"?> +<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" + xmlns:xhtml="http://www.w3.org/1999/xhtml"> + <url> + <loc>http://localhost:1313/</loc> + <lastmod>2020-09-16T00:00:00+00:00</lastmod> + </url><url> + <loc>http://localhost:1313/tags/papermod/</loc> + <lastmod>2020-09-16T00:00:00+00:00</lastmod> + </url><url> + <loc>http://localhost:1313/posts/papermod-features/</loc> + <lastmod>2020-09-16T00:00:00+00:00</lastmod> + </url><url> + <loc>http://localhost:1313/posts/</loc> + <lastmod>2020-09-16T00:00:00+00:00</lastmod> + </url><url> + <loc>http://localhost:1313/tags/</loc> + <lastmod>2020-09-16T00:00:00+00:00</lastmod> + </url><url> + <loc>http://localhost:1313/posts/papermod-installation/</loc> + <lastmod>2020-09-15T00:00:00+00:00</lastmod> + </url><url> + <loc>http://localhost:1313/tags/markdown/</loc> + <lastmod>2019-03-11T00:00:00+00:00</lastmod> + </url><url> + <loc>http://localhost:1313/posts/markdown-syntax/</loc> + <lastmod>2019-03-11T00:00:00+00:00</lastmod> + </url><url> + <loc>http://localhost:1313/tags/syntax/</loc> + <lastmod>2019-03-11T00:00:00+00:00</lastmod> + </url><url> + <loc>http://localhost:1313/archives/</loc> + </url><url> + <loc>http://localhost:1313/categories/</loc> + </url> +</urlset> diff --git a/site/public/tags/index.html b/site/public/tags/index.html new file mode 100644 index 0000000..8e62ddb --- /dev/null +++ b/site/public/tags/index.html @@ -0,0 +1,204 @@ +<!DOCTYPE html> +<html lang="en" dir="auto"> + +<head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script><meta charset="utf-8"> +<meta http-equiv="X-UA-Compatible" content="IE=edge"> +<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> +<meta name="robots" content="noindex, nofollow"> +<title>Tags | PaperMod</title> +<meta name="keywords" content=""> +<meta name="description" content=""> +<meta name="author" content=""> +<link rel="canonical" href="http://localhost:1313/tags/"> +<link crossorigin="anonymous" href="/assets/css/stylesheet.f49d66caae9ea0fd43f21f29e71a8d3e284517ed770f2aa86fa012953ad3c9ef.css" integrity="sha256-9J1myq6eoP1D8h8p5xqNPihFF+13Dyqob6ASlTrTye8=" rel="preload stylesheet" as="style"> +<link rel="icon" href="http://localhost:1313/favicon.ico"> +<link rel="icon" type="image/png" sizes="16x16" href="http://localhost:1313/favicon-16x16.png"> +<link rel="icon" type="image/png" sizes="32x32" href="http://localhost:1313/favicon-32x32.png"> +<link rel="apple-touch-icon" href="http://localhost:1313/apple-touch-icon.png"> +<link rel="mask-icon" href="http://localhost:1313/safari-pinned-tab.svg"> +<meta name="theme-color" content="#2e2e33"> +<meta name="msapplication-TileColor" content="#2e2e33"> +<link rel="alternate" type="application/rss+xml" href="http://localhost:1313/tags/index.xml"> +<link rel="alternate" hreflang="en" href="http://localhost:1313/tags/"> +<noscript> + <style> + #theme-toggle, + .top-link { + display: none; + } + + </style> + <style> + @media (prefers-color-scheme: dark) { + :root { + --theme: rgb(29, 30, 32); + --entry: rgb(46, 46, 51); + --primary: rgb(218, 218, 219); + --secondary: rgb(155, 156, 157); + --tertiary: rgb(65, 66, 68); + --content: rgb(196, 196, 197); + --code-block-bg: rgb(46, 46, 51); + --code-bg: rgb(55, 56, 62); + --border: rgb(51, 51, 51); + } + + .list { + background: var(--theme); + } + + .list:not(.dark)::-webkit-scrollbar-track { + background: 0 0; + } + + .list:not(.dark)::-webkit-scrollbar-thumb { + border-color: var(--theme); + } + } + + </style> +</noscript> +</head> + +<body class="list" id="top"> +<script> + if (localStorage.getItem("pref-theme") === "dark") { + document.body.classList.add('dark'); + } else if (localStorage.getItem("pref-theme") === "light") { + document.body.classList.remove('dark') + } else if (window.matchMedia('(prefers-color-scheme: dark)').matches) { + document.body.classList.add('dark'); + } + +</script> + +<header class="header"> + <nav class="nav"> + <div class="logo"> + <a href="http://localhost:1313/" accesskey="h" title="PaperMod (Alt + H)">PaperMod</a> + <div class="logo-switches"> + <button id="theme-toggle" accesskey="t" title="(Alt + T)" aria-label="Toggle theme"> + <svg id="moon" xmlns="http://www.w3.org/2000/svg" width="24" height="18" viewBox="0 0 24 24" + fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" + stroke-linejoin="round"> + <path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path> + </svg> + <svg id="sun" xmlns="http://www.w3.org/2000/svg" width="24" height="18" viewBox="0 0 24 24" + fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" + stroke-linejoin="round"> + <circle cx="12" cy="12" r="5"></circle> + <line x1="12" y1="1" x2="12" y2="3"></line> + <line x1="12" y1="21" x2="12" y2="23"></line> + <line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line> + <line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line> + <line x1="1" y1="12" x2="3" y2="12"></line> + <line x1="21" y1="12" x2="23" y2="12"></line> + <line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line> + <line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line> + </svg> + </button> + </div> + </div> + <ul id="menu"> + <li> + <a href="http://localhost:1313/archives/" title="Archives"> + <span>Archives</span> + </a> + </li> + <li> + <a href="http://localhost:1313/tags/" title="Tags"> + <span class="active">Tags</span> + </a> + </li> + </ul> + </nav> +</header> +<main class="main"> +<header class="page-header"> + <h1>Tags</h1> +</header> + +<ul class="terms-tags"> + <li> + <a href="http://localhost:1313/tags/markdown/">markdown <sup><strong><sup>1</sup></strong></sup> </a> + </li> + <li> + <a href="http://localhost:1313/tags/papermod/">PaperMod <sup><strong><sup>2</sup></strong></sup> </a> + </li> + <li> + <a href="http://localhost:1313/tags/syntax/">syntax <sup><strong><sup>1</sup></strong></sup> </a> + </li> +</ul> + </main> + +<footer class="footer"> + <span>© 2025 <a href="http://localhost:1313/">PaperMod</a></span> · + + <span> + Powered by + <a href="https://gohugo.io/" rel="noopener noreferrer" target="_blank">Hugo</a> & + <a href="https://github.com/adityatelange/hugo-PaperMod/" rel="noopener" target="_blank">PaperMod</a> + </span> +</footer> +<a href="#top" aria-label="go to top" title="Go to Top (Alt + G)" class="top-link" id="top-link" accesskey="g"> + <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 6" fill="currentColor"> + <path d="M12 6H0l6-6z" /> + </svg> +</a> + +<script> + let menu = document.getElementById('menu') + if (menu) { + menu.scrollLeft = localStorage.getItem("menu-scroll-position"); + menu.onscroll = function () { + localStorage.setItem("menu-scroll-position", menu.scrollLeft); + } + } + + document.querySelectorAll('a[href^="#"]').forEach(anchor => { + anchor.addEventListener("click", function (e) { + e.preventDefault(); + var id = this.getAttribute("href").substr(1); + if (!window.matchMedia('(prefers-reduced-motion: reduce)').matches) { + document.querySelector(`[id='${decodeURIComponent(id)}']`).scrollIntoView({ + behavior: "smooth" + }); + } else { + document.querySelector(`[id='${decodeURIComponent(id)}']`).scrollIntoView(); + } + if (id === "top") { + history.replaceState(null, null, " "); + } else { + history.pushState(null, null, `#${id}`); + } + }); + }); + +</script> +<script> + var mybutton = document.getElementById("top-link"); + window.onscroll = function () { + if (document.body.scrollTop > 800 || document.documentElement.scrollTop > 800) { + mybutton.style.visibility = "visible"; + mybutton.style.opacity = "1"; + } else { + mybutton.style.visibility = "hidden"; + mybutton.style.opacity = "0"; + } + }; + +</script> +<script> + document.getElementById("theme-toggle").addEventListener("click", () => { + if (document.body.className.includes("dark")) { + document.body.classList.remove('dark'); + localStorage.setItem("pref-theme", 'light'); + } else { + document.body.classList.add('dark'); + localStorage.setItem("pref-theme", 'dark'); + } + }) + +</script> +</body> + +</html> diff --git a/site/public/tags/index.xml b/site/public/tags/index.xml new file mode 100644 index 0000000..3ee74fb --- /dev/null +++ b/site/public/tags/index.xml @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="utf-8" standalone="yes"?> +<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"> + <channel> + <title>Tags on PaperMod</title> + <link>http://localhost:1313/tags/</link> + <description>Recent content in Tags on PaperMod</description> + <generator>Hugo -- 0.147.3</generator> + <language>en-us</language> + <lastBuildDate>Wed, 16 Sep 2020 00:00:00 +0000</lastBuildDate> + <atom:link href="http://localhost:1313/tags/index.xml" rel="self" type="application/rss+xml" /> + <item> + <title>PaperMod</title> + <link>http://localhost:1313/tags/papermod/</link> + <pubDate>Wed, 16 Sep 2020 00:00:00 +0000</pubDate> + <guid>http://localhost:1313/tags/papermod/</guid> + <description></description> + </item> + <item> + <title>Markdown</title> + <link>http://localhost:1313/tags/markdown/</link> + <pubDate>Mon, 11 Mar 2019 00:00:00 +0000</pubDate> + <guid>http://localhost:1313/tags/markdown/</guid> + <description></description> + </item> + <item> + <title>Syntax</title> + <link>http://localhost:1313/tags/syntax/</link> + <pubDate>Mon, 11 Mar 2019 00:00:00 +0000</pubDate> + <guid>http://localhost:1313/tags/syntax/</guid> + <description></description> + </item> + </channel> +</rss> diff --git a/site/public/tags/markdown/index.html b/site/public/tags/markdown/index.html new file mode 100644 index 0000000..8b9827c --- /dev/null +++ b/site/public/tags/markdown/index.html @@ -0,0 +1,206 @@ +<!DOCTYPE html> +<html lang="en" dir="auto"> + +<head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script><meta charset="utf-8"> +<meta http-equiv="X-UA-Compatible" content="IE=edge"> +<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> +<meta name="robots" content="noindex, nofollow"> +<title>Markdown | PaperMod</title> +<meta name="keywords" content=""> +<meta name="description" content=""> +<meta name="author" content=""> +<link rel="canonical" href="http://localhost:1313/tags/markdown/"> +<link crossorigin="anonymous" href="/assets/css/stylesheet.f49d66caae9ea0fd43f21f29e71a8d3e284517ed770f2aa86fa012953ad3c9ef.css" integrity="sha256-9J1myq6eoP1D8h8p5xqNPihFF+13Dyqob6ASlTrTye8=" rel="preload stylesheet" as="style"> +<link rel="icon" href="http://localhost:1313/favicon.ico"> +<link rel="icon" type="image/png" sizes="16x16" href="http://localhost:1313/favicon-16x16.png"> +<link rel="icon" type="image/png" sizes="32x32" href="http://localhost:1313/favicon-32x32.png"> +<link rel="apple-touch-icon" href="http://localhost:1313/apple-touch-icon.png"> +<link rel="mask-icon" href="http://localhost:1313/safari-pinned-tab.svg"> +<meta name="theme-color" content="#2e2e33"> +<meta name="msapplication-TileColor" content="#2e2e33"> +<link rel="alternate" type="application/rss+xml" href="http://localhost:1313/tags/markdown/index.xml"> +<link rel="alternate" hreflang="en" href="http://localhost:1313/tags/markdown/"> +<noscript> + <style> + #theme-toggle, + .top-link { + display: none; + } + + </style> + <style> + @media (prefers-color-scheme: dark) { + :root { + --theme: rgb(29, 30, 32); + --entry: rgb(46, 46, 51); + --primary: rgb(218, 218, 219); + --secondary: rgb(155, 156, 157); + --tertiary: rgb(65, 66, 68); + --content: rgb(196, 196, 197); + --code-block-bg: rgb(46, 46, 51); + --code-bg: rgb(55, 56, 62); + --border: rgb(51, 51, 51); + } + + .list { + background: var(--theme); + } + + .list:not(.dark)::-webkit-scrollbar-track { + background: 0 0; + } + + .list:not(.dark)::-webkit-scrollbar-thumb { + border-color: var(--theme); + } + } + + </style> +</noscript> +</head> + +<body class="list" id="top"> +<script> + if (localStorage.getItem("pref-theme") === "dark") { + document.body.classList.add('dark'); + } else if (localStorage.getItem("pref-theme") === "light") { + document.body.classList.remove('dark') + } else if (window.matchMedia('(prefers-color-scheme: dark)').matches) { + document.body.classList.add('dark'); + } + +</script> + +<header class="header"> + <nav class="nav"> + <div class="logo"> + <a href="http://localhost:1313/" accesskey="h" title="PaperMod (Alt + H)">PaperMod</a> + <div class="logo-switches"> + <button id="theme-toggle" accesskey="t" title="(Alt + T)" aria-label="Toggle theme"> + <svg id="moon" xmlns="http://www.w3.org/2000/svg" width="24" height="18" viewBox="0 0 24 24" + fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" + stroke-linejoin="round"> + <path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path> + </svg> + <svg id="sun" xmlns="http://www.w3.org/2000/svg" width="24" height="18" viewBox="0 0 24 24" + fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" + stroke-linejoin="round"> + <circle cx="12" cy="12" r="5"></circle> + <line x1="12" y1="1" x2="12" y2="3"></line> + <line x1="12" y1="21" x2="12" y2="23"></line> + <line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line> + <line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line> + <line x1="1" y1="12" x2="3" y2="12"></line> + <line x1="21" y1="12" x2="23" y2="12"></line> + <line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line> + <line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line> + </svg> + </button> + </div> + </div> + <ul id="menu"> + <li> + <a href="http://localhost:1313/archives/" title="Archives"> + <span>Archives</span> + </a> + </li> + <li> + <a href="http://localhost:1313/tags/" title="Tags"> + <span>Tags</span> + </a> + </li> + </ul> + </nav> +</header> +<main class="main"> +<header class="page-header"><div class="breadcrumbs"><a href="http://localhost:1313/">Home</a> » <a href="http://localhost:1313/tags/">Tags</a></div> + <h1> + Markdown + </h1> +</header> + +<article class="post-entry tag-entry"> + <header class="entry-header"> + <h2 class="entry-hint-parent">Markdown Syntax Guide + </h2> + </header> + <div class="entry-content"> + <p>This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme…</p> + </div> + <footer class="entry-footer"><span title='2019-03-11 00:00:00 +0000 UTC'>March 11, 2019</span> · 1 min · Hugo Authors</footer> + <a class="entry-link" aria-label="post link to Markdown Syntax Guide" href="http://localhost:1313/posts/markdown-syntax/"></a> +</article> + </main> + +<footer class="footer"> + <span>© 2025 <a href="http://localhost:1313/">PaperMod</a></span> · + + <span> + Powered by + <a href="https://gohugo.io/" rel="noopener noreferrer" target="_blank">Hugo</a> & + <a href="https://github.com/adityatelange/hugo-PaperMod/" rel="noopener" target="_blank">PaperMod</a> + </span> +</footer> +<a href="#top" aria-label="go to top" title="Go to Top (Alt + G)" class="top-link" id="top-link" accesskey="g"> + <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 6" fill="currentColor"> + <path d="M12 6H0l6-6z" /> + </svg> +</a> + +<script> + let menu = document.getElementById('menu') + if (menu) { + menu.scrollLeft = localStorage.getItem("menu-scroll-position"); + menu.onscroll = function () { + localStorage.setItem("menu-scroll-position", menu.scrollLeft); + } + } + + document.querySelectorAll('a[href^="#"]').forEach(anchor => { + anchor.addEventListener("click", function (e) { + e.preventDefault(); + var id = this.getAttribute("href").substr(1); + if (!window.matchMedia('(prefers-reduced-motion: reduce)').matches) { + document.querySelector(`[id='${decodeURIComponent(id)}']`).scrollIntoView({ + behavior: "smooth" + }); + } else { + document.querySelector(`[id='${decodeURIComponent(id)}']`).scrollIntoView(); + } + if (id === "top") { + history.replaceState(null, null, " "); + } else { + history.pushState(null, null, `#${id}`); + } + }); + }); + +</script> +<script> + var mybutton = document.getElementById("top-link"); + window.onscroll = function () { + if (document.body.scrollTop > 800 || document.documentElement.scrollTop > 800) { + mybutton.style.visibility = "visible"; + mybutton.style.opacity = "1"; + } else { + mybutton.style.visibility = "hidden"; + mybutton.style.opacity = "0"; + } + }; + +</script> +<script> + document.getElementById("theme-toggle").addEventListener("click", () => { + if (document.body.className.includes("dark")) { + document.body.classList.remove('dark'); + localStorage.setItem("pref-theme", 'light'); + } else { + document.body.classList.add('dark'); + localStorage.setItem("pref-theme", 'dark'); + } + }) + +</script> +</body> + +</html> diff --git a/site/public/tags/markdown/index.xml b/site/public/tags/markdown/index.xml new file mode 100644 index 0000000..aefc7bb --- /dev/null +++ b/site/public/tags/markdown/index.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="utf-8" standalone="yes"?> +<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"> + <channel> + <title>Markdown on PaperMod</title> + <link>http://localhost:1313/tags/markdown/</link> + <description>Recent content in Markdown on PaperMod</description> + <generator>Hugo -- 0.147.3</generator> + <language>en-us</language> + <lastBuildDate>Mon, 11 Mar 2019 00:00:00 +0000</lastBuildDate> + <atom:link href="http://localhost:1313/tags/markdown/index.xml" rel="self" type="application/rss+xml" /> + <item> + <title>Markdown Syntax Guide</title> + <link>http://localhost:1313/posts/markdown-syntax/</link> + <pubDate>Mon, 11 Mar 2019 00:00:00 +0000</pubDate> + <guid>http://localhost:1313/posts/markdown-syntax/</guid> + <description>This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme&hellip;</description> + </item> + </channel> +</rss> diff --git a/site/public/tags/markdown/page/1/index.html b/site/public/tags/markdown/page/1/index.html new file mode 100644 index 0000000..72b9d0a --- /dev/null +++ b/site/public/tags/markdown/page/1/index.html @@ -0,0 +1,10 @@ +<!DOCTYPE html> +<html lang="en-us"> + <head> + <title>http://localhost:1313/tags/markdown/</title> + <link rel="canonical" href="http://localhost:1313/tags/markdown/"> + <meta name="robots" content="noindex"> + <meta charset="utf-8"> + <meta http-equiv="refresh" content="0; url=http://localhost:1313/tags/markdown/"> + </head> +</html> diff --git a/site/public/tags/papermod/index.html b/site/public/tags/papermod/index.html new file mode 100644 index 0000000..ec3a447 --- /dev/null +++ b/site/public/tags/papermod/index.html @@ -0,0 +1,218 @@ +<!DOCTYPE html> +<html lang="en" dir="auto"> + +<head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script><meta charset="utf-8"> +<meta http-equiv="X-UA-Compatible" content="IE=edge"> +<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> +<meta name="robots" content="noindex, nofollow"> +<title>PaperMod | PaperMod</title> +<meta name="keywords" content=""> +<meta name="description" content=""> +<meta name="author" content=""> +<link rel="canonical" href="http://localhost:1313/tags/papermod/"> +<link crossorigin="anonymous" href="/assets/css/stylesheet.f49d66caae9ea0fd43f21f29e71a8d3e284517ed770f2aa86fa012953ad3c9ef.css" integrity="sha256-9J1myq6eoP1D8h8p5xqNPihFF+13Dyqob6ASlTrTye8=" rel="preload stylesheet" as="style"> +<link rel="icon" href="http://localhost:1313/favicon.ico"> +<link rel="icon" type="image/png" sizes="16x16" href="http://localhost:1313/favicon-16x16.png"> +<link rel="icon" type="image/png" sizes="32x32" href="http://localhost:1313/favicon-32x32.png"> +<link rel="apple-touch-icon" href="http://localhost:1313/apple-touch-icon.png"> +<link rel="mask-icon" href="http://localhost:1313/safari-pinned-tab.svg"> +<meta name="theme-color" content="#2e2e33"> +<meta name="msapplication-TileColor" content="#2e2e33"> +<link rel="alternate" type="application/rss+xml" href="http://localhost:1313/tags/papermod/index.xml"> +<link rel="alternate" hreflang="en" href="http://localhost:1313/tags/papermod/"> +<noscript> + <style> + #theme-toggle, + .top-link { + display: none; + } + + </style> + <style> + @media (prefers-color-scheme: dark) { + :root { + --theme: rgb(29, 30, 32); + --entry: rgb(46, 46, 51); + --primary: rgb(218, 218, 219); + --secondary: rgb(155, 156, 157); + --tertiary: rgb(65, 66, 68); + --content: rgb(196, 196, 197); + --code-block-bg: rgb(46, 46, 51); + --code-bg: rgb(55, 56, 62); + --border: rgb(51, 51, 51); + } + + .list { + background: var(--theme); + } + + .list:not(.dark)::-webkit-scrollbar-track { + background: 0 0; + } + + .list:not(.dark)::-webkit-scrollbar-thumb { + border-color: var(--theme); + } + } + + </style> +</noscript> +</head> + +<body class="list" id="top"> +<script> + if (localStorage.getItem("pref-theme") === "dark") { + document.body.classList.add('dark'); + } else if (localStorage.getItem("pref-theme") === "light") { + document.body.classList.remove('dark') + } else if (window.matchMedia('(prefers-color-scheme: dark)').matches) { + document.body.classList.add('dark'); + } + +</script> + +<header class="header"> + <nav class="nav"> + <div class="logo"> + <a href="http://localhost:1313/" accesskey="h" title="PaperMod (Alt + H)">PaperMod</a> + <div class="logo-switches"> + <button id="theme-toggle" accesskey="t" title="(Alt + T)" aria-label="Toggle theme"> + <svg id="moon" xmlns="http://www.w3.org/2000/svg" width="24" height="18" viewBox="0 0 24 24" + fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" + stroke-linejoin="round"> + <path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path> + </svg> + <svg id="sun" xmlns="http://www.w3.org/2000/svg" width="24" height="18" viewBox="0 0 24 24" + fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" + stroke-linejoin="round"> + <circle cx="12" cy="12" r="5"></circle> + <line x1="12" y1="1" x2="12" y2="3"></line> + <line x1="12" y1="21" x2="12" y2="23"></line> + <line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line> + <line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line> + <line x1="1" y1="12" x2="3" y2="12"></line> + <line x1="21" y1="12" x2="23" y2="12"></line> + <line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line> + <line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line> + </svg> + </button> + </div> + </div> + <ul id="menu"> + <li> + <a href="http://localhost:1313/archives/" title="Archives"> + <span>Archives</span> + </a> + </li> + <li> + <a href="http://localhost:1313/tags/" title="Tags"> + <span>Tags</span> + </a> + </li> + </ul> + </nav> +</header> +<main class="main"> +<header class="page-header"><div class="breadcrumbs"><a href="http://localhost:1313/">Home</a> » <a href="http://localhost:1313/tags/">Tags</a></div> + <h1> + PaperMod + </h1> +</header> + +<article class="post-entry tag-entry"> + <header class="entry-header"> + <h2 class="entry-hint-parent">Papermod - Features + </h2> + </header> + <div class="entry-content"> + <p>Assets (js/css) The following is enabled by default minification - makes the assets size smallest as possible. bundling - bundles all the styles in one single asset fingerprint/integrity check. Default Theme light/dark…</p> + </div> + <footer class="entry-footer"><span title='2020-09-16 00:00:00 +0000 UTC'>September 16, 2020</span> · 1 min · Aditya Telange</footer> + <a class="entry-link" aria-label="post link to Papermod - Features" href="http://localhost:1313/posts/papermod-features/"></a> +</article> + +<article class="post-entry tag-entry"> + <header class="entry-header"> + <h2 class="entry-hint-parent">Papermod - Installation + </h2> + </header> + <div class="entry-content"> + <p>Follow this guide to setup hugo and create a new site. Make sure you install latest version of hugo(>=0.57.1). After you have created a new site, at Step 3 follow the steps…</p> + </div> + <footer class="entry-footer"><span title='2020-09-15 00:00:00 +0000 UTC'>September 15, 2020</span> · 1 min · Aditya Telange</footer> + <a class="entry-link" aria-label="post link to Papermod - Installation" href="http://localhost:1313/posts/papermod-installation/"></a> +</article> + </main> + +<footer class="footer"> + <span>© 2025 <a href="http://localhost:1313/">PaperMod</a></span> · + + <span> + Powered by + <a href="https://gohugo.io/" rel="noopener noreferrer" target="_blank">Hugo</a> & + <a href="https://github.com/adityatelange/hugo-PaperMod/" rel="noopener" target="_blank">PaperMod</a> + </span> +</footer> +<a href="#top" aria-label="go to top" title="Go to Top (Alt + G)" class="top-link" id="top-link" accesskey="g"> + <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 6" fill="currentColor"> + <path d="M12 6H0l6-6z" /> + </svg> +</a> + +<script> + let menu = document.getElementById('menu') + if (menu) { + menu.scrollLeft = localStorage.getItem("menu-scroll-position"); + menu.onscroll = function () { + localStorage.setItem("menu-scroll-position", menu.scrollLeft); + } + } + + document.querySelectorAll('a[href^="#"]').forEach(anchor => { + anchor.addEventListener("click", function (e) { + e.preventDefault(); + var id = this.getAttribute("href").substr(1); + if (!window.matchMedia('(prefers-reduced-motion: reduce)').matches) { + document.querySelector(`[id='${decodeURIComponent(id)}']`).scrollIntoView({ + behavior: "smooth" + }); + } else { + document.querySelector(`[id='${decodeURIComponent(id)}']`).scrollIntoView(); + } + if (id === "top") { + history.replaceState(null, null, " "); + } else { + history.pushState(null, null, `#${id}`); + } + }); + }); + +</script> +<script> + var mybutton = document.getElementById("top-link"); + window.onscroll = function () { + if (document.body.scrollTop > 800 || document.documentElement.scrollTop > 800) { + mybutton.style.visibility = "visible"; + mybutton.style.opacity = "1"; + } else { + mybutton.style.visibility = "hidden"; + mybutton.style.opacity = "0"; + } + }; + +</script> +<script> + document.getElementById("theme-toggle").addEventListener("click", () => { + if (document.body.className.includes("dark")) { + document.body.classList.remove('dark'); + localStorage.setItem("pref-theme", 'light'); + } else { + document.body.classList.add('dark'); + localStorage.setItem("pref-theme", 'dark'); + } + }) + +</script> +</body> + +</html> diff --git a/site/public/tags/papermod/index.xml b/site/public/tags/papermod/index.xml new file mode 100644 index 0000000..4c832cc --- /dev/null +++ b/site/public/tags/papermod/index.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="utf-8" standalone="yes"?> +<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"> + <channel> + <title>PaperMod</title> + <link>http://localhost:1313/tags/papermod/</link> + <description>Recent content on PaperMod</description> + <generator>Hugo -- 0.147.3</generator> + <language>en-us</language> + <lastBuildDate>Wed, 16 Sep 2020 00:00:00 +0000</lastBuildDate> + <atom:link href="http://localhost:1313/tags/papermod/index.xml" rel="self" type="application/rss+xml" /> + <item> + <title>Papermod - Features</title> + <link>http://localhost:1313/posts/papermod-features/</link> + <pubDate>Wed, 16 Sep 2020 00:00:00 +0000</pubDate> + <guid>http://localhost:1313/posts/papermod-features/</guid> + <description>Assets (js/css) The following is enabled by default minification - makes the assets size smallest as possible. bundling - bundles all the styles in one single asset fingerprint/integrity check. Default Theme light/dark&hellip;</description> + </item> + <item> + <title>Papermod - Installation</title> + <link>http://localhost:1313/posts/papermod-installation/</link> + <pubDate>Tue, 15 Sep 2020 00:00:00 +0000</pubDate> + <guid>http://localhost:1313/posts/papermod-installation/</guid> + <description>Follow this guide to setup hugo and create a new site. Make sure you install latest version of hugo(&gt;=0.57.1). After you have created a new site, at Step 3 follow the steps&hellip;</description> + </item> + </channel> +</rss> diff --git a/site/public/tags/papermod/page/1/index.html b/site/public/tags/papermod/page/1/index.html new file mode 100644 index 0000000..4ee5749 --- /dev/null +++ b/site/public/tags/papermod/page/1/index.html @@ -0,0 +1,10 @@ +<!DOCTYPE html> +<html lang="en-us"> + <head> + <title>http://localhost:1313/tags/papermod/</title> + <link rel="canonical" href="http://localhost:1313/tags/papermod/"> + <meta name="robots" content="noindex"> + <meta charset="utf-8"> + <meta http-equiv="refresh" content="0; url=http://localhost:1313/tags/papermod/"> + </head> +</html> diff --git a/site/public/tags/syntax/index.html b/site/public/tags/syntax/index.html new file mode 100644 index 0000000..2eecd31 --- /dev/null +++ b/site/public/tags/syntax/index.html @@ -0,0 +1,206 @@ +<!DOCTYPE html> +<html lang="en" dir="auto"> + +<head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script><meta charset="utf-8"> +<meta http-equiv="X-UA-Compatible" content="IE=edge"> +<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> +<meta name="robots" content="noindex, nofollow"> +<title>Syntax | PaperMod</title> +<meta name="keywords" content=""> +<meta name="description" content=""> +<meta name="author" content=""> +<link rel="canonical" href="http://localhost:1313/tags/syntax/"> +<link crossorigin="anonymous" href="/assets/css/stylesheet.f49d66caae9ea0fd43f21f29e71a8d3e284517ed770f2aa86fa012953ad3c9ef.css" integrity="sha256-9J1myq6eoP1D8h8p5xqNPihFF+13Dyqob6ASlTrTye8=" rel="preload stylesheet" as="style"> +<link rel="icon" href="http://localhost:1313/favicon.ico"> +<link rel="icon" type="image/png" sizes="16x16" href="http://localhost:1313/favicon-16x16.png"> +<link rel="icon" type="image/png" sizes="32x32" href="http://localhost:1313/favicon-32x32.png"> +<link rel="apple-touch-icon" href="http://localhost:1313/apple-touch-icon.png"> +<link rel="mask-icon" href="http://localhost:1313/safari-pinned-tab.svg"> +<meta name="theme-color" content="#2e2e33"> +<meta name="msapplication-TileColor" content="#2e2e33"> +<link rel="alternate" type="application/rss+xml" href="http://localhost:1313/tags/syntax/index.xml"> +<link rel="alternate" hreflang="en" href="http://localhost:1313/tags/syntax/"> +<noscript> + <style> + #theme-toggle, + .top-link { + display: none; + } + + </style> + <style> + @media (prefers-color-scheme: dark) { + :root { + --theme: rgb(29, 30, 32); + --entry: rgb(46, 46, 51); + --primary: rgb(218, 218, 219); + --secondary: rgb(155, 156, 157); + --tertiary: rgb(65, 66, 68); + --content: rgb(196, 196, 197); + --code-block-bg: rgb(46, 46, 51); + --code-bg: rgb(55, 56, 62); + --border: rgb(51, 51, 51); + } + + .list { + background: var(--theme); + } + + .list:not(.dark)::-webkit-scrollbar-track { + background: 0 0; + } + + .list:not(.dark)::-webkit-scrollbar-thumb { + border-color: var(--theme); + } + } + + </style> +</noscript> +</head> + +<body class="list" id="top"> +<script> + if (localStorage.getItem("pref-theme") === "dark") { + document.body.classList.add('dark'); + } else if (localStorage.getItem("pref-theme") === "light") { + document.body.classList.remove('dark') + } else if (window.matchMedia('(prefers-color-scheme: dark)').matches) { + document.body.classList.add('dark'); + } + +</script> + +<header class="header"> + <nav class="nav"> + <div class="logo"> + <a href="http://localhost:1313/" accesskey="h" title="PaperMod (Alt + H)">PaperMod</a> + <div class="logo-switches"> + <button id="theme-toggle" accesskey="t" title="(Alt + T)" aria-label="Toggle theme"> + <svg id="moon" xmlns="http://www.w3.org/2000/svg" width="24" height="18" viewBox="0 0 24 24" + fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" + stroke-linejoin="round"> + <path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path> + </svg> + <svg id="sun" xmlns="http://www.w3.org/2000/svg" width="24" height="18" viewBox="0 0 24 24" + fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" + stroke-linejoin="round"> + <circle cx="12" cy="12" r="5"></circle> + <line x1="12" y1="1" x2="12" y2="3"></line> + <line x1="12" y1="21" x2="12" y2="23"></line> + <line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line> + <line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line> + <line x1="1" y1="12" x2="3" y2="12"></line> + <line x1="21" y1="12" x2="23" y2="12"></line> + <line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line> + <line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line> + </svg> + </button> + </div> + </div> + <ul id="menu"> + <li> + <a href="http://localhost:1313/archives/" title="Archives"> + <span>Archives</span> + </a> + </li> + <li> + <a href="http://localhost:1313/tags/" title="Tags"> + <span>Tags</span> + </a> + </li> + </ul> + </nav> +</header> +<main class="main"> +<header class="page-header"><div class="breadcrumbs"><a href="http://localhost:1313/">Home</a> » <a href="http://localhost:1313/tags/">Tags</a></div> + <h1> + Syntax + </h1> +</header> + +<article class="post-entry tag-entry"> + <header class="entry-header"> + <h2 class="entry-hint-parent">Markdown Syntax Guide + </h2> + </header> + <div class="entry-content"> + <p>This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme…</p> + </div> + <footer class="entry-footer"><span title='2019-03-11 00:00:00 +0000 UTC'>March 11, 2019</span> · 1 min · Hugo Authors</footer> + <a class="entry-link" aria-label="post link to Markdown Syntax Guide" href="http://localhost:1313/posts/markdown-syntax/"></a> +</article> + </main> + +<footer class="footer"> + <span>© 2025 <a href="http://localhost:1313/">PaperMod</a></span> · + + <span> + Powered by + <a href="https://gohugo.io/" rel="noopener noreferrer" target="_blank">Hugo</a> & + <a href="https://github.com/adityatelange/hugo-PaperMod/" rel="noopener" target="_blank">PaperMod</a> + </span> +</footer> +<a href="#top" aria-label="go to top" title="Go to Top (Alt + G)" class="top-link" id="top-link" accesskey="g"> + <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 6" fill="currentColor"> + <path d="M12 6H0l6-6z" /> + </svg> +</a> + +<script> + let menu = document.getElementById('menu') + if (menu) { + menu.scrollLeft = localStorage.getItem("menu-scroll-position"); + menu.onscroll = function () { + localStorage.setItem("menu-scroll-position", menu.scrollLeft); + } + } + + document.querySelectorAll('a[href^="#"]').forEach(anchor => { + anchor.addEventListener("click", function (e) { + e.preventDefault(); + var id = this.getAttribute("href").substr(1); + if (!window.matchMedia('(prefers-reduced-motion: reduce)').matches) { + document.querySelector(`[id='${decodeURIComponent(id)}']`).scrollIntoView({ + behavior: "smooth" + }); + } else { + document.querySelector(`[id='${decodeURIComponent(id)}']`).scrollIntoView(); + } + if (id === "top") { + history.replaceState(null, null, " "); + } else { + history.pushState(null, null, `#${id}`); + } + }); + }); + +</script> +<script> + var mybutton = document.getElementById("top-link"); + window.onscroll = function () { + if (document.body.scrollTop > 800 || document.documentElement.scrollTop > 800) { + mybutton.style.visibility = "visible"; + mybutton.style.opacity = "1"; + } else { + mybutton.style.visibility = "hidden"; + mybutton.style.opacity = "0"; + } + }; + +</script> +<script> + document.getElementById("theme-toggle").addEventListener("click", () => { + if (document.body.className.includes("dark")) { + document.body.classList.remove('dark'); + localStorage.setItem("pref-theme", 'light'); + } else { + document.body.classList.add('dark'); + localStorage.setItem("pref-theme", 'dark'); + } + }) + +</script> +</body> + +</html> diff --git a/site/public/tags/syntax/index.xml b/site/public/tags/syntax/index.xml new file mode 100644 index 0000000..88ccb64 --- /dev/null +++ b/site/public/tags/syntax/index.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="utf-8" standalone="yes"?> +<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"> + <channel> + <title>Syntax on PaperMod</title> + <link>http://localhost:1313/tags/syntax/</link> + <description>Recent content in Syntax on PaperMod</description> + <generator>Hugo -- 0.147.3</generator> + <language>en-us</language> + <lastBuildDate>Mon, 11 Mar 2019 00:00:00 +0000</lastBuildDate> + <atom:link href="http://localhost:1313/tags/syntax/index.xml" rel="self" type="application/rss+xml" /> + <item> + <title>Markdown Syntax Guide</title> + <link>http://localhost:1313/posts/markdown-syntax/</link> + <pubDate>Mon, 11 Mar 2019 00:00:00 +0000</pubDate> + <guid>http://localhost:1313/posts/markdown-syntax/</guid> + <description>This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme&hellip;</description> + </item> + </channel> +</rss> diff --git a/site/public/tags/syntax/page/1/index.html b/site/public/tags/syntax/page/1/index.html new file mode 100644 index 0000000..8c27ebf --- /dev/null +++ b/site/public/tags/syntax/page/1/index.html @@ -0,0 +1,10 @@ +<!DOCTYPE html> +<html lang="en-us"> + <head> + <title>http://localhost:1313/tags/syntax/</title> + <link rel="canonical" href="http://localhost:1313/tags/syntax/"> + <meta name="robots" content="noindex"> + <meta charset="utf-8"> + <meta http-equiv="refresh" content="0; url=http://localhost:1313/tags/syntax/"> + </head> +</html> diff --git a/site/themes/PaperMod b/site/themes/PaperMod new file mode 160000 index 0000000..7cf752f --- /dev/null +++ b/site/themes/PaperMod @@ -0,0 +1 @@ +Subproject commit 7cf752f8644fea1fc3dc7299352718d492c55182 diff --git a/themes/book b/themes/book new file mode 160000 index 0000000..9405c4c --- /dev/null +++ b/themes/book @@ -0,0 +1 @@ +Subproject commit 9405c4c3d7c7d81ae5be06589982691efedac3ea