This commit is contained in:
adityatelange
2020-07-27 09:05:14 +00:00
parent c6f77aa12b
commit 60a3b7ce03
28 changed files with 148 additions and 65 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,10 +1,17 @@
<!doctype html><html lang=en><head><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"><title>Posts - PaperMod</title><meta name=description content><meta name=author content><link href=https://adityatelange.github.io/hugo-PaperMod/css/stylesheet.min.f3cdc87b625181bd368156a4109e27bd9840d0c5e1fb6f08918c875e1ad5768a.css integrity="sha256-883Ie2JRgb02gVakEJ4nvZhA0MXh+28IkYyHXhrVdoo=" rel="preload stylesheet" as=style><link href=https://adityatelange.github.io/hugo-PaperMod/custom.css rel=stylesheet><link rel=apple-touch-icon href=https://adityatelange.github.io/hugo-PaperMod/apple-touch-icon.png><link rel=icon href=https://adityatelange.github.io/hugo-PaperMod/favicon.ico><meta name=generator content="Hugo 0.74.3"><link rel=alternate type=application/rss+xml href=https://adityatelange.github.io/hugo-PaperMod/posts/index.xml title=PaperMod></head><body class=list><header class=header><nav class=nav><p class=logo><a href=https://adityatelange.github.io/hugo-PaperMod/>PaperMod</a></p><ul class=menu><li><a href=/hugo-PaperMod/archives/>Archives</a></li><li><a href=/hugo-PaperMod/tags/>Tags</a></li><li><a href=/hugo-PaperMod/series/>Series</a></li><li><a href=/hugo-PaperMod/categories/>Categories</a></li></ul></nav></header><main class=main><header class=page-header><h1>Posts</h1></header><article class=post-entry><header class=entry-header><h2>2020Post<div class=entry-isdraft><sup>&nbsp&nbsp[draft]</sup></div></h2></header><section class=entry-content><p>This is a quote from Author4 and links to https://www.google.com.
...</p></section><footer class=entry-footer><time>July 23, 2020</time></footer><a class=entry-link href=https://adityatelange.github.io/hugo-PaperMod/posts/2020post/></a></article><article class=post-entry><header class=entry-header><h2>Markdown Syntax Guide<div class=entry-isdraft></div></h2></header><section 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.
<!doctype html><html lang=en><head><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"><title>Posts - PaperMod</title><meta name=description content><meta name=author content><link href=https://adityatelange.github.io/hugo-PaperMod/css/stylesheet.min.31add360831d74b025196fb4d8753cf9bcd63b4d1f163e854c7fde23847b6afa.css integrity="sha256-Ma3TYIMddLAlGW+02HU8+bzWO00fFj6FTH/eI4R7avo=" rel="preload stylesheet" as=style><link href=https://adityatelange.github.io/hugo-PaperMod/custom.css rel=stylesheet><link rel=apple-touch-icon href=https://adityatelange.github.io/hugo-PaperMod/apple-touch-icon.png><link rel=icon href=https://adityatelange.github.io/hugo-PaperMod/favicon.ico><meta name=generator content="Hugo 0.74.3"><link rel=alternate type=application/rss+xml href=https://adityatelange.github.io/hugo-PaperMod/posts/index.xml title=PaperMod></head><body class=list><header class=header><nav class=nav><p class=logo><a href=https://adityatelange.github.io/hugo-PaperMod/>PaperMod</a></p><ul class=menu><li><a href=/hugo-PaperMod/archives/>Archives</a></li><li><a href=/hugo-PaperMod/tags/>Tags</a></li><li><a href=/hugo-PaperMod/series/>Series</a></li><li><a href=/hugo-PaperMod/categories/>Categories</a></li></ul></nav></header><main class=main id=top><header class=page-header><h1>Posts</h1></header><article class=post-entry><header class=entry-header><h2>2020Post<div class=entry-isdraft><sup>&nbsp&nbsp[draft]</sup></div></h2></header><section class=entry-content><p>This is a quote from Author4 and links to https://www.google.com.
...</p></section><footer class=entry-footer><time>July 23, 2020</time>
.
1min read</footer><a class=entry-link href=https://adityatelange.github.io/hugo-PaperMod/posts/2020post/></a></article><article class=post-entry><header class=entry-header><h2>Markdown Syntax Guide<div class=entry-isdraft></div></h2></header><section 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></section><footer class=entry-footer><time>March 11, 2019</time>
.
3min read
. Hugo Authors</footer><a class=entry-link href=https://adityatelange.github.io/hugo-PaperMod/posts/markdown-syntax/></a></article><article class=post-entry><header class=entry-header><h2>Rich Content<div class=entry-isdraft></div></h2></header><section class=entry-content><p>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.
...</p></section><footer class=entry-footer><time>March 10, 2019</time>
.
1min read
. Hugo Authors</footer><a class=entry-link href=https://adityatelange.github.io/hugo-PaperMod/posts/rich-content/></a></article><footer class=page-footer><nav class=pagination><a class=next href=/hugo-PaperMod/posts/page/2/>Next Page »</a></nav></footer></main><footer class=footer><span>&copy; 2020 <a href=https://adityatelange.github.io/hugo-PaperMod/>PaperMod</a></span>
<span>&#183;</span>
<span>Powered by <a href=https://gohugo.io/ rel=noopener target=_blank>Hugo</a></span>
<span>&#183;</span>
<span>Theme <a href=https://github.com/adityatelange/hugo-PaperMod rel=noopener target=_blank>PaperMod</a></span></footer><script src=https://adityatelange.github.io/hugo-PaperMod/js/highlight.min.min.1724e28c9e1aab0429e6941c5413732d007f823433926603784b64f455b53a35.js integrity="sha256-FyTijJ4aqwQp5pQcVBNzLQB/gjQzkmYDeEtk9FW1OjU="></script><script>hljs.initHighlightingOnLoad();document.querySelectorAll('a[href^="#"]').forEach(anchor=>{anchor.addEventListener("click",function(e){e.preventDefault();document.querySelector(this.getAttribute("href")).scrollIntoView({behavior:"smooth"});});});</script></body></html>
<span>Theme <a href=https://github.com/adityatelange/hugo-PaperMod rel=noopener target=_blank>PaperMod</a></span></footer><a href=#top><button class=top-link id=top-link type=button><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 6"><path d="M12 6H0l6-6z"/></svg></button></a>
<script src=https://adityatelange.github.io/hugo-PaperMod/js/highlight.min.min.1724e28c9e1aab0429e6941c5413732d007f823433926603784b64f455b53a35.js integrity="sha256-FyTijJ4aqwQp5pQcVBNzLQB/gjQzkmYDeEtk9FW1OjU="></script><script>hljs.initHighlightingOnLoad();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";}};</script></body></html>

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
<!doctype html><html lang=en><head><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"><title>Math Typesetting - PaperMod</title><meta name=description content="Mathematical notation in a Hugo project can be enabled by using third party JavaScript libraries."><meta name=author content="Hugo Authors"><link href=https://adityatelange.github.io/hugo-PaperMod/css/stylesheet.min.f3cdc87b625181bd368156a4109e27bd9840d0c5e1fb6f08918c875e1ad5768a.css integrity="sha256-883Ie2JRgb02gVakEJ4nvZhA0MXh+28IkYyHXhrVdoo=" rel="preload stylesheet" as=style><link href=https://adityatelange.github.io/hugo-PaperMod/custom.css rel=stylesheet><link rel=apple-touch-icon href=https://adityatelange.github.io/hugo-PaperMod/apple-touch-icon.png><link rel=icon href=https://adityatelange.github.io/hugo-PaperMod/favicon.ico><meta name=generator content="Hugo 0.74.3"></head><body class=single><header class=header><nav class=nav><p class=logo><a href=https://adityatelange.github.io/hugo-PaperMod/>PaperMod</a></p><ul class=menu><li><a href=/hugo-PaperMod/archives/>Archives</a></li><li><a href=/hugo-PaperMod/tags/>Tags</a></li><li><a href=/hugo-PaperMod/series/>Series</a></li><li><a href=/hugo-PaperMod/categories/>Categories</a></li></ul></nav></header><main class=main><article class=post-single><header class=post-header><h1 class=post-title>Math Typesetting<div class=entry-isdraft></div></h1><div class=post-meta>Hugo Authors · March 8, 2019</div></header><div class=post-content><p>Mathematical notation in a Hugo project can be enabled by using third party JavaScript libraries.</p><p>In this example we will be using <a href=https://katex.org/>KaTeX</a></p><ul><li>Create a partial under <code>/layouts/partials/math.html</code></li><li>Within this partial reference the <a href=https://katex.org/docs/autorender.html>Auto-render Extension</a> or host these scripts locally.</li><li>Include the partial in your templates like so:</li></ul><div class=highlight><pre style=color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-bash data-lang=bash><span style=color:#f92672>{{</span> <span style=color:#66d9ef>if</span> or .Params.math .Site.Params.math <span style=color:#f92672>}}</span>
<!doctype html><html lang=en><head><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"><title>Math Typesetting - PaperMod</title><meta name=description content="Mathematical notation in a Hugo project can be enabled by using third party JavaScript libraries."><meta name=author content="Hugo Authors"><link href=https://adityatelange.github.io/hugo-PaperMod/css/stylesheet.min.31add360831d74b025196fb4d8753cf9bcd63b4d1f163e854c7fde23847b6afa.css integrity="sha256-Ma3TYIMddLAlGW+02HU8+bzWO00fFj6FTH/eI4R7avo=" rel="preload stylesheet" as=style><link href=https://adityatelange.github.io/hugo-PaperMod/custom.css rel=stylesheet><link rel=apple-touch-icon href=https://adityatelange.github.io/hugo-PaperMod/apple-touch-icon.png><link rel=icon href=https://adityatelange.github.io/hugo-PaperMod/favicon.ico><meta name=generator content="Hugo 0.74.3"></head><body class=single><header class=header><nav class=nav><p class=logo><a href=https://adityatelange.github.io/hugo-PaperMod/>PaperMod</a></p><ul class=menu><li><a href=/hugo-PaperMod/archives/>Archives</a></li><li><a href=/hugo-PaperMod/tags/>Tags</a></li><li><a href=/hugo-PaperMod/series/>Series</a></li><li><a href=/hugo-PaperMod/categories/>Categories</a></li></ul></nav></header><main class=main id=top><article class=post-single><header class=post-header><h1 class=post-title>Math Typesetting<div class=entry-isdraft></div></h1><div class=post-meta>Hugo Authors · March 8, 2019</div></header><div class=post-content><p>Mathematical notation in a Hugo project can be enabled by using third party JavaScript libraries.</p><p>In this example we will be using <a href=https://katex.org/>KaTeX</a></p><ul><li>Create a partial under <code>/layouts/partials/math.html</code></li><li>Within this partial reference the <a href=https://katex.org/docs/autorender.html>Auto-render Extension</a> or host these scripts locally.</li><li>Include the partial in your templates like so:</li></ul><div class=highlight><pre style=color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-bash data-lang=bash><span style=color:#f92672>{{</span> <span style=color:#66d9ef>if</span> or .Params.math .Site.Params.math <span style=color:#f92672>}}</span>
<span style=color:#f92672>{{</span> partial <span style=color:#e6db74>&#34;math.html&#34;</span> . <span style=color:#f92672>}}</span>
<span style=color:#f92672>{{</span> end <span style=color:#f92672>}}</span>
</code></pre></div><ul><li>To enable KaTex globally set the parameter <code>math</code> to <code>true</code> in a project&rsquo;s configuration</li><li>To enable KaTex on a per page basis include the parameter <code>math: true</code> in content files</li></ul><p><strong>Note:</strong> Use the online reference of <a href=https://katex.org/docs/supported.html>Supported TeX Functions</a></p><link rel=stylesheet href=https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.min.css integrity=sha384-zB1R0rpPzHqg7Kpt0Aljp8JPLqbXI3bhnPWROx27a9N0Ll6ZP/+DiW/UqRcLbRjq crossorigin=anonymous><script defer src=https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.min.js integrity=sha384-y23I5Q6l+B6vatafAwxRu/0oK/79VlbSz7Q9aiSZUvyWYIYsd+qj+o24G5ZU2zJz crossorigin=anonymous></script><script defer src=https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/contrib/auto-render.min.js integrity=sha384-kWPLUVMOks5AQFrykwIup5lo0m3iMkkHrD0uJ4H5cjeGihAutqP0yW0J6dpFiVkI crossorigin=anonymous onload=renderMathInElement(document.body);></script><h3 id=examples>Examples</h3><p>Inline math: \(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\)</p><p>Block math:
@ -8,4 +8,5 @@ $$</p></div></article></main><footer class=footer><span>&copy; 2020 <a href=http
<span>&#183;</span>
<span>Powered by <a href=https://gohugo.io/ rel=noopener target=_blank>Hugo</a></span>
<span>&#183;</span>
<span>Theme <a href=https://github.com/adityatelange/hugo-PaperMod rel=noopener target=_blank>PaperMod</a></span></footer><script src=https://adityatelange.github.io/hugo-PaperMod/js/highlight.min.min.1724e28c9e1aab0429e6941c5413732d007f823433926603784b64f455b53a35.js integrity="sha256-FyTijJ4aqwQp5pQcVBNzLQB/gjQzkmYDeEtk9FW1OjU="></script><script>hljs.initHighlightingOnLoad();document.querySelectorAll('a[href^="#"]').forEach(anchor=>{anchor.addEventListener("click",function(e){e.preventDefault();document.querySelector(this.getAttribute("href")).scrollIntoView({behavior:"smooth"});});});</script></body></html>
<span>Theme <a href=https://github.com/adityatelange/hugo-PaperMod rel=noopener target=_blank>PaperMod</a></span></footer><a href=#top><button class=top-link id=top-link type=button><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 6"><path d="M12 6H0l6-6z"/></svg></button></a>
<script src=https://adityatelange.github.io/hugo-PaperMod/js/highlight.min.min.1724e28c9e1aab0429e6941c5413732d007f823433926603784b64f455b53a35.js integrity="sha256-FyTijJ4aqwQp5pQcVBNzLQB/gjQzkmYDeEtk9FW1OjU="></script><script>hljs.initHighlightingOnLoad();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";}};</script></body></html>

