arnaucube
arnaucube/arnaucube.comPublic Self-hosted repository
arnaucube.com/blogo-input/index.html
blogo-input/index.htmlRaw
  1<!DOCTYPE html>
  2<html lang="en">
  3
  4  <head>
  5    <meta name="description" content="[blogo-summary]" />
  6    <meta charset="utf-8">
  7    <title>[blogo-title]</title>
  8    <meta name="title" content="[blogo-title]">
  9    <meta name="description" content="[blogo-summary]">
 10
 11    <meta property="og:title" content="[blogo-title]" />
 12    <meta property="og:description" content="[blogo-summary]" />
 13    <meta property="og:url" content="[blogo-link]" />
 14    <meta property="og:type" content="article" />
 15    <meta property="og:image" content="[blogo-img]" />
 16    <meta name="twitter:title" content="[blogo-title]">
 17    <meta name="twitter:description" content="[blogo-summary]">
 18    <meta name="twitter:image" content="[blogo-img]">
 19    <meta name="twitter:card" content="summary_large_image">
 20    <meta name="author" content="arnaucube">
 21
 22    <link rel="icon" type="image/png" href="img/logoArnauCubeFavicon.png">
 23
 24    <meta name="viewport" content="width=device-width, initial-scale=1">
 25
 26    <link href="css/bootstrap.min.css" rel="stylesheet">
 27    <link rel="stylesheet" href="css/style.css">
 28
 29    <!-- highlightjs -->
 30    <!-- <link rel="stylesheet" href="js/highlightjs/atom-one-dark.css"> -->
 31    <link rel="stylesheet" href="js/highlightjs/atom-one-light.css">
 32    <!-- <link rel="stylesheet" href="js/highlightjs/gruvbox-dark.css"> -->
 33    <script src="js/highlightjs/highlight.pack.js"></script>
 34
 35    <!-- katex -->
 36    <link rel="stylesheet" href="js/katex/katex.min.css">
 37  </head>
 38
 39  <body>
 40
 41    <!-- o_gradient_background" -->
 42    <nav id="mainNav" class="navbar navbar-default navbar-fixed-top"
 43                      style="height:50px;font-size:130%;">
 44      <div class="container">
 45        <div style="float:left;">
 46        <a href="/blog" style="color:#000;display:inline-block;">Blog index</a>
 47        <span style="margin-right:20px; margin-left:20px;">|</span>
 48        <a href="/blog/notes.html" style="font-size:90%;color:#000;display:inline-block;">other-notes</a>
 49        </div>
 50        <div style="float:right;">
 51          <a href="/" style="color:#000;display:inline-block;">arnaucube.com</a>
 52          <div class="onoffswitch" style="margin:10px;display:inline-block;" title="change theme">
 53            <input onclick="switchTheme()" type="checkbox" name="onoffswitch" class="onoffswitch-checkbox"
 54              id="themeSwitcher">
 55            <label class="onoffswitch-label" for="themeSwitcher"></label>
 56          </div>
 57        </div>
 58      </div>
 59      <img style="height:5px; width:100%; margin-top:8px;" src="img/gradient-line.jpg" />
 60    </nav>
 61
 62
 63
 64    <div class="container" style="margin-top:40px;max-width:800px;">
 65      [blogo-content]
 66    </div>
 67
 68    <footer style="text-align:center; margin-top:100px;margin-bottom:50px;">
 69      <div class="container">
 70        <br>
 71        <a href="/blog">Go to main</a>
 72        <br><br>
 73        <div class="row">
 74          <ul class="list-inline">
 75            <li><a href="https://twitter.com/arnaucube"
 76                   style="color:gray;text-decoration:none;"
 77                   target="_blank">twitter.com/arnaucube</a>
 78            </li>
 79            <li><a href="https://github.com/arnaucube"
 80                   style="color:gray;text-decoration:none;"
 81                   target="_blank">github.com/arnaucube</a>
 82            </li>
 83          </ul>
 84        </div>
 85        <div class="row" style="display:inline-block;">
 86          Blog made with <a href="http://github.com/arnaucube/blogo/"
 87                            target="_blank" style="color: gray;text-decoration:none;">Blogo</a>
 88        </div>
 89      </div>
 90    </footer>
 91
 92    <script>
 93    </script>
 94    <script src="js/external-links.js"></script>
 95    <script>hljs.initHighlightingOnLoad();</script>
 96    <script defer src="js/katex/katex.min.js"></script>
 97    <script defer src="js/katex/auto-render.min.js"></script>
 98    <script>
 99      document.addEventListener("DOMContentLoaded", function() {
100        renderMathInElement(document.body, {
101          displayMode: false,
102          // customised options
103          // • auto-render specific keys, e.g.:
104          delimiters: [
105            {left: '$$', right: '$$', display: true},
106            {left: '$', right: '$', display: false},
107            {left: "\\[", right: "\\]", display: true},
108            {left: "\\(", right: "\\)", display: false},
109          ],
110          // • rendering keys, e.g.:
111          throwOnError : true
112        });
113      });
114
115      ///
116      let theme = localStorage.getItem("theme");
117      if ((theme === "light-theme")||(theme==null)) {
118          theme = "light-theme";
119          document.getElementById("themeSwitcher").checked = false;
120      } else if (theme === "dark-theme") {
121          theme = "dark-theme";
122          document.getElementById("themeSwitcher").checked = true;
123      }
124      document.body.className = theme;
125      localStorage.setItem("theme", theme);
126
127      function switchTheme() {
128        theme = localStorage.getItem("theme");
129        if (theme === "light-theme") {
130          theme = "dark-theme";
131          document.getElementById("themeSwitcher").checked = true;
132        } else {
133          theme = "light-theme";
134          document.getElementById("themeSwitcher").checked = false;
135        }
136        document.body.className = theme;
137        localStorage.setItem("theme", theme);
138
139        console.log(theme);
140      }
141    </script>
142    <script>
143    function tagLinks(tagName) {
144      var tags = document.getElementsByTagName(tagName);
145      for (var i=0, hElem; hElem =  tags[i]; i++) {
146        if (hElem.parentNode.className=="row postThumb") {
147          continue;
148        }
149        hElem.id = hElem.innerHTML.toLowerCase().replace(" ", "-");
150        hElem.innerHTML = "<a style='text-decoration:none;color:black;' href='#"+hElem.id+"'>"+hElem.innerHTML+"</a>";
151      }
152    }
153    tagLinks("h2");
154    tagLinks("h3");
155    tagLinks("h4");
156    tagLinks("h5");
157    </script>
158    <script src="js/mermaid.min.js"></script>
159
160
161  </body>
162</html>