diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..544472e --- /dev/null +++ b/.editorconfig @@ -0,0 +1,11 @@ +# See https://editorconfig.org for more information +root = true + +[*] +end_of_line = lf +trim_trailing_whitespace = true +insert_final_newline = true +charset = utf-8 + +[*.{markdown,md}] +trim_trailing_whitespace = false diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..e2d65ed --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +* text=auto eol=lf diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..7e6e0e6 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,22 @@ +# See https://pre-commit.com for more information +repos: + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v4.4.0 + hooks: + - id: check-added-large-files + - id: check-case-conflict + - id: check-yaml + - id: check-executables-have-shebangs + - id: check-shebang-scripts-are-executable + - id: destroyed-symlinks + - id: detect-private-key + - id: end-of-file-fixer + - id: fix-byte-order-marker + - id: trailing-whitespace + exclude_types: [markdown] + + - repo: https://github.com/editorconfig-checker/editorconfig-checker.python + rev: "2.7.2" + hooks: + - id: editorconfig-checker + alias: ec diff --git a/_includes/post_list.html b/_includes/post_list.html index 40ad4fa..85c0ff5 100644 --- a/_includes/post_list.html +++ b/_includes/post_list.html @@ -1,5 +1,5 @@ {%-if include.category-%} - {%-assign posts = site.categories[include.category]-%} + {%-assign posts = site.categories[include.category]-%} {%-else-%} {%-assign posts = site.posts-%} {%-endif-%} @@ -22,4 +22,4 @@
  • {{ include.show_more_text | default: "Show more..." }}
  • {%- endif -%} -{%- endif -%} \ No newline at end of file +{%- endif -%} diff --git a/_layouts/post.html b/_layouts/post.html index 9852157..a420a2d 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -8,7 +8,7 @@ layout: default

    - +

    {{ page.title }}

    {{ content }} diff --git a/_posts/2022-07-12-apache-http-server-servidor-proxy-inverso-y-balanceador-de-carga.md b/_posts/2022-07-12-apache-http-server-servidor-proxy-inverso-y-balanceador-de-carga.md index 6ad31b4..518168b 100644 --- a/_posts/2022-07-12-apache-http-server-servidor-proxy-inverso-y-balanceador-de-carga.md +++ b/_posts/2022-07-12-apache-http-server-servidor-proxy-inverso-y-balanceador-de-carga.md @@ -257,4 +257,4 @@ Para credenciales de acceso adicionales, se ejecutaría la misma orden sin la op --- -**Redacción:** [EchedeyLR](/redaction.html#EchedeyLR) \ No newline at end of file +**Redacción:** [EchedeyLR](/redaction.html#EchedeyLR) diff --git a/_posts/2022-10-27-gitea_es_ahora_propiedad_de_la_compania_gitea_ltd.md b/_posts/2022-10-27-gitea_es_ahora_propiedad_de_la_compania_gitea_ltd.md index 8dbc8f5..621d834 100644 --- a/_posts/2022-10-27-gitea_es_ahora_propiedad_de_la_compania_gitea_ltd.md +++ b/_posts/2022-10-27-gitea_es_ahora_propiedad_de_la_compania_gitea_ltd.md @@ -40,4 +40,4 @@ También es triste ver cómo un proyecto comunitario podría estar empezando a v --- -**Redacción:** [EchedeyLR](/redaction.html#EchedeyLR) \ No newline at end of file +**Redacción:** [EchedeyLR](/redaction.html#EchedeyLR) diff --git a/archive/recommendations.md b/archive/recommendations.md index 4dcd5f7..733992c 100644 --- a/archive/recommendations.md +++ b/archive/recommendations.md @@ -3,4 +3,4 @@ layout: archive lang: es which_category: recommendations title: Publicaciones de recomendaciones ---- \ No newline at end of file +---