diff options
| author | leo <azuminha1@gmail.co> | 2025-10-16 20:20:15 -0300 |
|---|---|---|
| committer | leo <azuminha1@gmail.co> | 2025-10-16 20:20:15 -0300 |
| commit | 0e191433328094673dacc22b16cc5d3bac02c4dc (patch) | |
| tree | 6d0ce9d11b1b6039a392c4a36b25263ae2ec417c /public/categories/self-hosted | |
| parent | 8e7996214af853803c4dd04534b1f5646b0ac1c5 (diff) | |
;
Diffstat (limited to 'public/categories/self-hosted')
| -rw-r--r-- | public/categories/self-hosted/index.html | 112 | ||||
| -rw-r--r-- | public/categories/self-hosted/index.xml | 19 |
2 files changed, 131 insertions, 0 deletions
diff --git a/public/categories/self-hosted/index.html b/public/categories/self-hosted/index.html new file mode 100644 index 0000000..2f0beef --- /dev/null +++ b/public/categories/self-hosted/index.html @@ -0,0 +1,112 @@ +<!DOCTYPE html> +<html lang="en-us"> + <head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script> + + <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon.png"> + <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32.png"> + <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16.png"> + <link rel="manifest" href="/images/site.webmanifest"> + + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <meta name="description" content="A simple, minimal blog for those who love text."> + <title>Self-Hosted | azuminha</title> + <link rel="stylesheet" href="/css/style.css" /> + <link rel="stylesheet" href="/css/fonts.css" /> + <link rel="stylesheet" href="http://localhost:1313/css/theme-override.css"> + + </head> + + <body> + <header> + <nav> + <ul> + + + <li class="pull-left "> + <a href="http://localhost:1313/">~/azuminha</a> + </li> + + + <li class="pull-left current"> + <a href="/categories/">~/categories</a> + </li> + + + <li class="pull-left "> + <a href="https://git.azuminha.com/">~/git</a> + </li> + + + <li class="pull-left "> + <a href="/tags/">~/tags</a> + </li> + + + + + <li class="pull-right"> + <a href="/index.xml">~/subscribe</a> + </li> + + + </ul> + </nav> + </header> + + + +<div class="content-wrapper"> + + <h1>Self-Hosted</h1> + + + + + <ul> + + + + <li> + <span class="date">2025/09/30</span> + <a href="/post/2025/09/30/host-a-blog-with-hugo/">Host a Blog With Hugo</a> + </li> + + </ul> +</div> + <footer> + + + <script> + (function() { + function center_el(tagName) { + var tags = document.getElementsByTagName(tagName), i, tag; + for (i = 0; i < tags.length; i++) { + tag = tags[i]; + var parent = tag.parentElement; + + if (parent.childNodes.length === 1) { + + if (parent.nodeName === 'A') { + parent = parent.parentElement; + if (parent.childNodes.length != 1) continue; + } + if (parent.nodeName === 'P') parent.style.textAlign = 'center'; + } + } + } + var tagNames = ['img', 'embed', 'object']; + for (var i = 0; i < tagNames.length; i++) { + center_el(tagNames[i]); + } + })(); + </script> + + + <hr/> + <a href="https://git.azuminha.com">Git</a> + + </footer> + </body> +</html> + diff --git a/public/categories/self-hosted/index.xml b/public/categories/self-hosted/index.xml new file mode 100644 index 0000000..9081016 --- /dev/null +++ b/public/categories/self-hosted/index.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="utf-8" standalone="yes"?> +<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> + <channel> + <title>Self-Hosted on azuminha</title> + <link>http://localhost:1313/categories/self-hosted/</link> + <description>Recent content in Self-Hosted on azuminha</description> + <generator>Hugo</generator> + <language>en-us</language> + <lastBuildDate>Tue, 30 Sep 2025 03:09:52 -0300</lastBuildDate> + <atom:link href="http://localhost:1313/categories/self-hosted/index.xml" rel="self" type="application/rss+xml" /> + <item> + <title>Host a Blog With Hugo</title> + <link>http://localhost:1313/post/2025/09/30/host-a-blog-with-hugo/</link> + <pubDate>Tue, 30 Sep 2025 03:09:52 -0300</pubDate> + <guid>http://localhost:1313/post/2025/09/30/host-a-blog-with-hugo/</guid> + <description><p>Hoje vou mostar como fiz para setar um blog com comentários usando <a href="https://gohugo.io/">Hugo</a> e <a href="https://comentario.app/en/">Comentario</a>.</p>
<ul>
<li><strong>Hugo</strong> é um framework open source para construção de websites estáticos, extremamente rápido e flexível.</li>
<li><strong>Comentario</strong> é uma engine open source de comentários, fácil de integrar e auto-hospedável.</li>
</ul>
<h2 id="1-utilizando-o-hugo">1. Utilizando o Hugo</h2>
<ol>
<li>Instale o hugo
Se sua distribuição linux for baseado em Debian rode o comando</li>
</ol>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>sudo apt install hugo
</span></span></code></pre></div><pre tabindex="0"><code>
caso contrario você pode verificar na documentação
</code></pre><pre tabindex="0"><code></code></pre></description> + </item> + </channel> +</rss> |
