Skip to content

Commit

Permalink
Agregar opciones al menú. (#18)
Browse files Browse the repository at this point in the history
* Agregar opciones al menú.

* Agregar directorio a ignorar

* Faltó menú de páginas interiores
  • Loading branch information
IsmaelSantanaR authored Oct 26, 2024
1 parent 246b4bf commit ac75371
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/bin
/blog2md
/public
/resources
.hugo_build.lock
9 changes: 7 additions & 2 deletions themes/omegaup/layouts/partials/page-header.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,14 @@
</div>
</header>
{{ end }}

<header class="bg-black-90 sticky w-100 ph3 pv3 pv4-ns ph4-m ph5-l z-1">
<nav class="f6 fw6 ttu tracked">
<a class="link dim white dib mr3" href="{{ relURL "/" }}" title="Inicio">Inicio</a>
<nav class="f6 fw6 ttu tracked w-70-ns center">
<a class="link dim white dib mr3" href="{{ relURL "/tags/news/" }}" title="Noticias">Noticias</a>
<a class="link dim white dib mr3" href="{{ relURL "/tags/documentation/" }}" title="Documentación">Documentación</a>
<a class="link dim white dib mr3" href="{{ relURL "/tags/features/" }}" title="Características">Características</a>
<a class="link dim white dib mr3" href="{{ relURL "/tags/solution/" }}" title="Solución">Solución</a>
<a class="link dim white dib mr3" href="{{ relURL "/tags/study-material/" }}" title="Material de estudio">Material de estudio</a>
<a class="link dim white dib mr3" href="{{ relURL "/search/" }}" title="Búsqueda">Búsqueda</a>
<a class="link dim white dib" href="https://omegaup.org/" title="Acerca de">Acerca de</a>
</nav>
Expand Down
5 changes: 5 additions & 0 deletions themes/omegaup/layouts/partials/site-header.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ <h2 class="fw1 f5 f3-l white-80 measure-wide-l center lh-copy mt3 mb4">
{{ end }}
<header class="bg-black-90 sticky w-100 ph3 pv3 pv4-ns ph4-m ph5-l z-1">
<nav class="f6 fw6 ttu tracked w-70-ns center">
<a class="link dim white dib mr3" href="{{ relURL "/tags/news/" }}" title="Noticias">Noticias</a>
<a class="link dim white dib mr3" href="{{ relURL "/tags/documentation/" }}" title="Documentación">Documentación</a>
<a class="link dim white dib mr3" href="{{ relURL "/tags/features/" }}" title="Características">Características</a>
<a class="link dim white dib mr3" href="{{ relURL "/tags/solution/" }}" title="Solución">Solución</a>
<a class="link dim white dib mr3" href="{{ relURL "/tags/study-material/" }}" title="Material de estudio">Material de estudio</a>
<a class="link dim white dib mr3" href="{{ relURL "/search/" }}" title="Búsqueda">Búsqueda</a>
<a class="link dim white dib" href="https://omegaup.org/" title="Acerca de">Acerca de</a>
</nav>
Expand Down

0 comments on commit ac75371

Please sign in to comment.