Skip to content
Permalink
Browse files

Update theme and hugo version

  • Loading branch information...
alvr committed Nov 1, 2018
1 parent 9a61ad5 commit ab791c686044a29f47c7a1958158bbbcaa01319e
Showing with 2,643 additions and 598 deletions.
  1. +3 −3 archetypes/default.md
  2. +0 −15 circle.yml
  3. +11 −4 config.toml
  4. +1 −0 content/contactar.md
  5. +3 −7 content/post/hola-mundo.md
  6. +14 −14 content/post/instalar-ajenti.md
  7. 0 data/.gitkeep
  8. +0 −10 deps.sh
  9. +0 −7 layouts/partials/footer_custom.html
  10. +0 −18 layouts/partials/head_custom.html
  11. +0 −15 push.sh
  12. BIN static/css/syntax.css
  13. +0 −17 themes/beautifulhugo/.gitattributes
  14. +0 −50 themes/beautifulhugo/.gitignore
  15. +0 −22 themes/beautifulhugo/LICENSE
  16. +0 −67 themes/beautifulhugo/README.md
  17. +1 −1 themes/beautifulhugo/archetypes/default.md
  18. +28 −4 themes/beautifulhugo/data/beautifulhugo/social.toml
  19. +74 −0 themes/beautifulhugo/i18n/br.yaml
  20. +74 −0 themes/beautifulhugo/i18n/de.yaml
  21. +0 −38 themes/beautifulhugo/i18n/en.toml
  22. +74 −0 themes/beautifulhugo/i18n/en.yaml
  23. +74 −0 themes/beautifulhugo/i18n/eo.yaml
  24. +0 −38 themes/beautifulhugo/i18n/es.toml
  25. +74 −0 themes/beautifulhugo/i18n/es.yaml
  26. +74 −0 themes/beautifulhugo/i18n/fr.yaml
  27. +74 −0 themes/beautifulhugo/i18n/it.yaml
  28. +74 −0 themes/beautifulhugo/i18n/ja.yaml
  29. +74 −0 themes/beautifulhugo/i18n/nb.yaml
  30. +74 −0 themes/beautifulhugo/i18n/nl.yaml
  31. +74 −0 themes/beautifulhugo/i18n/pl.yaml
  32. +74 −0 themes/beautifulhugo/i18n/ru.yaml
  33. +74 −0 themes/beautifulhugo/i18n/zh.yaml
  34. +1 −1 themes/beautifulhugo/layouts/404.html
  35. +4 −1 themes/beautifulhugo/layouts/_default/baseof.html
  36. +4 −21 themes/beautifulhugo/layouts/_default/list.html
  37. +64 −12 themes/beautifulhugo/layouts/_default/single.html
  38. +32 −8 themes/beautifulhugo/layouts/_default/terms.html
  39. +9 −8 themes/beautifulhugo/layouts/index.html
  40. +84 −15 themes/beautifulhugo/layouts/partials/footer.html
  41. +3 −3 themes/beautifulhugo/layouts/partials/footer_custom.html
  42. +58 −15 themes/beautifulhugo/layouts/partials/head.html
  43. +3 −3 themes/beautifulhugo/layouts/partials/head_custom.html
  44. +32 −15 themes/beautifulhugo/layouts/partials/header.html
  45. +1 −9 themes/beautifulhugo/layouts/partials/load-photoswipe-theme.html
  46. +8 −8 themes/beautifulhugo/layouts/partials/nav.html
  47. +26 −1 themes/beautifulhugo/layouts/partials/post_meta.html
  48. +53 −0 themes/beautifulhugo/layouts/partials/share-links.html
  49. +73 −0 themes/beautifulhugo/layouts/partials/site-schema.html
  50. +93 −0 themes/beautifulhugo/layouts/partials/staticman-comments.html
  51. +1 −0 themes/beautifulhugo/layouts/shortcodes/column.html
  52. +1 −0 themes/beautifulhugo/layouts/shortcodes/columns.html
  53. +3 −0 themes/beautifulhugo/layouts/shortcodes/details.html
  54. +1 −0 themes/beautifulhugo/layouts/shortcodes/endcolumns.html
  55. +3 −3 themes/beautifulhugo/layouts/shortcodes/figure.html
  56. +4 −3 themes/beautifulhugo/layouts/shortcodes/gallery.html
  57. +7 −0 themes/beautifulhugo/layouts/shortcodes/mermaid.html
  58. +6 −0 themes/beautifulhugo/static/css/bootstrap.min.css
  59. +33 −0 themes/beautifulhugo/static/css/codeblock.css
  60. +4 −0 themes/beautifulhugo/static/css/font-awesome.min.css
  61. +1 −0 themes/beautifulhugo/static/css/highlight.min.css
  62. +2 −0 themes/beautifulhugo/static/css/hugo-easy-gallery.css
  63. +1 −0 themes/beautifulhugo/static/css/katex.min.css
  64. +139 −51 themes/beautifulhugo/static/css/main.css
  65. +271 −0 themes/beautifulhugo/static/css/mermaid.css
  66. +273 −0 themes/beautifulhugo/static/css/mermaid.dark.css
  67. +0 −66 themes/beautifulhugo/static/css/pygment.highlight.css
  68. +91 −0 themes/beautifulhugo/static/css/staticman.css
  69. +65 −0 themes/beautifulhugo/static/css/syntax.css
  70. BIN themes/beautifulhugo/static/img/favicon.ico
  71. +1 −0 themes/beautifulhugo/static/js/auto-render.min.js
  72. +7 −0 themes/beautifulhugo/static/js/bootstrap.min.js
  73. +2 −0 themes/beautifulhugo/static/js/highlight.min.js
  74. +5 −0 themes/beautifulhugo/static/js/jquery.min.js
  75. +4 −0 themes/beautifulhugo/static/js/katex.min.js
  76. +66 −22 themes/beautifulhugo/static/js/main.js
  77. +30 −0 themes/beautifulhugo/static/js/mermaid.js
  78. +4 −0 themes/beautifulhugo/static/js/photoswipe-ui-default.min.js
  79. +4 −0 themes/beautifulhugo/static/js/photoswipe.min.js
  80. +1 −0 themes/beautifulhugo/static/js/recaptcha.js
  81. +40 −0 themes/beautifulhugo/static/js/staticman.js
  82. +2 −3 themes/beautifulhugo/theme.toml
