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