From 6efe2ee57db4202fb0898b12e1f5e952e97ddc3a Mon Sep 17 00:00:00 2001 From: welpo Date: Fri, 16 Feb 2024 12:53:41 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20docs:=20fix=20various=20broken?= =?UTF-8?q?=20links?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- config.toml | 3 +++ content/blog/toc/index.ca.md | 4 ++-- content/blog/toc/index.es.md | 4 ++-- content/blog/toc/index.md | 4 ++-- content/pages/about/index.ca.md | 2 +- content/projects/tabi/index.ca.md | 2 +- content/projects/tabi/index.es.md | 6 +++--- content/projects/tabi/index.md | 2 +- 9 files changed, 16 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 85fbe23..b51f7c7 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ tabi has a perfect score on Google's Lighthouse audit: ## Features - [X] [Set any language as default](https://welpo.github.io/tabi/blog/faq-languages/#how-do-i-set-a-default-language-for-my-site). Set your base site to Chinese, Spanish, French, Hindi… or any [other supported language](/i18n). The theme's interface will be translated accordingly. -- [X] [Integration with remote repositories](https://welpo.github.io/tabi/mastering-tabi-settings/#git-repository-integration) on GitHub, GitLab, Gitea & Codeberg for commit history and showing the site source. +- [X] [Integration with remote repositories](https://welpo.github.io/tabi/blog/mastering-tabi-settings/#git-repository-integration) on GitHub, GitLab, Gitea & Codeberg for commit history and showing the site source. - [X] Dark and light themes. Defaults to the OS setting, with a switcher in the navigation bar. - [X] Thorough documentation. See [Mastering tabi Settings: A Comprehensive Guide](https://welpo.github.io/tabi/blog/mastering-tabi-settings/). - [X] Perfect Lighthouse score (Performance, Accessibility, Best Practices and SEO). diff --git a/config.toml b/config.toml index 17e1f56..084e1fd 100644 --- a/config.toml +++ b/config.toml @@ -39,6 +39,9 @@ smart_punctuation = true [link_checker] internal_level = "warn" +skip_anchor_prefixes = [ + "https://github.com/", +] [languages.es] title = "~/tabi" diff --git a/content/blog/toc/index.ca.md b/content/blog/toc/index.ca.md index 6a6b293..ae9b361 100644 --- a/content/blog/toc/index.ca.md +++ b/content/blog/toc/index.ca.md @@ -1,7 +1,7 @@ +++ title = "Taula de contingut" date = 2022-11-01 -updated = 2023-09-08 +updated = 2024-02-16 description = "Una publicació que mostra la taula de contingut opcional i la seva configuració." [taxonomies] @@ -86,7 +86,7 @@ Tingues en compte als teus lectors quan establertis `toc_levels`. Encara que pot És possible que vulguis amagar certes capçaleres. Per exemple, si el teu article té moltes Figures o Taules, aquestes podrien saturar la TdC. Pots ocultar capçaleres específiques a la TdC configurant la variable `toc_ignore_pattern` en la secció `[extra]` del front matter del teu post. -Aquesta variable espera una expressió regular (regex), ja que utilitza el test [matching](https://tera.netlify.app/docs/#matching) de Tera. El `toc_ignore_pattern` es prova contra el text del capçalera. Per exemple, per a la capçalera `### Lectura addicional`, només el text `Lectura addicional` s'utilitzaria per comprovar si coincideix amb el patró. +Aquesta variable espera una expressió regular (regex), ja que utilitza el test [matching](https://keats.github.io/tera/docs/#matching) de Tera. El `toc_ignore_pattern` es prova contra el text del capçalera. Per exemple, per a la capçalera `### Lectura addicional`, només el text `Lectura addicional` s'utilitzaria per comprovar si coincideix amb el patró. Aquí tens alguns valors d'exemple per a `toc_ignore_pattern` juntament amb les capçaleres que amagarien: diff --git a/content/blog/toc/index.es.md b/content/blog/toc/index.es.md index 64e4aef..c4df085 100644 --- a/content/blog/toc/index.es.md +++ b/content/blog/toc/index.es.md @@ -1,7 +1,7 @@ +++ title = "Tabla de contenido" date = 2022-11-01 -updated = 2023-09-08 +updated = 2024-02-16 description = "Una publicación que muestra la tabla de contenido opcional así como su configuración." [taxonomies] @@ -86,7 +86,7 @@ Ten en cuenta a tus lectores al establecer `toc_levels`. Aunque puede ser tentad Es posible que quieras ocultar ciertos encabezados. Por ejemplo, si tu artículo tiene muchas Figuras o Tablas, éstas podrían saturar la TdC. Puedes ocultar encabezados específicos en la TdC configurando la variable `toc_ignore_pattern` en la sección `[extra]` del front matter de tu post. -Esta variable espera una expresión regular (regex), ya que utiliza el test [matching](https://tera.netlify.app/docs/#matching) de Tera. El `toc_ignore_pattern` se prueba contra el texto del encabezado. Por ejemplo, para el encabezado `### Lectura adicional`, sólo el texto `Lectura adicional` se usaría para comprobar si concuerda con el patrón. +Esta variable espera una expresión regular (regex), ya que utiliza el test [matching](https://keats.github.io/tera/docs/#matching) de Tera. El `toc_ignore_pattern` se prueba contra el texto del encabezado. Por ejemplo, para el encabezado `### Lectura adicional`, sólo el texto `Lectura adicional` se usaría para comprobar si concuerda con el patrón. Aquí tienes algunos valores de ejemplo para `toc_ignore_pattern` junto con los encabezados que ocultarían: diff --git a/content/blog/toc/index.md b/content/blog/toc/index.md index a16ebbb..9dbcce3 100644 --- a/content/blog/toc/index.md +++ b/content/blog/toc/index.md @@ -1,7 +1,7 @@ +++ title = "Table of Contents" date = 2022-11-01 -updated = 2023-09-08 +updated = 2024-02-16 description = "A post showcasing the optional Table of Contents and its options." [taxonomies] @@ -85,7 +85,7 @@ Keep your readers in mind when setting the `toc_levels`. While it can be temptin You might want to hide certain headers. For example, if your article has many Figures or Tables, they might clutter the ToC. You can hide specific headers in the ToC with the `toc_ignore_pattern` variable. -This variable expects a regular expression (regex), as it's using Tera's [matching](https://tera.netlify.app/docs/#matching) test. The `toc_ignore_pattern` is tested against the text of the header, excluding the `#` character(s). For example, for the header `### Further reading`, the text `Further reading` would be checked against. +This variable expects a regular expression (regex), as it's using Tera's [matching](https://keats.github.io/tera/docs/#matching) test. The `toc_ignore_pattern` is tested against the text of the header, excluding the `#` character(s). For example, for the header `### Further reading`, the text `Further reading` would be checked against. Here are some example values for `toc_ignore_pattern` along with the headers they can hide: diff --git a/content/pages/about/index.ca.md b/content/pages/about/index.ca.md index a2833a8..503fa84 100644 --- a/content/pages/about/index.ca.md +++ b/content/pages/about/index.ca.md @@ -16,7 +16,7 @@ Busques instruccions detallades o consells sobre com utilitzar **tabi**? Les sec ## Característiques -**tabi** ofereix suport per a [diversos idiomes](https://welpo.github.io/tabi/ca/blog/faq-languages/), [aparença personalitzable](https://welpo.github.io/tabi/ca/blog/customise-tabi/), [integració de comentaris](https://welpo.github.io/tabi/blog/comments/), i molt més, tot amb un enfocament en el rendiment ([tot el JavaScript és opcional](https://welpo.github.io/ca/tabi/blog/javascript/)) i la [seguretat](https://welpo.github.io/ca/tabi/blog/security/). +**tabi** ofereix suport per a [diversos idiomes](https://welpo.github.io/tabi/ca/blog/faq-languages/), [aparença personalitzable](https://welpo.github.io/tabi/ca/blog/customise-tabi/), [integració de comentaris](https://welpo.github.io/tabi/blog/comments/), i molt més, tot amb un enfocament en el rendiment ([tot el JavaScript és opcional](https://welpo.github.io/tabi/ca/blog/javascript/)) i la [seguretat](https://welpo.github.io/tabi/ca/blog/security/). ## Contribucions diff --git a/content/projects/tabi/index.ca.md b/content/projects/tabi/index.ca.md index 7e96cde..4a47865 100644 --- a/content/projects/tabi/index.ca.md +++ b/content/projects/tabi/index.ca.md @@ -18,7 +18,7 @@ social_media_card = "social_cards/ca_projects_tabi.jpg" ## Característiques - [Estableix qualsevol idioma com a predeterminat](https://welpo.github.io/tabi/ca/blog/faq-languages/#com-estableixo-la-llengua-predeterminada-del-meu-lloc). Configura el teu lloc en xinès, espanyol, francès, hindi… o qualsevol [altre idioma compatible](https://welpo.github.io/tabi/ca/blog/faq-languages/#quines-llengues-admet-tabi). La interfície del tema es traduirà en conseqüència. -- [Integració amb repositoris remots](https://welpo.github.io/tabi/ca/mastering-tabi-settings/#integracio-amb-repositoris-git) a GitHub, GitLab, Gitea i Codeberg per a l'historial de commits i mostrar el codi font del lloc. +- [Integració amb repositoris remots](https://welpo.github.io/tabi/ca/blog/mastering-tabi-settings#integracio-amb-repositoris-git) a GitHub, GitLab, Gitea i Codeberg per a l'historial de commits i mostrar el codi font del lloc. - Temes clars i foscos. S'adapta a la configuració del sistema operatiu, amb un interruptor a la barra de navegació. - [Suport multilingüe complet](https://welpo.github.io/tabi/ca/blog/faq-languages/#com-gestiona-tabi-el-suport-multilingue). Afegeix tants idiomes com vulguis i deixa que els teus usuaris triin amb el selector d'idioma. - Puntuació perfecta en Lighthouse (Rendiment, Accessibilitat, Millors Pràctiques i SEO). diff --git a/content/projects/tabi/index.es.md b/content/projects/tabi/index.es.md index 7fa46a0..054404e 100644 --- a/content/projects/tabi/index.es.md +++ b/content/projects/tabi/index.es.md @@ -18,7 +18,7 @@ social_media_card = "social_cards/es_projects_tabi.jpg" ## Características - [Establece cualquier idioma como predeterminado](https://welpo.github.io/tabi/es/blog/faq-languages/#como-establezco-el-idioma-predeterminado-de-mi-sitio). Configura tu sitio en chino, español, francés, hindi… o cualquier [otro idioma compatible](https://welpo.github.io/tabi/es/blog/faq-languages/#que-idiomas-admite-tabi). La interfaz del tema se traducirá en consecuencia. -- [Integración con repositorios remotos](https://welpo.github.io/tabi/es/mastering-tabi-settings/#integracion-con-repositorios-git) en GitHub, GitLab, Gitea y Codeberg para el historial de commits y mostrar el código fuente del sitio. +- [Integración con repositorios remotos](https://welpo.github.io/tabi/es/blog/mastering-tabi-settings/#integracion-con-repositorios-git) en GitHub, GitLab, Gitea y Codeberg para el historial de commits y mostrar el código fuente del sitio. - [Soporte multilingüe completo](https://welpo.github.io/tabi/es/blog/faq-languages/#como-gestiona-tabi-el-soporte-multilingue). Añade tantos idiomas como desees y deja que tus usuarios elijan con un selector de idioma. - Temas claros y oscuros. Se adapta a la configuración del sistema operativo, con un interruptor en la barra de navegación. - Puntuación perfecta en Lighthouse (Rendimiento, Accesibilidad, Mejores Prácticas y SEO). @@ -26,7 +26,7 @@ social_media_card = "social_cards/es_projects_tabi.jpg" - Soporte para [comentarios usando giscus, utterances, Hyvor Talk o Isso](https://welpo.github.io/tabi/es/blog/comments/). - Todo el JavaScript se puede [deshabilitar completamente](https://welpo.github.io/tabi/es/blog/javascript/). - [Búsqueda local](https://welpo.github.io/tabi/es/blog/mastering-tabi-settings/#busqueda) con una interfaz accesible y multilingüe. -- [Codificación de correo](https://welpo.github.io/tabi/es/blog/mastering-tabi-settings/#encoded-email) para protección contra spam. +- [Codificación de correo](https://welpo.github.io/tabi/es/blog/mastering-tabi-settings/#correo-electronico-codificado) para protección contra spam. - [Mapa de sitio web estilizado y legible por humanos](https://welpo.github.io/tabi/sitemap.xml). - [Feed de Atom estilizado y legible por humanos](https://welpo.github.io/tabi/es/atom.xml). - [Aviso de derechos de autor personalizado](https://welpo.github.io/tabi/es/blog/mastering-tabi-settings/#copyright). @@ -44,7 +44,7 @@ social_media_card = "social_cards/es_projects_tabi.jpg" - Soporte de [KaTeX](https://katex.org/). - [Página de archivo](https://welpo.github.io/tabi/es/archive/). - [Enlaces sociales](https://welpo.github.io/tabi/es/blog/mastering-tabi-settings/#iconos-de-redes-sociales). -- [Etiquetas](https://welpo.github.io/tabi/es/blog/mastering-tabi-settings/#tags). +- [Etiquetas](https://welpo.github.io/tabi/es/blog/mastering-tabi-settings/#etiquetas). ## Prácticas de desarrollo diff --git a/content/projects/tabi/index.md b/content/projects/tabi/index.md index ac720a8..556fb44 100644 --- a/content/projects/tabi/index.md +++ b/content/projects/tabi/index.md @@ -17,7 +17,7 @@ social_media_card = "social_cards/projects_tabi.jpg" ## Features - [Set any language as default](https://welpo.github.io/tabi/blog/faq-languages/#how-do-i-set-a-default-language-for-my-site). Set your base site to Chinese, Spanish, French, Hindi… or any [other supported language](https://welpo.github.io/tabi/blog/faq-languages/#what-languages-does-tabi-support). The theme's interface will be translated accordingly. -- [Integration with remote repositories](https://welpo.github.io/tabi/mastering-tabi-settings/#git-repository-integration) on GitHub, GitLab, Gitea & Codeberg for commit history and showing the site source. +- [Integration with remote repositories](https://welpo.github.io/tabi/blog/mastering-tabi-settings/#git-repository-integration) on GitHub, GitLab, Gitea & Codeberg for commit history and showing the site source. - Dark and light themes. Defaults to the OS setting, with a switcher in the navigation bar. - Thorough documentation. See [Mastering tabi Settings: A Comprehensive Guide](https://welpo.github.io/tabi/blog/mastering-tabi-settings/). - Perfect Lighthouse score (Performance, Accessibility, Best Practices and SEO).