jekyll-bhautiki 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +21 -0
  3. data/README.md +121 -0
  4. data/_config.yml +149 -0
  5. data/_data/assets.yml +40 -0
  6. data/_data/messages.yml +17 -0
  7. data/_data/sections.yml +19 -0
  8. data/_data/socials.yml +31 -0
  9. data/_includes/footer.html +49 -0
  10. data/_includes/head.html +46 -0
  11. data/_includes/header.html +33 -0
  12. data/_includes/home/overview.html +37 -0
  13. data/_includes/home/title.html +4 -0
  14. data/_includes/navigation.html +37 -0
  15. data/_includes/post/title.html +8 -0
  16. data/_includes/post/toc.html +9 -0
  17. data/_includes/script.html +18 -0
  18. data/_includes/sidebar.html +9 -0
  19. data/_layouts/archive.html +43 -0
  20. data/_layouts/categories.html +32 -0
  21. data/_layouts/default.html +25 -0
  22. data/_layouts/home.html +33 -0
  23. data/_layouts/page.html +11 -0
  24. data/_layouts/post.html +11 -0
  25. data/_sass/common/feather.sass +16 -0
  26. data/_sass/common/image.sass +9 -0
  27. data/_sass/common/mode.sass +123 -0
  28. data/_sass/common/nav.sass +17 -0
  29. data/_sass/common/side.sass +15 -0
  30. data/_sass/common/syntax.sass +12 -0
  31. data/_sass/common/variables.sass +2 -0
  32. data/_sass/layouts/categories.sass +5 -0
  33. data/_sass/layouts/default.sass +10 -0
  34. data/_sass/main.sass +8 -0
  35. data/assets/css/bhautiki.sass +6 -0
  36. data/assets/external/feather-icons/js/feather.min.js +13 -0
  37. data/assets/external/feather-icons/js/feather.min.js.map +1 -0
  38. data/assets/external/foundation-sites/css/foundation.min.css +2 -0
  39. data/assets/external/foundation-sites/css/foundation.min.css.map +1 -0
  40. data/assets/external/foundation-sites/js/foundation.min.js +2 -0
  41. data/assets/external/foundation-sites/js/foundation.min.js.map +1 -0
  42. data/assets/external/img/dark-wood.png +0 -0
  43. data/assets/external/img/stardust.png +0 -0
  44. data/assets/external/img/textured-paper.png +0 -0
  45. data/assets/external/jquery/js/jquery.min.js +2 -0
  46. data/assets/external/mathjax/js/tex-mml-chtml.js +1 -0
  47. data/assets/external/pygments/css/default.css +75 -0
  48. data/assets/external/pygments/css/monokai.css +85 -0
  49. data/assets/external/tocbot/css/tocbot.css +1 -0
  50. data/assets/external/tocbot/js/tocbot.min.js +1 -0
  51. data/assets/img/bhautiki-samay.gif +0 -0
  52. data/assets/img/favicon/android-chrome-192x192.png +0 -0
  53. data/assets/img/favicon/android-chrome-512x512.png +0 -0
  54. data/assets/img/favicon/apple-touch-icon.png +0 -0
  55. data/assets/img/favicon/favicon-16x16.png +0 -0
  56. data/assets/img/favicon/favicon-32x32.png +0 -0
  57. data/assets/img/favicon/favicon.ico +0 -0
  58. data/assets/img/favicon/site.webmanifest +1 -0
  59. data/assets/js/main.js +2 -0
  60. data/assets/js/main.js.map +1 -0
  61. data/assets/js/post.js +2 -0
  62. data/assets/js/post.js.map +1 -0
  63. metadata +118 -0
