From 48c7dca7fd45c17e182dd1615b71959c2916dd1e Mon Sep 17 00:00:00 2001 From: adityatelange Date: Sun, 4 Oct 2020 15:14:06 +0000 Subject: [PATCH] deploy: 6a9e9e129a46f1b6ebdc7622dcf0519b7a582d4e --- 404.html | 5 +++-- archives/index.html | 5 +++-- ...7df1ca1b14f60766ffb6ab955381df83d53f2f71558576325ef05.css | 1 + ...64e8fa908d0df9fb0698db51776924a1b4fa703c989798dfadabd.css | 1 - categories/index.html | 5 +++-- categories/syntax/index.html | 5 +++-- categories/themes/index.html | 5 +++-- index.html | 5 +++-- page/2/index.html | 5 +++-- posts/emoji-support/index.html | 5 +++-- posts/index.html | 5 +++-- posts/markdown-syntax/index.html | 5 +++-- posts/math-typesetting/index.html | 5 +++-- posts/page/2/index.html | 5 +++-- posts/papermod/papermod-features/index.html | 5 +++-- posts/papermod/papermod-icons/index.html | 5 +++-- posts/papermod/papermod-installation/index.html | 5 +++-- posts/papermod/papermod-variables/index.html | 5 +++-- posts/placeholder-text/index.html | 5 +++-- posts/rich-content/index.html | 5 +++-- series/index.html | 5 +++-- series/papermod/index.html | 5 +++-- series/themes-guide/index.html | 5 +++-- tags/css/index.html | 5 +++-- tags/emoji/index.html | 5 +++-- tags/html/index.html | 5 +++-- tags/index.html | 5 +++-- tags/markdown/index.html | 5 +++-- tags/papermod/index.html | 5 +++-- tags/privacy/index.html | 5 +++-- tags/shortcodes/index.html | 5 +++-- tags/text/index.html | 5 +++-- tags/themes/index.html | 5 +++-- 33 files changed, 94 insertions(+), 63 deletions(-) create mode 100644 assets/css/stylesheet.min.407c57ffbc27df1ca1b14f60766ffb6ab955381df83d53f2f71558576325ef05.css delete mode 100644 assets/css/stylesheet.min.511ea9c64ab64e8fa908d0df9fb0698db51776924a1b4fa703c989798dfadabd.css diff --git a/404.html b/404.html index 98041acf..803c48d9 100644 --- a/404.html +++ b/404.html @@ -1,7 +1,8 @@ -404 Page not found - PaperMod
404
\ No newline at end of file +document.querySelectorAll('a[href^="#"]').forEach(anchor=>{anchor.addEventListener("click",function(e){e.preventDefault();document.querySelector(this.getAttribute("href")).scrollIntoView({behavior:"smooth"});});});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";}};function menu_on_scroll(){localStorage.setItem("menu-scroll-position",document.getElementById('menu').scrollLeft);} \ No newline at end of file diff --git a/posts/markdown-syntax/index.html b/posts/markdown-syntax/index.html index d58e088e..163c22b5 100644 --- a/posts/markdown-syntax/index.html +++ b/posts/markdown-syntax/index.html @@ -1,4 +1,5 @@ -Markdown Syntax Guide - PaperMod

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.

Headings

The following HTML <h1><h6> elements represent six levels of section headings. <h1> is the highest section level while <h6> is the lowest.

H1

H2

H3

H4

H5
H6

Paragraph

Xerum, quo qui aut unt expliquam qui dolut labo. Aque venitatiusda cum, voluptionse latur sitiae dolessi aut parist aut dollo enim qui voluptate ma dolestendit peritin re plis aut quas inctum laceat est volestemque commosa as cus endigna tectur, offic to cor sequas etum rerum idem sintibus eiur? Quianimin porecus evelectur, cum que nis nust voloribus ratem aut omnimi, sitatur? Quiatem. Nam, omnis sum am facea corem alique molestrunt et eos evelece arcillit ut aut eos eos nus, sin conecerem erum fuga. Ri oditatquam, ad quibus unda veliamenimin cusam et facea ipsamus es exerum sitate dolores editium rerore eost, temped molorro ratiae volorro te reribus dolorer sperchicium faceata tiustia prat.

Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat.

Blockquotes

The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a footer or cite element, and optionally with in-line changes such as annotations and abbreviations.

Blockquote without attribution

Tiam, ad mint andaepu dandae nostion secatur sequo quae. +Markdown Syntax Guide - PaperMod

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.

Headings

The following HTML <h1><h6> elements represent six levels of section headings. <h1> is the highest section level while <h6> is the lowest.

H1

H2

H3

H4

H5
H6

Paragraph

Xerum, quo qui aut unt expliquam qui dolut labo. Aque venitatiusda cum, voluptionse latur sitiae dolessi aut parist aut dollo enim qui voluptate ma dolestendit peritin re plis aut quas inctum laceat est volestemque commosa as cus endigna tectur, offic to cor sequas etum rerum idem sintibus eiur? Quianimin porecus evelectur, cum que nis nust voloribus ratem aut omnimi, sitatur? Quiatem. Nam, omnis sum am facea corem alique molestrunt et eos evelece arcillit ut aut eos eos nus, sin conecerem erum fuga. Ri oditatquam, ad quibus unda veliamenimin cusam et facea ipsamus es exerum sitate dolores editium rerore eost, temped molorro ratiae volorro te reribus dolorer sperchicium faceata tiustia prat.

Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat.

