aboutsummaryrefslogtreecommitdiffstats
path: root/gemtext2html.awk
diff options
context:
space:
mode:
authorsejo <sejo@texto-plano.xyz>2021-05-26 18:31:28 -0500
committersejo <sejo@texto-plano.xyz>2021-05-26 18:31:28 -0500
commit3416d470ed5642064527f10709a51f3709a68a38 (patch)
treeba9befce0cded51f3ce3ea755181736f8b5294a3 /gemtext2html.awk
parent4b5b29e93edbf90d08943a13f084744d5e7a5bc5 (diff)
downloadsitio-3416d470ed5642064527f10709a51f3709a68a38.tar.gz
cambio de título e icono a ln
Diffstat (limited to 'gemtext2html.awk')
-rw-r--r--gemtext2html.awk11
1 files changed, 7 insertions, 4 deletions
diff --git a/gemtext2html.awk b/gemtext2html.awk
index 3d1a6f1..e15ce1e 100644
--- a/gemtext2html.awk
+++ b/gemtext2html.awk
@@ -11,7 +11,8 @@
#
BEGIN{
- sitio = "🥭"
+# sitio = "🥭"
+ sitio = "ln"
# para poder abrir y cerrar <ul>, <pre>, <p>:
modo_lista = 0
modo_pre = 0
@@ -30,7 +31,7 @@ BEGIN{
print "<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />"
print "<meta content='initial-scale=1.0, maximum-scale=1.0, user-scalable=yes' name='viewport'/>"
print "<link rel='stylesheet' href='./static/estilo.css'>"
-# print " <link rel='icon' href='./img/icon_bola.gif' type='image/gif' sizes='16x16'> "
+ print " <link rel='icon' href='./img/icon_bola.gif' type='image/gif' sizes='16x16'> "
contenido = "<main><section>"
nav = "<nav><ul>"
@@ -76,7 +77,8 @@ NR == 1{
print "</head>"
print "<body>"
print "<header>"
- print "<p><a href='./index.html'>{" sitio "}</a></p>"
+# print "<p><a href='./index.html'>{" sitio "}</a></p>"
+ print "<p><a href='./index.html'>{<img src='./img/icon_bola.gif' style='margin:0'/>}</a></p>"
print "<h1>"titulo"</h1>"
print "</header>"
@@ -322,7 +324,8 @@ END{
print "</section>"
print "</main>"
print "<footer>"
- print "<p><a href='./index.html'>{" sitio "}</a></p>"
+# print "<p><a href='./index.html'>{" sitio "}</a></p>"
+ print "<p><a href='./index.html'>{<img src='./img/icon_bola.gif' width=8px height=8px style='margin:0'/>}</a></p>"
print "<p>página actualizada en: "
print "<time datetime='"fecha"'>" fechasjm "</time>"
print " (1"fecha")"
Un proyecto texto-plano.xyz