View File

@ -1,11 +1,18 @@
<!doctype html><html lang=en><head><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"><title>Posts - PaperMod</title><meta name=description content><meta name=author content><link href=https://adityatelange.github.io/hugo-PaperMod/css/stylesheet.min.f3cdc87b625181bd368156a4109e27bd9840d0c5e1fb6f08918c875e1ad5768a.css integrity="sha256-883Ie2JRgb02gVakEJ4nvZhA0MXh+28IkYyHXhrVdoo=" rel="preload stylesheet" as=style><link href=https://adityatelange.github.io/hugo-PaperMod/custom.css rel=stylesheet><link rel=apple-touch-icon href=https://adityatelange.github.io/hugo-PaperMod/apple-touch-icon.png><link rel=icon href=https://adityatelange.github.io/hugo-PaperMod/favicon.ico><meta name=generator content="Hugo 0.74.3"><link rel=alternate type=application/rss+xml href=https://adityatelange.github.io/hugo-PaperMod/posts/index.xml title=PaperMod></head><body class=list><header class=header><nav class=nav><p class=logo><a href=https://adityatelange.github.io/hugo-PaperMod/>PaperMod</a></p><ul class=menu><li><a href=/hugo-PaperMod/archives/>Archives</a></li><li><a href=/hugo-PaperMod/tags/>Tags</a></li><li><a href=/hugo-PaperMod/series/>Series</a></li><li><a href=/hugo-PaperMod/categories/>Categories</a></li></ul></nav></header><main class=main><header class=page-header><h1>Posts</h1></header><article class=post-entry><header class=entry-header><h2>Placeholder Text<div class=entry-isdraft></div></h2></header><section class=entry-content><p>Lorem est tota propiore conpellat pectoribus de pectora summo.
<!doctype html><html lang=en><head><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"><title>Posts - PaperMod</title><meta name=description content><meta name=author content><link href=https://adityatelange.github.io/hugo-PaperMod/css/stylesheet.min.31add360831d74b025196fb4d8753cf9bcd63b4d1f163e854c7fde23847b6afa.css integrity="sha256-Ma3TYIMddLAlGW+02HU8+bzWO00fFj6FTH/eI4R7avo=" rel="preload stylesheet" as=style><link href=https://adityatelange.github.io/hugo-PaperMod/custom.css rel=stylesheet><link rel=apple-touch-icon href=https://adityatelange.github.io/hugo-PaperMod/apple-touch-icon.png><link rel=icon href=https://adityatelange.github.io/hugo-PaperMod/favicon.ico><meta name=generator content="Hugo 0.74.3"><link rel=alternate type=application/rss+xml href=https://adityatelange.github.io/hugo-PaperMod/posts/index.xml title=PaperMod></head><body class=list><header class=header><nav class=nav><p class=logo><a href=https://adityatelange.github.io/hugo-PaperMod/>PaperMod</a></p><ul class=menu><li><a href=/hugo-PaperMod/archives/>Archives</a></li><li><a href=/hugo-PaperMod/tags/>Tags</a></li><li><a href=/hugo-PaperMod/series/>Series</a></li><li><a href=/hugo-PaperMod/categories/>Categories</a></li></ul></nav></header><main class=main id=top><header class=page-header><h1>Posts</h1></header><article class=post-entry><header class=entry-header><h2>Placeholder Text<div class=entry-isdraft></div></h2></header><section class=entry-content><p>Lorem est tota propiore conpellat pectoribus de pectora summo.
...</p></section><footer class=entry-footer><time>March 9, 2019</time>
.
2min read
. Hugo Authors</footer><a class=entry-link href=https://adityatelange.github.io/hugo-PaperMod/posts/placeholder-text/></a></article><article class=post-entry><header class=entry-header><h2>Math Typesetting<div class=entry-isdraft></div></h2></header><section class=entry-content><p>Mathematical notation in a Hugo project can be enabled by using third party JavaScript libraries.
...</p></section><footer class=entry-footer><time>March 8, 2019</time>
.
1min read
. Hugo Authors</footer><a class=entry-link href=https://adityatelange.github.io/hugo-PaperMod/posts/math-typesetting/></a></article><article class=post-entry><header class=entry-header><h2>Emoji Support<div class=entry-isdraft></div></h2></header><section class=entry-content><p>Emoji can be enabled in a Hugo project in a number of ways.
...</p></section><footer class=entry-footer><time>March 5, 2019</time>
.
1min read
. Hugo Authors</footer><a class=entry-link href=https://adityatelange.github.io/hugo-PaperMod/posts/emoji-support/></a></article><footer class=page-footer><nav class=pagination><a class=prev href=/hugo-PaperMod/posts/>« Prev Page</a></nav></footer></main><footer class=footer><span>&copy; 2020 <a href=https://adityatelange.github.io/hugo-PaperMod/>PaperMod</a></span>
<span>&#183;</span>
<span>Powered by <a href=https://gohugo.io/ rel=noopener target=_blank>Hugo</a></span>
<span>&#183;</span>
<span>Theme <a href=https://github.com/adityatelange/hugo-PaperMod rel=noopener target=_blank>PaperMod</a></span></footer><script src=https://adityatelange.github.io/hugo-PaperMod/js/highlight.min.min.1724e28c9e1aab0429e6941c5413732d007f823433926603784b64f455b53a35.js integrity="sha256-FyTijJ4aqwQp5pQcVBNzLQB/gjQzkmYDeEtk9FW1OjU="></script><script>hljs.initHighlightingOnLoad();document.querySelectorAll('a[href^="#"]').forEach(anchor=>{anchor.addEventListener("click",function(e){e.preventDefault();document.querySelector(this.getAttribute("href")).scrollIntoView({behavior:"smooth"});});});</script></body></html>
<span>Theme <a href=https://github.com/adityatelange/hugo-PaperMod rel=noopener target=_blank>PaperMod</a></span></footer><a href=#top><button class=top-link id=top-link type=button><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 6"><path d="M12 6H0l6-6z"/></svg></button></a>
<script src=https://adityatelange.github.io/hugo-PaperMod/js/highlight.min.min.1724e28c9e1aab0429e6941c5413732d007f823433926603784b64f455b53a35.js integrity="sha256-FyTijJ4aqwQp5pQcVBNzLQB/gjQzkmYDeEtk9FW1OjU="></script><script>hljs.initHighlightingOnLoad();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";}};</script></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long