Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

feat: permalink patterns per section and taxonomy

Abierto
#32 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
42/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
csharp
Área
backend

Línea de trabajo

Start with Site.CreatePermalink in Fanstatic/Models/Site.cs and read the URL documentation at Fanstatic-site/content/docs/about/features/urls.md; inspect existing tests and fixture sites in Fanstatic.Test/ and .TestSites/. Run ./build.sh test to establish the baseline. Done means a fixture verifies section and taxonomy patterns, precedence, multilingual prefixes, and paginated paths, with the URL documentation updated.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

c:content p:medium size:M t:feature

Part of the Phase 2 epic (#23).

Current State

URLs can only be changed per page through the front matter URL template (Site.CreatePermalink,
Fanstatic/Models/Site.cs:453). There is no site-wide pattern per section like Hugo's permalinks:.

Tasks:
  • Config Permalinks: { blog: "/:year/:month/:slug/", tags: "/topics/:slug/" }
  • Tokens: :year, :month, :day, :section, :slug, :title, :filename, :contentbasename
  • Precedence: front matter URL > section pattern > default
  • Works with multilingual prefixes and pagination paths
  • Document on ../Fanstatic-site/content/docs/about/features/urls.md

Tests live in Fanstatic.Test/ (xUnit + NSubstitute); fixture sites in .TestSites/. Run ./build.sh test; new/changed methods need CRAP ≤ 15 and ≥ 75 % line coverage.

Acceptance Criteria:
  • Fixture site with patterns for a section and a taxonomy produces the expected paths, including page 2 of lists.
Related:
  • #23 (Phase 2 epic, parent)
Lenguaje dominante
C#
Estrellas
1
Forks
0
Merge medio
10 h 23 min
PR fusionados (30 d)
4

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de MASS4ORG/Fanstatic

Todos los issues de MASS4ORG/Fanstatic

Issues similares

Más issues de C#

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.