Blockquotes

The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a footer or cite element, and optionally with in-line changes such as annotations and abbreviations.

Blockquote without attribution

Tiam, ad mint andaepu dandae nostion secatur sequo quae. Note that you can use Markdown syntax within a blockquote.

Blockquote with attribution

Don’t communicate by sharing memory, share memory by communicating. — Rob Pike1

Tables

Tables aren’t part of the core Markdown spec, but Hugo supports supports them out-of-the-box.

NameAge
Bob27
Alice23

Inline Markdown within tables

ItalicsBoldCode
italicsboldcode

Code Blocks

Code block with backticks

<!doctype html>
 <html lang="en">
@@ -35,4 +36,4 @@
 ·
 Theme️ PaperMod
 
\ No newline at end of file
+document.querySelectorAll('a[href^="#"]').forEach(anchor=>{anchor.addEventListener("click",function(e){e.preventDefault();document.querySelector(this.getAttribute("href")).scrollIntoView({behavior:"smooth"});});});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";}};function menu_on_scroll(){localStorage.setItem("menu-scroll-position",document.getElementById('menu').scrollLeft);}
\ No newline at end of file
diff --git a/posts/math-typesetting/index.html b/posts/math-typesetting/index.html
index 66a50231..77b17d01 100644
--- a/posts/math-typesetting/index.html
+++ b/posts/math-typesetting/index.html
@@ -1,4 +1,5 @@
-Math Typesetting - PaperMod

Math Typesetting

Mathematical notation in a Hugo project can be enabled by using third party JavaScript libraries.

In this example we will be using KaTeX

  • Create a partial under /layouts/partials/math.html
  • Within this partial reference the Auto-render Extension or host these scripts locally.
  • Include the partial in your templates like so:
{{ if or .Params.math .Site.Params.math }}
+Math Typesetting - PaperMod

Math Typesetting

Mathematical notation in a Hugo project can be enabled by using third party JavaScript libraries.

In this example we will be using KaTeX

  • Create a partial under /layouts/partials/math.html
  • Within this partial reference the Auto-render Extension or host these scripts locally.
  • Include the partial in your templates like so:
{{ if or .Params.math .Site.Params.math }}
 {{ partial "math.html" . }}
 {{ end }}
 
  • To enable KaTex globally set the parameter math to true in a project’s configuration
  • To enable KaTex on a per page basis include the parameter math: true in content files

Note: Use the online reference of Supported TeX Functions

Examples

Inline math: \(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\)

Block math: @@ -10,4 +11,4 @@ $$

\ No newline at end of file +document.querySelectorAll('a[href^="#"]').forEach(anchor=>{anchor.addEventListener("click",function(e){e.preventDefault();document.querySelector(this.getAttribute("href")).scrollIntoView({behavior:"smooth"});});});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";}};function menu_on_scroll(){localStorage.setItem("menu-scroll-position",document.getElementById('menu').scrollLeft);} \ No newline at end of file diff --git a/posts/page/2/index.html b/posts/page/2/index.html index 2378d74b..fb494c56 100644 --- a/posts/page/2/index.html +++ b/posts/page/2/index.html @@ -1,4 +1,5 @@ -Posts - PaperMod

Rich Content

Hugo ships with several Built-in Shortcodes for rich content, along with a Privacy Config and a set of Simple Shortcodes that enable static and no-JS versions of various social media embeds. +Posts - PaperMod

Rich Content

Hugo ships with several Built-in Shortcodes for rich content, along with a Privacy Config and a set of Simple Shortcodes that enable static and no-JS versions of various social media embeds. ...

 · 1 min · Hugo Authors

Placeholder Text

Lorem est tota propiore conpellat pectoribus de pectora summo. ...

 · 2 min · Hugo Authors

Math Typesetting

Mathematical notation in a Hugo project can be enabled by using third party JavaScript libraries. ...

 · 1 min · Hugo Authors

Emoji Support

Emoji can be enabled in a Hugo project in a number of ways. @@ -8,4 +9,4 @@ · Theme️ PaperMod \ No newline at end of file +document.querySelectorAll('a[href^="#"]').forEach(anchor=>{anchor.addEventListener("click",function(e){e.preventDefault();document.querySelector(this.getAttribute("href")).scrollIntoView({behavior:"smooth"});});});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";}};function menu_on_scroll(){localStorage.setItem("menu-scroll-position",document.getElementById('menu').scrollLeft);} \ No newline at end of file diff --git a/posts/papermod/papermod-features/index.html b/posts/papermod/papermod-features/index.html index df72622b..231e5654 100644 --- a/posts/papermod/papermod-features/index.html +++ b/posts/papermod/papermod-features/index.html @@ -3,7 +3,8 @@ params: defaultTheme: dark or params: defaultTheme: auto # to switch between dark or light according to browser theme Archives Layout Add vars below to page-variables layout: "archives" ex: here - Home-Info Mode Use 1st entry as some Information">