@@ -1,6 +1,6 @@
---
title: "{{ replace .TranslationBaseName "-" " " | title }}"
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
subtitle: ""
tags: []
---

This file was deleted.

Oops, something went wrong.
@@ -2,9 +2,10 @@ baseurl = "https://alvr.me"
DefaultContentLanguage = "es"
title = "me, alvr"
theme = "beautifulhugo"
metaDataFormat = "toml"
metaDataFormat = "yaml"
pygmentsUseClasses = true
pygmentCodeFences = true
pygmentsCodefencesGuessSyntax = true
disqusShortname = "alvr"
googleAnalytics = "UA-37621780-1"

@@ -14,17 +15,23 @@ googleAnalytics = "UA-37621780-1"
[Params]
subtitle = "Random things by a random human."
logo = "img/logo.png"
favicon = "img/logo.png"
favicon = "img/favicon.ico"
dateFormat = "02/01/2006"
commit = "https://github.com/alvr/alvr.github.io-hugo/commit/"
commit = "https://github.com/alvr/alvr.github.io/commit/"
rss = true
comments = true
readingTime = true
useHLJS = false
socialShare = true
delayDisqus = true
showRelatedPosts = true
gcse = "009995410285976540412:vistk49srvs"
since = 2013


[Author]
name = "Álvaro S."
email = "alvaro@alvr.me"
googleplus = "112762977194362652600"
github = "alvr"
gitlab = "alvr"
twitter = "alvrSG"
@@ -1,5 +1,6 @@
---
title: "Contactar"
date: 2013-01-11T12:00:00
comments: false
type: page
---
@@ -4,12 +4,8 @@ date: 2013-01-11T12:00:00
tags: [ "bienvenido", "hola mundo" ]
---

{{< highlight c >}}
#include <stdio.h>

