Skip to content

Commit ac75371

Browse files
Agregar opciones al menú. (#18)
* Agregar opciones al menú. * Agregar directorio a ignorar * Faltó menú de páginas interiores
1 parent 246b4bf commit ac75371

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/bin
22
/blog2md
33
/public
4+
/resources
45
.hugo_build.lock

themes/omegaup/layouts/partials/page-header.html

+7-2
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,14 @@
1414
</div>
1515
</header>
1616
{{ end }}
17+
1718
<header class="bg-black-90 sticky w-100 ph3 pv3 pv4-ns ph4-m ph5-l z-1">
18-
<nav class="f6 fw6 ttu tracked">
19-
<a class="link dim white dib mr3" href="{{ relURL "/" }}" title="Inicio">Inicio</a>
19+
<nav class="f6 fw6 ttu tracked w-70-ns center">
20+
<a class="link dim white dib mr3" href="{{ relURL "/tags/news/" }}" title="Noticias">Noticias</a>
21+
<a class="link dim white dib mr3" href="{{ relURL "/tags/documentation/" }}" title="Documentación">Documentación</a>
22+
<a class="link dim white dib mr3" href="{{ relURL "/tags/features/" }}" title="Características">Características</a>
23+
<a class="link dim white dib mr3" href="{{ relURL "/tags/solution/" }}" title="Solución">Solución</a>
24+
<a class="link dim white dib mr3" href="{{ relURL "/tags/study-material/" }}" title="Material de estudio">Material de estudio</a>
2025
<a class="link dim white dib mr3" href="{{ relURL "/search/" }}" title="Búsqueda">Búsqueda</a>
2126
<a class="link dim white dib" href="https://omegaup.org/" title="Acerca de">Acerca de</a>
2227
</nav>

themes/omegaup/layouts/partials/site-header.html

+5
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ <h2 class="fw1 f5 f3-l white-80 measure-wide-l center lh-copy mt3 mb4">
3535
{{ end }}
3636
<header class="bg-black-90 sticky w-100 ph3 pv3 pv4-ns ph4-m ph5-l z-1">
3737
<nav class="f6 fw6 ttu tracked w-70-ns center">
38+
<a class="link dim white dib mr3" href="{{ relURL "/tags/news/" }}" title="Noticias">Noticias</a>
39+
<a class="link dim white dib mr3" href="{{ relURL "/tags/documentation/" }}" title="Documentación">Documentación</a>
40+
<a class="link dim white dib mr3" href="{{ relURL "/tags/features/" }}" title="Características">Características</a>
41+
<a class="link dim white dib mr3" href="{{ relURL "/tags/solution/" }}" title="Solución">Solución</a>
42+
<a class="link dim white dib mr3" href="{{ relURL "/tags/study-material/" }}" title="Material de estudio">Material de estudio</a>
3843
<a class="link dim white dib mr3" href="{{ relURL "/search/" }}" title="Búsqueda">Búsqueda</a>
3944
<a class="link dim white dib" href="https://omegaup.org/" title="Acerca de">Acerca de</a>
4045
</nav>

0 commit comments

Comments
 (0)