Papermod - Features

Assets (js/css)

The following is enabled by default


Default Theme light/dark

params:
+ Home-Info Mode Use 1st entry as some Information">

Papermod - Features

Assets (js/css)

The following is enabled by default


Default Theme light/dark

params:
     defaultTheme: light
 

or

params:
     defaultTheme: dark
@@ -54,4 +55,4 @@ layout: "archives" ex: here
 ·
 Theme️ PaperMod
 
\ No newline at end of file
+document.querySelectorAll('a[href^="#"]').forEach(anchor=>{anchor.addEventListener("click",function(e){e.preventDefault();document.querySelector(this.getAttribute("href")).scrollIntoView({behavior:"smooth"});});});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";}};function menu_on_scroll(){localStorage.setItem("menu-scroll-position",document.getElementById('menu').scrollLeft);}
\ No newline at end of file
diff --git a/posts/papermod/papermod-icons/index.html b/posts/papermod/papermod-icons/index.html
index f9c1e66c..dc12fe19 100644
--- a/posts/papermod/papermod-icons/index.html
+++ b/posts/papermod/papermod-icons/index.html
@@ -1,5 +1,6 @@
 Papermod - Icons - PaperMod

Papermod - Icons

Table of Contents

Social Icons

Usage :

socialIcons: # optional
+socialIcons: # optional - name: "" url: "" - name: "" url: ""    No. name platform link     1 123rf 123rf.com   2 adobestock stock.adobe.com   3 behance behance.net   4 codepen codepen.io   5 cryptohack cryptohack.org   6 dev dev.to   7 discogs discogs.com   8 dreamstime dreamstime.com   9 dribbble dribbble.">

Papermod - Icons

Table of Contents

Social Icons

Usage :

socialIcons: # optional
     - name: "<NAME>"
         url: "<link>"
     - name: "<NAME>"
@@ -12,4 +13,4 @@ socialIcons: # optional - name: "" url: "" - name: &
 ·
 Theme️ PaperMod
 
\ No newline at end of file
+document.querySelectorAll('a[href^="#"]').forEach(anchor=>{anchor.addEventListener("click",function(e){e.preventDefault();document.querySelector(this.getAttribute("href")).scrollIntoView({behavior:"smooth"});});});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";}};function menu_on_scroll(){localStorage.setItem("menu-scroll-position",document.getElementById('menu').scrollLeft);}
\ No newline at end of file
diff --git a/posts/papermod/papermod-installation/index.html b/posts/papermod/papermod-installation/index.html
index 51a54b05..2b9a92a7 100644
--- a/posts/papermod/papermod-installation/index.html
+++ b/posts/papermod/papermod-installation/index.html
@@ -3,7 +3,8 @@ After you have created a new site, at Step 3 follow the steps:
 Inside the folder of your Hugo site, run:
  git clone https://github.com/adityatelange/hugo-PaperMod themes/hugo-PaperMod --depth=1  Updating theme :
 cd themes/hugo-PaperMod git pull   or you can use as submodule with
- git submodule add https://github.com/adityatelange/hugo-PaperMod.git themes/hugo-PaperMod  Updating theme with submodule :">

Papermod - Installation

Follow this guide to setup hugo and create a new site. + git submodule add https://github.com/adityatelange/hugo-PaperMod.git themes/hugo-PaperMod Updating theme with submodule :">

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:

Inside the folder of your Hugo site, run:

git clone https://github.com/adityatelange/hugo-PaperMod themes/hugo-PaperMod --depth=1
 

Updating theme :

cd themes/hugo-PaperMod
 git pull
@@ -16,4 +17,4 @@ git pull
 ·
 Theme️ PaperMod
 
\ No newline at end of file
+document.querySelectorAll('a[href^="#"]').forEach(anchor=>{anchor.addEventListener("click",function(e){e.preventDefault();document.querySelector(this.getAttribute("href")).scrollIntoView({behavior:"smooth"});});});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";}};function menu_on_scroll(){localStorage.setItem("menu-scroll-position",document.getElementById('menu').scrollLeft);}
\ No newline at end of file
diff --git a/posts/papermod/papermod-variables/index.html b/posts/papermod/papermod-variables/index.html
index 7aee5bc4..ddb6e13d 100644
--- a/posts/papermod/papermod-variables/index.html
+++ b/posts/papermod/papermod-variables/index.html
@@ -1,8 +1,9 @@
 Papermod - Variables - PaperMod

Papermod - Variables
  [draft]

Variables in PaperMod

Below are variables used with this theme…

Site Variables

nametypeexample
ShowReadingTimebooleantrue | false
defaultThemestringlight | dark | auto
ShowShareButtonsbooleantrue | false

Page Variables

nametypeexample
showtocbooleantrue | false
tocopenbooleantrue | false
hidemetabooleantrue | false