int main()
{
printf("¡Hola mundo!");
return 0;
{{< highlight kotlin >}}
fun main() {
println("¡Hola mundo!")
}
{{</ highlight >}}
@@ -23,12 +23,12 @@ Para poder instalar Ajenti se necesita uno de estos sistemas operativos:
## Instalación en Debian

Se puede instalar con una sola línea:
{{< highlight bash >}}
{{< highlight shell >}}
wget -O- https://raw.github.com/ajenti/ajenti/1.x/scripts/install-debian.sh | sh
{{</ highlight >}}

O bien manualmente:
{{< highlight bash >}}
{{< highlight shell >}}
wget http://repo.ajenti.org/debian/key -O- | apt-key add -
echo "deb http://repo.ajenti.org/debian main main debian" >> /etc/apt/sources.list.d/ajenti.list
apt-get update && apt-get install ajenti
@@ -38,12 +38,12 @@ service ajenti restart
## Instalación en Ubuntu

Se puede instalar con una sola línea:
{{< highlight bash >}}
{{< highlight shell >}}
wget -O- https://raw.github.com/ajenti/ajenti/1.x/scripts/install-ubuntu.sh | sudo sh
{{</ highlight >}}

O bien manualmente:
{{< highlight bash >}}
{{< highlight shell >}}
wget http://repo.ajenti.org/debian/key -O- | apt-key add -
echo "deb http://repo.ajenti.org/ng/debian main main ubuntu" >> /etc/apt/sources.list.d/ajenti.list
sudo apt-get update && sudo apt-get install ajenti
@@ -54,13 +54,13 @@ sudo service ajenti restart

Se puede instalar con una sola línea:
Si se usa CentOS 6/RHEL6:
{{< highlight bash >}}curl https://raw.githubusercontent.com/ajenti/ajenti/1.x/scripts/install-rhel.sh | sh{{</ highlight >}}
{{< highlight shell >}}curl https://raw.githubusercontent.com/ajenti/ajenti/1.x/scripts/install-rhel.sh | sh{{</ highlight >}}

Si se usa CentOS 7/RHEL7:
{{< highlight bash >}}curl https://raw.githubusercontent.com/ajenti/ajenti/1.x/scripts/install-rhel7.sh | sh{{</ highlight >}}
{{< highlight shell >}}curl https://raw.githubusercontent.com/ajenti/ajenti/1.x/scripts/install-rhel7.sh | sh{{</ highlight >}}

O bien manualmente:
{{< highlight bash >}}
{{< highlight shell >}}
wget http://repo.ajenti.org/ajenti-repo-1.0-1.noarch.rpm
rpm -i ajenti-repo-1.0-1.noarch.rpm
yum install ajenti
@@ -70,12 +70,12 @@ service ajenti restart
## Instalación en Raspbian

Se puede instalar con una sola línea:
{{< highlight bash >}}
{{< highlight shell >}}
wget -O- https://raw.github.com/ajenti/ajenti/1.x/scripts/install-raspbian.sh | sh
{{</ highlight >}}

O bien manualmente:
{{< highlight bash >}}
{{< highlight shell >}}
wget http://repo.ajenti.org/debian/key -O- | apt-key add -
echo "deb http://repo.ajenti.org/debian main main debian" >> /etc/apt/sources.list.d/ajenti.list
apt-get update
@@ -93,7 +93,7 @@ service ajenti restart
## Instalación en FreeBSD

Prerequisitos:
{{< highlight bash >}}
{{< highlight shell >}}
cd /usr/ports/devel/py-gevent; make install clean;
cd /usr/ports/devel/py-lxml; make install clean;
cd /usr/ports/devel/py-pip; make install clean;
@@ -102,12 +102,12 @@ cd /usr/ports/devel/libffi; make install clean;
{{</ highlight >}}

Instalar con:
{{< highlight bash >}}
{{< highlight shell >}}
pip install ajenti
{{</ highlight >}}

Instalar script rc.d:
{{< highlight bash >}}
{{< highlight shell >}}
wget https://raw.github.com/ajenti/ajenti/1.x/packaging/files/ajenti-bsd -O /etc/rc.d/ajenti
{{</ highlight >}}

@@ -120,7 +120,7 @@ En la pantalla principal nos aparecerá el sistema operativo, así como su versi
## Autenticación

Lo primero que vamos a hacer va a ser cambiar la autenticación. Nos dirigimos a **Password** para cambiar la contraseña del administrador, porque sino el servidor sería muy vulnerable. Una vez hecho eso podemos seguir utilizando la cuenta **root** o bien utilizar una cuenta del propio sistema. Lo malo de esto último es que si alguien sabe de algún modo u otro la contraseña del usuario, podría tener acceso por SSH al servidor. Por eso se puede crear un usuario sin acceso SSH con el siguiente comando:
{{< highlight bash >}}
{{< highlight shell >}}
useradd -s /usr/sbin/nologin <usuario>
{{</ highlight >}}

@@ -136,7 +136,7 @@ Es el servidor DNS que se suele utilizar y el que viene por defecto en la mayor
* **Zone**: Podemos utilizar la [siguiente web](http://pgl.yoyo.org/as/bind-zone-file-creator.php) para generar el contenido del fichero.

Después de guardar, reiniciamos _bind_:
{{< highlight bash >}}
{{< highlight shell >}}
service bind9 restart
{{</ highlight >}}

No changes.
10 deps.sh

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.
15 push.sh

This file was deleted.

Oops, something went wrong.
BIN +7.15 KB static/css/syntax.css
Binary file not shown.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit ab791c6

Please sign in to comment.
You can’t perform that action at this time.