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="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
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="https://cdn.jsdelivr.net/npm/katex@0.13.11/dist/katex.min.css" integrity="sha384-Um5gpz1odJg5Z4HAmzPtgZKdTBHZdw8S29IecapCSB31ligYPhHQZMIlWLYQGVoc" crossorigin="anonymous">
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="https://cdn.jsdelivr.net/npm/katex@0.13.11/dist/katex.min.js" integrity="sha384-YNHdsYkH6gMx9y3mRkmcJ2mFUjTd0qNQQvY9VYZgQd7DcN7env35GzlmFaZ23JGp" crossorigin="anonymous"></script>
87 <script defer src="https://cdn.jsdelivr.net/npm/katex@0.13.11/dist/contrib/auto-render.min.js" integrity="sha384-vZTG03m+2yp6N6BNi5iM4rW4oIwk5DfcNdFfxkk9ZWpDriOkXX8voJBFrAO7MpVl" crossorigin="anonymous"></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 ],
98 // • rendering keys, e.g.:
99 throwOnError : true
100 });
101 });
102
103 ///
104 let theme = localStorage.getItem("theme");
105 if ((theme === "light-theme")||(theme==null)) {
106 theme = "light-theme";
107 document.getElementById("themeSwitcher").checked = false;
108 } else if (theme === "dark-theme") {
109 theme = "dark-theme";
110 document.getElementById("themeSwitcher").checked = true;
111 }
112 document.body.className = theme;
113 localStorage.setItem("theme", theme);
114
115 function switchTheme() {
116 theme = localStorage.getItem("theme");
117 if (theme === "light-theme") {
118 theme = "dark-theme";
119 document.getElementById("themeSwitcher").checked = true;
120 } else {
121 theme = "light-theme";
122 document.getElementById("themeSwitcher").checked = false;
123 }
124 document.body.className = theme;
125 localStorage.setItem("theme", theme);
126
127 console.log(theme);
128 }
129 </script>
130 <script src="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"></script>
131
132
133 </body>
134</html>