чување 71b7c4d23f7e10960b89b9168988cc5c9663d3da
родитељ 503793ef4374164898f5a57f09524c833b0deb22
Аутор: Страхиња Радић <contact@strahinja.org>
Датум: Thu, 19 Aug 2021 19:12:14 +0200
Removed index.html
Signed-off-by: Страхиња Радић <contact@strahinja.org>
Diffstat:
| M | .gitignore | | | 1 | + |
| D | index.html | | | 168 | ------------------------------------------------------------------------------- |
измењених датотека: 2, додавања: 1(+), брисања: 168(-)
diff --git a/.gitignore b/.gitignore
@@ -14,6 +14,7 @@
*.did
nohup.out
*.gz
+index.html
slweb
slweb.1
slweb.session
diff --git a/index.html b/index.html
@@ -1,168 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
-<title>slweb - Simple static website generator</title>
-<meta charset="utf-8" />
-<link rel="shortcut icon" type="image/x-icon" href="/slweb/favicon.ico" />
-<meta name="og:type" content="website" />
-<meta name="og:url" content="https://strahinja.srht.site/slweb/" />
-<meta name="og:title" content="slweb - Simple static website generator" />
-<meta name="og:description" content="Simple static website generator" />
-<meta name="og:image" content="https://strahinja.srht.site/slweb/logo-social.webp" />
-<meta name="og:image:type" content="image/webp" />
-<meta name="og:image:width" content="1127" />
-<meta name="og:image:height" content="492" />
-<meta name="og:image:alt" content="The text 'slweb' in lowercase italics" />
-<meta name="twitter:card" content="summary_large_image" />
-<meta name="twitter:url" content="https://strahinja.srht.site/slweb/" />
-<meta name="twitter:title" content="slweb - Simple static website generator" />
-<meta name="twitter:creator" content="@strahinja_radic" />
-<meta name="twitter:description" content="Simple static website generator" />
-<meta name="twitter:image" content="https://strahinja.srht.site/slweb/logo-social.webp" />
-<link rel="canonical" href="https://strahinja.srht.site/slweb/" />
-<meta name="description" content="Simple static website generator" />
-<meta name="viewport" content="width=device-width, initial-scale=1" />
-<meta name="generator" content="slweb" />
-<link rel="stylesheet" href="/slweb/index.css" />
-<link rel="stylesheet" href="/slweb/katex.min.css" />
-</head>
-<body>
-<main>
-<h1 id="heading-1">slweb</h1>
-
-<p><strong>Slweb</strong> is a static website generator which aims at being simplistic. It
-transforms custom Markdown-like syntax into HTML.</p>
-
-<h2 id="heading-2">Prerequisites</h2>
-
-<p>Aside from the obvious (a C compiler, by default <strong>GNU C</strong>), slweb requires
-<strong>realpath</strong>(1) to determine paths in local links and <strong>groff</strong>(1) and
-<strong>gzip</strong>(1) to create and compress documentation. <strong>git</strong>(1) is, aside from
-cloning the repository, required to use the directive <code>{git-log}</code>. <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mtext>KaTeX</mtext></mrow><annotation encoding="application/x-tex">\KaTeX</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="base"><span class="strut" style="height:0.89883em;vertical-align:-0.2155em;"></span><span class="mord text"><span class="mord textrm">K</span><span class="mspace" style="margin-right:-0.17em;"></span><span class="vlist-t"><span class="vlist-r"><span class="vlist" style="height:0.68333em;"><span style="top:-2.904999em;"><span class="pstrut" style="height:2.7em;"></span><span class="mord"><span class="mord textrm mtight sizing reset-size6 size3">A</span></span></span></span></span></span><span class="mspace" style="margin-right:-0.15em;"></span><span class="mord text"><span class="mord textrm">T</span><span class="mspace" style="margin-right:-0.1667em;"></span><span class="vlist-t vlist-t2"><span class="vlist-r"><span class="vlist" style="height:0.46782999999999997em;"><span style="top:-2.7845em;"><span class="pstrut" style="height:3em;"></span><span class="mord"><span class="mord textrm">E</span></span></span></span><span class="vlist-s"></span></span><span class="vlist-r"><span class="vlist" style="height:0.2155em;"><span></span></span></span></span><span class="mspace" style="margin-right:-0.125em;"></span><span class="mord textrm">X</span></span></span></span></span></span>
-(<a href="https://katex.org">https://katex.org</a>) is optionally used for math mode.</p>
-
-<h2 id="heading-3">Install</h2>
-
-<pre>
-$ git clone https://git.sr.ht/~strahinja/slweb
-$ cd slweb
-$ su
-</pre>
-
-<p>Then, if you have <a href="https://github.com/apenwarr/redo">apenwarr/redo</a>:</p>
-
-<pre>
-# redo install
-</pre>
-
-<p>if you don't:</p>
-
-<pre>
-# ./do install
-</pre>
-
-<p>You can specify any compiler which uses <code>-Wall</code>, <code>-c</code>, <code>-g</code> and <code>-o</code> like GNU C,
-most notably <strong>tcc</strong>(1), by setting the <code>SLWEB_CC</code> environment variable. For
-example:</p>
-
-<pre>
-$ SLWEB_CC=tcc redo -j10
-</pre>
-
-<p>In the case of <strong>tcc</strong>, the tradeoff is that the debug information is limited
-compared to <strong>gcc</strong>, but the compilation time is significantly shorter.</p>
-
-<h2 id="heading-4">Examples</h2>
-
-<p>See the <a href="https://git.sr.ht/~strahinja/slweb/tree/master/item/examples"><code>examples/</code></a> directory in this repository.</p>
-
-<p>Given the file <code>index.slw</code> in the current directory:</p>
-
-<pre>
----
-site-name: Test website
-site-desc: My first website in slweb
----
-
-{main}
-# Hello world
-
-This is an _example_ of a statically generated HTML.
-
-{/main}
-</pre>
-
-<p>after using the command:</p>
-
-<pre>
-$ slweb index.slw > index.html
-</pre>
-
-<p>file <code>index.html</code> contains:</p>
-
-<pre>
-<!DOCTYPE html>
-<html lang="en">
-<head>
- <title>Test website</title>
- <meta charset="utf8" />
- <meta name="description" content="My first website in slweb" />
- <meta name="viewport" content="width=device-width, initial-scale=1" />
- <meta name="generator" content="slweb" />
-</head>
-<body>
-
-<main>
-<h1>Hello world</h1>
-
-<p>This is an <em>example</em> of a statically generated HTML.</p>
-
-</main>
-</body>
-</html>
-</pre>
-
-<h2 id="heading-5">TODO (checklist)</h2>
-
-<p>See the file <a href="https://git.sr.ht/~strahinja/slweb/tree/master/item/TODO"><code>TODO</code></a> for more information.</p>
-
-
-<h2 id="heading-6">Bugs and limitations</h2>
-
-<p>Bugs can be reported using the <a href="https://todo.sr.ht/~strahinja/slweb">ticket tracker</a>. See the manpage (<code>man
-slweb</code>) after installing <strong>slweb</strong> for more information.</p>
-
-
-<h2 id="heading-7">License</h2>
-
-<p>slweb - Simple static website generator.<br />
-Copyright (C) 2020, 2021 Страхиња Радић</p>
-
-<p>This program is free software: you can redistribute it and/or modify it under
-the terms of the GNU General Public License as published by the Free Software
-Foundation, either version 3 of the License, or (at your option) any later
-version. </p>
-
-<p>This program is distributed in the hope that it will be useful, but WITHOUT ANY
-WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-PARTICULAR PURPOSE. See the GNU General Public License for more details. </p>
-
-<p>You should have received a copy of the GNU General Public License along with
-this program. If not, see <<a href="https://www.gnu.org/licenses">https://www.gnu.org/licenses/</a>>. </p>
-
-<div id="git-log">
-Previous commit:
-index.slw c08bf6b 2021-08-13 16:56:07 +0200 (Страхиња Радић) (HEAD -> master, origin/master, origin/HEAD)
-</div><!--git-log-->
-
-
-<div id="made-by">
-Generated by <a href="https://strahinja.srht.site/slweb/index.html">slweb</a>
-© 2020, 2021 Strahinya Radich.
-</div><!--made-by-->
-
-</main>
-
-
-</body>
-</html>