@@ -0,0 +1,75 @@
1
+ pre { line-height: 125%; }
2
+ td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
3
+ span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
4
+ td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
5
+ span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
6
+ .highlight .hll { background-color: #ffffcc }
7
+ .highlight { background: #f8f8f8; }
8
+ .highlight .c { color: #3D7B7B; font-style: italic } /* Comment */
9
+ .highlight .err { border: 1px solid #FF0000 } /* Error */
10
+ .highlight .k { color: #008000; font-weight: bold } /* Keyword */
11
+ .highlight .o { color: #666666 } /* Operator */
12
+ .highlight .ch { color: #3D7B7B; font-style: italic } /* Comment.Hashbang */
13
+ .highlight .cm { color: #3D7B7B; font-style: italic } /* Comment.Multiline */
14
+ .highlight .cp { color: #9C6500 } /* Comment.Preproc */
15
+ .highlight .cpf { color: #3D7B7B; font-style: italic } /* Comment.PreprocFile */
16
+ .highlight .c1 { color: #3D7B7B; font-style: italic } /* Comment.Single */
17
+ .highlight .cs { color: #3D7B7B; font-style: italic } /* Comment.Special */
18
+ .highlight .gd { color: #A00000 } /* Generic.Deleted */
19
+ .highlight .ge { font-style: italic } /* Generic.Emph */
20
+ .highlight .ges { font-weight: bold; font-style: italic } /* Generic.EmphStrong */
21
+ .highlight .gr { color: #E40000 } /* Generic.Error */
22
+ .highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
23
+ .highlight .gi { color: #008400 } /* Generic.Inserted */
24
+ .highlight .go { color: #717171 } /* Generic.Output */
25
+ .highlight .gp { color: #000080; font-weight: bold } /* Generic.Prompt */
26
+ .highlight .gs { font-weight: bold } /* Generic.Strong */
27
+ .highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
28
+ .highlight .gt { color: #0044DD } /* Generic.Traceback */
29
+ .highlight .kc { color: #008000; font-weight: bold } /* Keyword.Constant */
30
+ .highlight .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */
31
+ .highlight .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */
32
+ .highlight .kp { color: #008000 } /* Keyword.Pseudo */
33
+ .highlight .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */
34
+ .highlight .kt { color: #B00040 } /* Keyword.Type */
35
+ .highlight .m { color: #666666 } /* Literal.Number */
36
+ .highlight .s { color: #BA2121 } /* Literal.String */
37
+ .highlight .na { color: #687822 } /* Name.Attribute */
38
+ .highlight .nb { color: #008000 } /* Name.Builtin */
39
+ .highlight .nc { color: #0000FF; font-weight: bold } /* Name.Class */
40
+ .highlight .no { color: #880000 } /* Name.Constant */
41
+ .highlight .nd { color: #AA22FF } /* Name.Decorator */
42
+ .highlight .ni { color: #717171; font-weight: bold } /* Name.Entity */
43
+ .highlight .ne { color: #CB3F38; font-weight: bold } /* Name.Exception */
44
+ .highlight .nf { color: #0000FF } /* Name.Function */
45
+ .highlight .nl { color: #767600 } /* Name.Label */
46
+ .highlight .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
47
+ .highlight .nt { color: #008000; font-weight: bold } /* Name.Tag */
48
+ .highlight .nv { color: #19177C } /* Name.Variable */
49
+ .highlight .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
50
+ .highlight .w { color: #bbbbbb } /* Text.Whitespace */
51
+ .highlight .mb { color: #666666 } /* Literal.Number.Bin */
52
+ .highlight .mf { color: #666666 } /* Literal.Number.Float */
53
+ .highlight .mh { color: #666666 } /* Literal.Number.Hex */
54
+ .highlight .mi { color: #666666 } /* Literal.Number.Integer */
55
+ .highlight .mo { color: #666666 } /* Literal.Number.Oct */
56
+ .highlight .sa { color: #BA2121 } /* Literal.String.Affix */
57
+ .highlight .sb { color: #BA2121 } /* Literal.String.Backtick */
58
+ .highlight .sc { color: #BA2121 } /* Literal.String.Char */
59
+ .highlight .dl { color: #BA2121 } /* Literal.String.Delimiter */
60
+ .highlight .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
61
+ .highlight .s2 { color: #BA2121 } /* Literal.String.Double */
62
+ .highlight .se { color: #AA5D1F; font-weight: bold } /* Literal.String.Escape */
63
+ .highlight .sh { color: #BA2121 } /* Literal.String.Heredoc */
64
+ .highlight .si { color: #A45A77; font-weight: bold } /* Literal.String.Interpol */
65
+ .highlight .sx { color: #008000 } /* Literal.String.Other */
66
+ .highlight .sr { color: #A45A77 } /* Literal.String.Regex */
67
+ .highlight .s1 { color: #BA2121 } /* Literal.String.Single */
68
+ .highlight .ss { color: #19177C } /* Literal.String.Symbol */
69
+ .highlight .bp { color: #008000 } /* Name.Builtin.Pseudo */
70
+ .highlight .fm { color: #0000FF } /* Name.Function.Magic */
71
+ .highlight .vc { color: #19177C } /* Name.Variable.Class */
72
+ .highlight .vg { color: #19177C } /* Name.Variable.Global */
73
+ .highlight .vi { color: #19177C } /* Name.Variable.Instance */
74
+ .highlight .vm { color: #19177C } /* Name.Variable.Magic */
75
+ .highlight .il { color: #666666 } /* Literal.Number.Integer.Long */
@@ -0,0 +1,85 @@
1
+ pre { line-height: 125%; }
2
+ td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
3
+ span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
4
+ td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
5
+ span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
6
+ .highlight .hll { background-color: #49483e }
7
+ .highlight { background: #272822; color: #f8f8f2 }
8
+ .highlight .c { color: #959077 } /* Comment */
9
+ .highlight .err { color: #ed007e; background-color: #1e0010 } /* Error */
10
+ .highlight .esc { color: #f8f8f2 } /* Escape */
11
+ .highlight .g { color: #f8f8f2 } /* Generic */
12
+ .highlight .k { color: #66d9ef } /* Keyword */
13
+ .highlight .l { color: #ae81ff } /* Literal */
14
+ .highlight .n { color: #f8f8f2 } /* Name */
15
+ .highlight .o { color: #ff4689 } /* Operator */
16
+ .highlight .x { color: #f8f8f2 } /* Other */
17
+ .highlight .p { color: #f8f8f2 } /* Punctuation */
18
+ .highlight .ch { color: #959077 } /* Comment.Hashbang */
19
+ .highlight .cm { color: #959077 } /* Comment.Multiline */
20
+ .highlight .cp { color: #959077 } /* Comment.Preproc */
21
+ .highlight .cpf { color: #959077 } /* Comment.PreprocFile */
22
+ .highlight .c1 { color: #959077 } /* Comment.Single */
23
+ .highlight .cs { color: #959077 } /* Comment.Special */
24
+ .highlight .gd { color: #ff4689 } /* Generic.Deleted */
25
+ .highlight .ge { color: #f8f8f2; font-style: italic } /* Generic.Emph */
26
+ .highlight .ges { color: #f8f8f2; font-weight: bold; font-style: italic } /* Generic.EmphStrong */
27
+ .highlight .gr { color: #f8f8f2 } /* Generic.Error */
28
+ .highlight .gh { color: #f8f8f2 } /* Generic.Heading */
29
+ .highlight .gi { color: #a6e22e } /* Generic.Inserted */
30
+ .highlight .go { color: #66d9ef } /* Generic.Output */
31
+ .highlight .gp { color: #ff4689; font-weight: bold } /* Generic.Prompt */
32
+ .highlight .gs { color: #f8f8f2; font-weight: bold } /* Generic.Strong */
33
+ .highlight .gu { color: #959077 } /* Generic.Subheading */
34
+ .highlight .gt { color: #f8f8f2 } /* Generic.Traceback */
35
+ .highlight .kc { color: #66d9ef } /* Keyword.Constant */
36
+ .highlight .kd { color: #66d9ef } /* Keyword.Declaration */
37
+ .highlight .kn { color: #ff4689 } /* Keyword.Namespace */
38
+ .highlight .kp { color: #66d9ef } /* Keyword.Pseudo */
39
+ .highlight .kr { color: #66d9ef } /* Keyword.Reserved */
40
+ .highlight .kt { color: #66d9ef } /* Keyword.Type */
41
+ .highlight .ld { color: #e6db74 } /* Literal.Date */
42
+ .highlight .m { color: #ae81ff } /* Literal.Number */
43
+ .highlight .s { color: #e6db74 } /* Literal.String */
44
+ .highlight .na { color: #a6e22e } /* Name.Attribute */
45
+ .highlight .nb { color: #f8f8f2 } /* Name.Builtin */
46
+ .highlight .nc { color: #a6e22e } /* Name.Class */
47
+ .highlight .no { color: #66d9ef } /* Name.Constant */
48
+ .highlight .nd { color: #a6e22e } /* Name.Decorator */
49
+ .highlight .ni { color: #f8f8f2 } /* Name.Entity */
50
+ .highlight .ne { color: #a6e22e } /* Name.Exception */
51
+ .highlight .nf { color: #a6e22e } /* Name.Function */
52
+ .highlight .nl { color: #f8f8f2 } /* Name.Label */
53
+ .highlight .nn { color: #f8f8f2 } /* Name.Namespace */
54
+ .highlight .nx { color: #a6e22e } /* Name.Other */
55
+ .highlight .py { color: #f8f8f2 } /* Name.Property */
56
+ .highlight .nt { color: #ff4689 } /* Name.Tag */
57
+ .highlight .nv { color: #f8f8f2 } /* Name.Variable */
58
+ .highlight .ow { color: #ff4689 } /* Operator.Word */
59
+ .highlight .pm { color: #f8f8f2 } /* Punctuation.Marker */
60
+ .highlight .w { color: #f8f8f2 } /* Text.Whitespace */
61
+ .highlight .mb { color: #ae81ff } /* Literal.Number.Bin */
62
+ .highlight .mf { color: #ae81ff } /* Literal.Number.Float */
63
+ .highlight .mh { color: #ae81ff } /* Literal.Number.Hex */
64
+ .highlight .mi { color: #ae81ff } /* Literal.Number.Integer */
65
+ .highlight .mo { color: #ae81ff } /* Literal.Number.Oct */
66
+ .highlight .sa { color: #e6db74 } /* Literal.String.Affix */
67
+ .highlight .sb { color: #e6db74 } /* Literal.String.Backtick */
68
+ .highlight .sc { color: #e6db74 } /* Literal.String.Char */
69
+ .highlight .dl { color: #e6db74 } /* Literal.String.Delimiter */
70
+ .highlight .sd { color: #e6db74 } /* Literal.String.Doc */
71
+ .highlight .s2 { color: #e6db74 } /* Literal.String.Double */
72
+ .highlight .se { color: #ae81ff } /* Literal.String.Escape */
73
+ .highlight .sh { color: #e6db74 } /* Literal.String.Heredoc */
74
+ .highlight .si { color: #e6db74 } /* Literal.String.Interpol */
75
+ .highlight .sx { color: #e6db74 } /* Literal.String.Other */
76
+ .highlight .sr { color: #e6db74 } /* Literal.String.Regex */
77
+ .highlight .s1 { color: #e6db74 } /* Literal.String.Single */
78
+ .highlight .ss { color: #e6db74 } /* Literal.String.Symbol */
79
+ .highlight .bp { color: #f8f8f2 } /* Name.Builtin.Pseudo */
80
+ .highlight .fm { color: #a6e22e } /* Name.Function.Magic */
81
+ .highlight .vc { color: #f8f8f2 } /* Name.Variable.Class */
82
+ .highlight .vg { color: #f8f8f2 } /* Name.Variable.Global */
83
+ .highlight .vi { color: #f8f8f2 } /* Name.Variable.Instance */
84
+ .highlight .vm { color: #f8f8f2 } /* Name.Variable.Magic */
85
+ .highlight .il { color: #ae81ff } /* Literal.Number.Integer.Long */
@@ -0,0 +1 @@
1
+ .toc{overflow-y:auto}.toc>.toc-list{overflow:hidden;position:relative}.toc>.toc-list li{list-style:none}.toc-list{margin:0;padding-left:10px}a.toc-link{color:currentColor;height:100%}.is-collapsible{max-height:1000px;overflow:hidden;transition:all 300ms ease-in-out}.is-collapsed{max-height:0}.is-position-fixed{position:fixed !important;top:0}.is-active-link{font-weight:700}.toc-link::before{background-color:#eee;content:" ";display:inline-block;height:inherit;left:0;margin-top:-1px;position:absolute;width:2px}.is-active-link::before{background-color:#54bc4b}
@@ -0,0 +1 @@
1
+ (()=>{var e={163:e=>{e.exports=function(e){var t,n=[].forEach,l=[].some,o=document.body,r=!0,i=" ";function s(t,l){var o,r,a,d=l.appendChild((o=t,r=document.createElement("li"),a=document.createElement("a"),e.listItemClass&&r.setAttribute("class",e.listItemClass),e.onClick&&(a.onclick=e.onClick),e.includeTitleTags&&a.setAttribute("title",o.textContent),e.includeHtml&&o.childNodes.length?n.call(o.childNodes,(function(e){a.appendChild(e.cloneNode(!0))})):a.textContent=o.textContent,a.setAttribute("href",e.basePath+"#"+o.id),a.setAttribute("class",e.linkClass+i+"node-name--"+o.nodeName+i+e.extraLinkClasses),r.appendChild(a),r));if(t.children.length){var u=c(t.isCollapsed);t.children.forEach((function(e){s(e,u)})),d.appendChild(u)}}function c(t){var n=e.orderedList?"ol":"ul",l=document.createElement(n),o=e.listClass+i+e.extraListClasses;return t&&(o=(o=o+i+e.collapsibleClass)+i+e.isCollapsedClass),l.setAttribute("class",o),l}function a(t){var n=0;return null!==t&&(n=t.offsetTop,e.hasInnerContainers&&(n+=a(t.offsetParent))),n}function d(e,t){return e&&e.className!==t&&(e.className=t),e}function u(t){return t&&-1!==t.className.indexOf(e.collapsibleClass)&&-1!==t.className.indexOf(e.isCollapsedClass)?(d(t,t.className.replace(i+e.isCollapsedClass,"")),u(t.parentNode.parentNode)):t}return{enableTocAnimation:function(){r=!0},disableTocAnimation:function(t){var n=t.target||t.srcElement;"string"==typeof n.className&&-1!==n.className.indexOf(e.linkClass)&&(r=!1)},render:function(e,n){var l=c(!1);if(n.forEach((function(e){s(e,l)})),null!==(t=e||t))return t.firstChild&&t.removeChild(t.firstChild),0===n.length?t:t.appendChild(l)},updateToc:function(s){var c;c=e.scrollContainer&&document.querySelector(e.scrollContainer)?document.querySelector(e.scrollContainer).scrollTop:document.documentElement.scrollTop||o.scrollTop,e.positionFixedSelector&&function(){var n;n=e.scrollContainer&&document.querySelector(e.scrollContainer)?document.querySelector(e.scrollContainer).scrollTop:document.documentElement.scrollTop||o.scrollTop;var l=document.querySelector(e.positionFixedSelector);"auto"===e.fixedSidebarOffset&&(e.fixedSidebarOffset=t.offsetTop),n>e.fixedSidebarOffset?-1===l.className.indexOf(e.positionFixedClass)&&(l.className+=i+e.positionFixedClass):l.className=l.className.replace(i+e.positionFixedClass,"")}();var f,m=s;if(r&&null!==t&&m.length>0){l.call(m,(function(t,n){return a(t)>c+e.headingsOffset+10?(f=m[0===n?n:n-1],!0):n===m.length-1?(f=m[m.length-1],!0):void 0}));var h=t.querySelector("."+e.activeLinkClass),p=t.querySelector("."+e.linkClass+".node-name--"+f.nodeName+'[href="'+e.basePath+"#"+f.id.replace(/([ #;&,.+*~':"!^$[\]()=>|/\\@])/g,"\\$1")+'"]');if(h===p)return;var C=t.querySelectorAll("."+e.linkClass);n.call(C,(function(t){d(t,t.className.replace(i+e.activeLinkClass,""))}));var g=t.querySelectorAll("."+e.listItemClass);n.call(g,(function(t){d(t,t.className.replace(i+e.activeListItemClass,""))})),p&&-1===p.className.indexOf(e.activeLinkClass)&&(p.className+=i+e.activeLinkClass);var v=p&&p.parentNode;v&&-1===v.className.indexOf(e.activeListItemClass)&&(v.className+=i+e.activeListItemClass);var S=t.querySelectorAll("."+e.listClass+"."+e.collapsibleClass);n.call(S,(function(t){-1===t.className.indexOf(e.isCollapsedClass)&&(t.className+=i+e.isCollapsedClass)})),p&&p.nextSibling&&-1!==p.nextSibling.className.indexOf(e.isCollapsedClass)&&d(p.nextSibling,p.nextSibling.className.replace(i+e.isCollapsedClass,"")),u(p&&p.parentNode.parentNode)}}}}},547:e=>{e.exports={tocSelector:".js-toc",contentSelector:".js-toc-content",headingSelector:"h1, h2, h3",ignoreSelector:".js-toc-ignore",hasInnerContainers:!1,linkClass:"toc-link",extraLinkClasses:"",activeLinkClass:"is-active-link",listClass:"toc-list",extraListClasses:"",isCollapsedClass:"is-collapsed",collapsibleClass:"is-collapsible",listItemClass:"toc-list-item",activeListItemClass:"is-active-li",collapseDepth:0,scrollSmooth:!0,scrollSmoothDuration:420,scrollSmoothOffset:0,scrollEndCallback:function(e){},headingsOffset:1,throttleTimeout:50,positionFixedSelector:null,positionFixedClass:"is-position-fixed",fixedSidebarOffset:"auto",includeHtml:!1,includeTitleTags:!1,onClick:function(e){},orderedList:!0,scrollContainer:null,skipRendering:!1,headingLabelCallback:!1,ignoreHiddenElements:!1,headingObjectCallback:null,basePath:"",disableTocScrollSync:!1,tocScrollOffset:0}},971:(e,t,n)=>{var l,o,r;o=[],void 0===(r="function"==typeof(l=function(e){"use strict";var t,l,o,r=n(547),i={},s={},c=n(163),a=n(279),d=n(938),u=!!(e&&e.document&&e.document.querySelector&&e.addEventListener);if("undefined"!=typeof window||u){var f=Object.prototype.hasOwnProperty;return s.destroy=function(){var e=h(i);null!==e&&(i.skipRendering||e&&(e.innerHTML=""),i.scrollContainer&&document.querySelector(i.scrollContainer)?(document.querySelector(i.scrollContainer).removeEventListener("scroll",this._scrollListener,!1),document.querySelector(i.scrollContainer).removeEventListener("resize",this._scrollListener,!1),t&&document.querySelector(i.scrollContainer).removeEventListener("click",this._clickListener,!1)):(document.removeEventListener("scroll",this._scrollListener,!1),document.removeEventListener("resize",this._scrollListener,!1),t&&document.removeEventListener("click",this._clickListener,!1)))},s.init=function(e){if(u){i=function(){for(var e={},t=0;t<arguments.length;t++){var n=arguments[t];for(var l in n)f.call(n,l)&&(e[l]=n[l])}return e}(r,e||{}),this.options=i,this.state={},i.scrollSmooth&&(i.duration=i.scrollSmoothDuration,i.offset=i.scrollSmoothOffset,s.scrollSmooth=n(374).initSmoothScrolling(i)),t=c(i),l=a(i),this._buildHtml=t,this._parseContent=l,this._headingsArray=o,s.destroy();var p=function(e){try{return e.contentElement||document.querySelector(e.contentSelector)}catch(t){return console.warn("Contents element not found: "+e.contentSelector),null}}(i);if(null!==p){var C=h(i);if(null!==C&&null!==(o=l.selectHeadings(p,i.headingSelector))){var g=l.nestHeadingsArray(o).nest;if(i.skipRendering)return this;t.render(C,g),this._scrollListener=m((function(e){t.updateToc(o),!i.disableTocScrollSync&&d(i);var n=e&&e.target&&e.target.scrollingElement&&0===e.target.scrollingElement.scrollTop;(e&&(0===e.eventPhase||null===e.currentTarget)||n)&&(t.updateToc(o),i.scrollEndCallback&&i.scrollEndCallback(e))}),i.throttleTimeout),this._scrollListener(),i.scrollContainer&&document.querySelector(i.scrollContainer)?(document.querySelector(i.scrollContainer).addEventListener("scroll",this._scrollListener,!1),document.querySelector(i.scrollContainer).addEventListener("resize",this._scrollListener,!1)):(document.addEventListener("scroll",this._scrollListener,!1),document.addEventListener("resize",this._scrollListener,!1));var v=null;return this._clickListener=m((function(e){i.scrollSmooth&&t.disableTocAnimation(e),t.updateToc(o),v&&clearTimeout(v),v=setTimeout((function(){t.enableTocAnimation()}),i.scrollSmoothDuration)}),i.throttleTimeout),i.scrollContainer&&document.querySelector(i.scrollContainer)?document.querySelector(i.scrollContainer).addEventListener("click",this._clickListener,!1):document.addEventListener("click",this._clickListener,!1),this}}}},s.refresh=function(e){s.destroy(),s.init(e||this.options)},e.tocbot=s,s}function m(e,t,n){var l,o;return t||(t=250),function(){var r=n||this,i=+new Date,s=arguments;l&&i<l+t?(clearTimeout(o),o=setTimeout((function(){l=i,e.apply(r,s)}),t)):(l=i,e.apply(r,s))}}function h(e){try{return e.tocElement||document.querySelector(e.tocSelector)}catch(t){return console.warn("TOC element not found: "+e.tocSelector),null}}}(void 0!==n.g?n.g:window||n.g))?l.apply(t,o):l)||(e.exports=r)},279:e=>{e.exports=function(e){var t=[].reduce;function n(e){return e[e.length-1]}function l(e){return+e.nodeName.toUpperCase().replace("H","")}function o(t){if(!function(e){try{return e instanceof window.HTMLElement||e instanceof window.parent.HTMLElement}catch(t){return e instanceof window.HTMLElement}}(t))return t;if(e.ignoreHiddenElements&&(!t.offsetHeight||!t.offsetParent))return null;const n=t.getAttribute("data-heading-label")||(e.headingLabelCallback?String(e.headingLabelCallback(t.innerText)):(t.innerText||t.textContent).trim());var o={id:t.id,children:[],nodeName:t.nodeName,headingLevel:l(t),textContent:n};return e.includeHtml&&(o.childNodes=t.childNodes),e.headingObjectCallback?e.headingObjectCallback(o,t):o}return{nestHeadingsArray:function(l){return t.call(l,(function(t,l){var r=o(l);return r&&function(t,l){for(var r=o(t),i=r.headingLevel,s=l,c=n(s),a=i-(c?c.headingLevel:0);a>0&&(!(c=n(s))||i!==c.headingLevel);)c&&void 0!==c.children&&(s=c.children),a--;i>=e.collapseDepth&&(r.isCollapsed=!0),s.push(r)}(r,t.nest),t}),{nest:[]})},selectHeadings:function(t,n){var l=n;e.ignoreSelector&&(l=n.split(",").map((function(t){return t.trim()+":not("+e.ignoreSelector+")"})));try{return t.querySelectorAll(l)}catch(e){return console.warn("Headers not found with selector: "+l),null}}}}},374:(e,t)=>{t.initSmoothScrolling=function(e){var t=e.duration,n=e.offset,l=location.hash?o(location.href):location.href;function o(e){return e.slice(0,e.lastIndexOf("#"))}document.body.addEventListener("click",(function(r){var i;"a"!==(i=r.target).tagName.toLowerCase()||!(i.hash.length>0||"#"===i.href.charAt(i.href.length-1))||o(i.href)!==l&&o(i.href)+"#"!==l||r.target.className.indexOf("no-smooth-scroll")>-1||"#"===r.target.href.charAt(r.target.href.length-2)&&"!"===r.target.href.charAt(r.target.href.length-1)||-1===r.target.className.indexOf(e.linkClass)||function(e,t){var n,l,o=window.pageYOffset,r={duration:t.duration,offset:t.offset||0,callback:t.callback,easing:t.easing||function(e,t,n,l){return(e/=l/2)<1?n/2*e*e+t:-n/2*(--e*(e-2)-1)+t}},i=document.querySelector('[id="'+decodeURI(e).split("#").join("")+'"]')||document.querySelector('[id="'+e.split("#").join("")+'"]'),s="string"==typeof e?r.offset+(e?i&&i.getBoundingClientRect().top||0:-(document.documentElement.scrollTop||document.body.scrollTop)):e,c="function"==typeof r.duration?r.duration(s):r.duration;function a(e){l=e-n,window.scrollTo(0,r.easing(l,o,s,c)),l<c?requestAnimationFrame(a):(window.scrollTo(0,o+s),"function"==typeof r.callback&&r.callback())}requestAnimationFrame((function(e){n=e,a(e)}))}(r.target.hash,{duration:t,offset:n,callback:function(){var e,t;e=r.target.hash,(t=document.getElementById(e.substring(1)))&&(/^(?:a|select|input|button|textarea)$/i.test(t.tagName)||(t.tabIndex=-1),t.focus())}})}),!1)}},938:e=>{e.exports=function(e){var t=e.tocElement||document.querySelector(e.tocSelector);if(t&&t.scrollHeight>t.clientHeight){var n=t.querySelector("."+e.activeListItemClass);if(n){var l=t.scrollTop,o=l+t.clientHeight,r=n.offsetTop,i=r+n.clientHeight;r<l+e.tocScrollOffset?t.scrollTop-=l-r+e.tocScrollOffset:i>o-e.tocScrollOffset-30&&(t.scrollTop+=i-o+e.tocScrollOffset+60)}}}}},t={};function n(l){var o=t[l];if(void 0!==o)return o.exports;var r=t[l]={exports:{}};return e[l](r,r.exports,n),r.exports}n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n(971)})();
Binary file
Binary file
@@ -0,0 +1 @@
1
+ {"name":"bhautiki","short_name":"bhautiki","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"}
data/assets/js/main.js ADDED
@@ -0,0 +1,2 @@
1
+ (()=>{let e,t;let o=()=>{feather.replace()},s="data-theme",a="dark",n="light",i="mode";function m(){document.documentElement.setAttribute(s,a),$("#mode").find("svg").replaceWith('<i data-feather="sun"></i>'),o()}function d(){document.documentElement.setAttribute(s,n),$("#mode").find("svg").replaceWith('<i data-feather="moon"></i>'),o()}o(),$(document).foundation(),e=window.matchMedia("(prefers-color-scheme: dark)"),(t=sessionStorage.getItem(i))==a?m():t==n?d():(e.matches?m():d(),sessionStorage.setItem(i,"")),$("#mode").on("click",()=>{$("#mode").find("svg").hasClass("feather-moon")?(m(),sessionStorage.setItem(i,a)):(d(),sessionStorage.setItem(i,n))})})();
2
+ //# sourceMappingURL=main.js.map
@@ -0,0 +1 @@
1
+ {"mappings":"A,C,SIgCQ,EACA,EFjCD,IAAM,EAAQ,KACjB,QAAQ,OAAO,EACnB,EEEM,EAAY,aACZ,EAAO,OACP,EAAQ,QACR,EAAO,OAEb,SAAS,IACL,SAAS,eAAe,CAAC,YAAY,CAAC,EAAW,GACjD,EAAE,SAAS,IAAI,CAAC,OAAO,WAAW,CATnB,8BAUf,AAAA,GACJ,CAEA,SAAS,IACL,SAAS,eAAe,CAAC,YAAY,CAAC,EAAW,GACjD,EAAE,SAAS,IAAI,CAAC,OAAO,WAAW,CAdpB,+BAed,AAAA,GACJ,CHfA,AAAA,IEHI,EAAE,UAAU,UAAU,GC+BlB,EAAoB,OAAO,UAAU,CAAC,gCAGtC,CAFA,EAAO,eAAe,OAAO,CAAC,KAEtB,EACR,IACO,GAAQ,EACf,KAhBA,AAkBgB,EAlBE,OAAO,CACzB,IAEA,IAGJ,eAAe,OAAO,CAAC,EAAM,KAiB7B,EAAE,SAAS,EAAE,CAAC,QAAS,KACf,EAAE,SAAS,IAAI,CAAC,OAAO,QAAQ,CAAC,iBAChC,IACA,eAAe,OAAO,CAAC,EAAM,KAE7B,IACA,eAAe,OAAO,CAAC,EAAM,GAErC,E,C","sources":["<anon>","_scripts/main.js","_scripts/common/feather.js","_scripts/common/foundation.js","_scripts/common/theme.js"],"sourcesContent":["(() => {\nconst $0abaf8754d6d68dc$export$df03f54e09e486fa = ()=>{\n feather.replace();\n};\n\n\nconst $88ef8f78f6164e41$export$aa72436c99aff8fd = ()=>{\n $(document).foundation();\n};\n\n\n\nconst $77af9af8a83584ec$var$LIGHT_ICON = '<i data-feather=\"sun\"></i>';\nconst $77af9af8a83584ec$var$DARK_ICON = '<i data-feather=\"moon\"></i>';\nconst $77af9af8a83584ec$var$ATTRIBUTE = \"data-theme\";\nconst $77af9af8a83584ec$var$DARK = \"dark\";\nconst $77af9af8a83584ec$var$LIGHT = \"light\";\nconst $77af9af8a83584ec$var$MODE = \"mode\";\nfunction $77af9af8a83584ec$var$setDarkMode() {\n document.documentElement.setAttribute($77af9af8a83584ec$var$ATTRIBUTE, $77af9af8a83584ec$var$DARK);\n $(\"#mode\").find(\"svg\").replaceWith($77af9af8a83584ec$var$LIGHT_ICON);\n (0, $0abaf8754d6d68dc$export$df03f54e09e486fa)();\n}\nfunction $77af9af8a83584ec$var$setLightMode() {\n document.documentElement.setAttribute($77af9af8a83584ec$var$ATTRIBUTE, $77af9af8a83584ec$var$LIGHT);\n $(\"#mode\").find(\"svg\").replaceWith($77af9af8a83584ec$var$DARK_ICON);\n (0, $0abaf8754d6d68dc$export$df03f54e09e486fa)();\n}\nfunction $77af9af8a83584ec$var$setPreferedMode(systemPrefersDark) {\n if (systemPrefersDark.matches) $77af9af8a83584ec$var$setDarkMode();\n else $77af9af8a83584ec$var$setLightMode();\n sessionStorage.setItem($77af9af8a83584ec$var$MODE, \"\");\n}\nconst $77af9af8a83584ec$export$d4f039427a1beff1 = ()=>{\n let systemPrefersDark = window.matchMedia(\"(prefers-color-scheme: dark)\");\n let mode = sessionStorage.getItem($77af9af8a83584ec$var$MODE);\n if (mode == $77af9af8a83584ec$var$DARK) $77af9af8a83584ec$var$setDarkMode();\n else if (mode == $77af9af8a83584ec$var$LIGHT) $77af9af8a83584ec$var$setLightMode();\n else $77af9af8a83584ec$var$setPreferedMode(systemPrefersDark);\n};\nconst $77af9af8a83584ec$export$c43e41d2ed1b3347 = ()=>{\n $(\"#mode\").on(\"click\", ()=>{\n if ($(\"#mode\").find(\"svg\").hasClass(\"feather-moon\")) {\n $77af9af8a83584ec$var$setDarkMode();\n sessionStorage.setItem($77af9af8a83584ec$var$MODE, $77af9af8a83584ec$var$DARK);\n } else {\n $77af9af8a83584ec$var$setLightMode();\n sessionStorage.setItem($77af9af8a83584ec$var$MODE, $77af9af8a83584ec$var$LIGHT);\n }\n });\n};\nvar $77af9af8a83584ec$export$2e2bcd8739ae039 = {\n switchMode: $77af9af8a83584ec$export$c43e41d2ed1b3347,\n setMode: $77af9af8a83584ec$export$d4f039427a1beff1\n};\n\n\n(0, $0abaf8754d6d68dc$export$df03f54e09e486fa)();\n(0, $88ef8f78f6164e41$export$aa72436c99aff8fd)();\n(0, $77af9af8a83584ec$export$d4f039427a1beff1)();\n(0, $77af9af8a83584ec$export$c43e41d2ed1b3347)();\n\n})();\n//# sourceMappingURL=main.js.map\n","import { icons } from \"./common/feather\";\nimport { initializeBaseStyle } from \"./common/foundation\";\nimport { setMode, switchMode } from \"./common/theme\";\n\nicons();\ninitializeBaseStyle();\n\nsetMode();\nswitchMode();\n","export const icons = () => {\n feather.replace();\n}\n","export const initializeBaseStyle = () => {\n $(document).foundation();\n}\n","import { icons } from \"./feather\";\n\nconst LIGHT_ICON = \"<i data-feather=\\\"sun\\\"></i>\"\nconst DARK_ICON = \"<i data-feather=\\\"moon\\\"></i>\"\nconst ATTRIBUTE = \"data-theme\"\nconst DARK = \"dark\"\nconst LIGHT = \"light\"\nconst MODE = \"mode\"\n\nfunction setDarkMode() {\n document.documentElement.setAttribute(ATTRIBUTE, DARK);\n $(\"#mode\").find(\"svg\").replaceWith(LIGHT_ICON);\n icons();\n}\n\nfunction setLightMode() {\n document.documentElement.setAttribute(ATTRIBUTE, LIGHT);\n $(\"#mode\").find(\"svg\").replaceWith(DARK_ICON);\n icons();\n}\n\nfunction setPreferedMode(systemPrefersDark) {\n if (systemPrefersDark.matches) {\n setDarkMode();\n } else {\n setLightMode();\n }\n\n sessionStorage.setItem(MODE, '');\n}\n\nexport const setMode = () => {\n let systemPrefersDark = window.matchMedia(\"(prefers-color-scheme: dark)\");\n let mode = sessionStorage.getItem(MODE);\n \n if (mode == DARK) {\n setDarkMode();\n } else if (mode == LIGHT) {\n setLightMode();\n } else {\n setPreferedMode(systemPrefersDark);\n }\n}\n\nexport const switchMode = () => {\n $(\"#mode\").on(\"click\", () => {\n if ($(\"#mode\").find(\"svg\").hasClass(\"feather-moon\")) {\n setDarkMode();\n sessionStorage.setItem(MODE, DARK);\n } else {\n setLightMode();\n sessionStorage.setItem(MODE, LIGHT);\n }\n });\n}\n\nexport default {switchMode, setMode};\n"],"names":["systemPrefersDark","mode","$0abaf8754d6d68dc$export$df03f54e09e486fa","feather","replace","$77af9af8a83584ec$var$ATTRIBUTE","$77af9af8a83584ec$var$DARK","$77af9af8a83584ec$var$LIGHT","$77af9af8a83584ec$var$MODE","$77af9af8a83584ec$var$setDarkMode","document","documentElement","setAttribute","$","find","replaceWith","$77af9af8a83584ec$var$setLightMode","foundation","window","matchMedia","sessionStorage","getItem","matches","setItem","on","hasClass"],"version":3,"file":"main.js.map"}
data/assets/js/post.js ADDED
@@ -0,0 +1,2 @@
1
+ tocbot.init({tocSelector:".js-toc",contentSelector:".js-toc-content",headingSelector:"h2, h3, h4, h5, h6",hasInnerContainers:!0,scrollSmooth:!1,orderedList:!1}),tocbot.refresh();
2
+ //# sourceMappingURL=post.js.map
@@ -0,0 +1 @@
1
+ {"mappings":"AECI,OAAO,IAAI,CAAC,CAIR,YAAa,UAEb,gBAAiB,kBAEjB,gBAAiB,qBAEjB,mBAAoB,CAAA,EAEpB,aAAc,CAAA,EAGd,YAAa,CAAA,CACjB,GAEA,OAAO,OAAO","sources":["<anon>","_scripts/post.js","_scripts/components/toc.js"],"sourcesContent":["(() => {\nconst $ecde545a677d54fb$export$7f73341d82aa0ab = ()=>{\n tocbot.init({\n // Options: https://tscanlin.github.io/tocbot/\n // Where to render the table of contents.\n tocSelector: \".js-toc\",\n // Where to grab the headings to build the table of contents.\n contentSelector: \".js-toc-content\",\n // Which headings to grab inside of the contentSelector element.\n headingSelector: \"h2, h3, h4, h5, h6\",\n // For headings inside relative or absolute positioned containers within content.\n hasInnerContainers: true,\n // Smooth scrolling enabled.\n scrollSmooth: false,\n // orderedList can be set to false to generate unordered lists (ul)\n // instead of ordered lists (ol)\n orderedList: false\n });\n tocbot.refresh();\n};\n\n\n(0, $ecde545a677d54fb$export$7f73341d82aa0ab)();\n\n})();\n//# sourceMappingURL=post.js.map\n","import { toc } from \"./components/toc\";\n\ntoc();\n","export const toc = () => {\n tocbot.init({\n // Options: https://tscanlin.github.io/tocbot/\n \n // Where to render the table of contents.\n tocSelector: '.js-toc',\n // Where to grab the headings to build the table of contents.\n contentSelector: '.js-toc-content',\n // Which headings to grab inside of the contentSelector element.\n headingSelector: 'h2, h3, h4, h5, h6',\n // For headings inside relative or absolute positioned containers within content.\n hasInnerContainers: true,\n // Smooth scrolling enabled.\n scrollSmooth: false,\n // orderedList can be set to false to generate unordered lists (ul)\n // instead of ordered lists (ol)\n orderedList: false,\n });\n\n tocbot.refresh();\n}\n"],"names":["tocbot","init","tocSelector","contentSelector","headingSelector","hasInnerContainers","scrollSmooth","orderedList","refresh"],"version":3,"file":"post.js.map"}
metadata ADDED
@@ -0,0 +1,118 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jekyll-bhautiki
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Pawan Mishra
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2024-01-12 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: jekyll
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '4.3'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '4.3'
27
+ description:
28
+ email:
29
+ - pawanmsr@outlook.com
30
+ executables: []
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - LICENSE
35
+ - README.md
36
+ - _config.yml
37
+ - _data/assets.yml
38
+ - _data/messages.yml
39
+ - _data/sections.yml
40
+ - _data/socials.yml
41
+ - _includes/footer.html
42
+ - _includes/head.html
43
+ - _includes/header.html
44
+ - _includes/home/overview.html
45
+ - _includes/home/title.html
46
+ - _includes/navigation.html
47
+ - _includes/post/title.html
48
+ - _includes/post/toc.html
49
+ - _includes/script.html
50
+ - _includes/sidebar.html
51
+ - _layouts/archive.html
52
+ - _layouts/categories.html
53
+ - _layouts/default.html
54
+ - _layouts/home.html
55
+ - _layouts/page.html
56
+ - _layouts/post.html
57
+ - _sass/common/feather.sass
58
+ - _sass/common/image.sass
59
+ - _sass/common/mode.sass
60
+ - _sass/common/nav.sass
61
+ - _sass/common/side.sass
62
+ - _sass/common/syntax.sass
63
+ - _sass/common/variables.sass
64
+ - _sass/layouts/categories.sass
65
+ - _sass/layouts/default.sass
66
+ - _sass/main.sass
67
+ - assets/css/bhautiki.sass
68
+ - assets/external/feather-icons/js/feather.min.js
69
+ - assets/external/feather-icons/js/feather.min.js.map
70
+ - assets/external/foundation-sites/css/foundation.min.css
71
+ - assets/external/foundation-sites/css/foundation.min.css.map
72
+ - assets/external/foundation-sites/js/foundation.min.js
73
+ - assets/external/foundation-sites/js/foundation.min.js.map
74
+ - assets/external/img/dark-wood.png
75
+ - assets/external/img/stardust.png
76
+ - assets/external/img/textured-paper.png
77
+ - assets/external/jquery/js/jquery.min.js
78
+ - assets/external/mathjax/js/tex-mml-chtml.js
79
+ - assets/external/pygments/css/default.css
80
+ - assets/external/pygments/css/monokai.css
81
+ - assets/external/tocbot/css/tocbot.css
82
+ - assets/external/tocbot/js/tocbot.min.js
83
+ - assets/img/bhautiki-samay.gif
84
+ - assets/img/favicon/android-chrome-192x192.png
85
+ - assets/img/favicon/android-chrome-512x512.png
86
+ - assets/img/favicon/apple-touch-icon.png
87
+ - assets/img/favicon/favicon-16x16.png
88
+ - assets/img/favicon/favicon-32x32.png
89
+ - assets/img/favicon/favicon.ico
90
+ - assets/img/favicon/site.webmanifest
91
+ - assets/js/main.js
92
+ - assets/js/main.js.map
93
+ - assets/js/post.js
94
+ - assets/js/post.js.map
95
+ homepage: https://github.com/pawanmsr/jekyll-bhautiki
96
+ licenses:
97
+ - MIT
98
+ metadata: {}
99
+ post_install_message:
100
+ rdoc_options: []
101
+ require_paths:
102
+ - lib
103
+ required_ruby_version: !ruby/object:Gem::Requirement
104
+ requirements:
105
+ - - ">="
106
+ - !ruby/object:Gem::Version
107
+ version: '0'
108
+ required_rubygems_version: !ruby/object:Gem::Requirement
109
+ requirements:
110
+ - - ">="
111
+ - !ruby/object:Gem::Version
112
+ version: '0'
113
+ requirements: []
114
+ rubygems_version: 3.5.4
115
+ signing_key:
116
+ specification_version: 4
117
+ summary: Physics inspired feature-rich Jekyll theme with Math support.
118
+ test_files: []