File tree Expand file tree Collapse file tree 4 files changed +57
-2
lines changed Expand file tree Collapse file tree 4 files changed +57
-2
lines changed Original file line number Diff line number Diff line change 11tag :
22 tagline : Digital Humanities Laboratory of the IIBICRIT, CONICET
33navigation :
4- - {name: 'News', link: '/novedades'}
4+ - name : ' News'
5+ link : ' /novedades'
6+ sublinks :
7+ - name : ' Recent'
8+ link : ' /novedades/reciente/'
9+ - name : ' Archive'
10+ link : ' /novedades/'
511 - {name: 'Explore', link: '/explora'}
612 - {name: 'Research', link: '/investigacion'}
713 - {name: 'Digital Library', link: '/biblioteca-digital'}
Original file line number Diff line number Diff line change 11tag :
22 tagline : Laboratorio de Humanidades Digitales del IIBICRIT de CONICET
33navigation :
4- - {name: 'Novedades', link: '/novedades'}
4+ - name : ' Novedades'
5+ link : ' /novedades'
6+ sublinks :
7+ - name : ' Reciente'
8+ link : ' /novedades/reciente/'
9+ - name : ' Archivo'
10+ link : ' /novedades/'
511 - {name: 'Explora', link: '/explora'}
612 - {name: 'Investigación', link: '/investigacion'}
713 - {name: 'Biblioteca Digital', link: '/biblioteca-digital'}
Original file line number Diff line number Diff line change 99 < nav class ="header__links ">
1010 < div class ="container header__links-wrapper ">
1111 {% for item in site.translations[site.lang].navigation %}
12+ {% if item.sublinks %}
13+ < div class ="header__dropdown ">
1214 < a class ="header__link " href ="{{ item.link | relative_url }} " itemprop ="url ">
1315 < span itemprop ="name "> {{ item.name }}</ span >
1416 </ a >
17+ < div class ="header__dropdown-menu ">
18+ {% for sub in item.sublinks %}
19+ < a class ="header__sublink " href ="{{ sub.link | relative_url }} "> {{ sub.name }}</ a >
20+ {% endfor %}
21+ </ div >
22+ </ div >
23+ {% else %}
24+ < a class ="header__link " href ="{{ item.link | relative_url }} " itemprop ="url ">
25+ < span itemprop ="name "> {{ item.name }}</ span >
26+ </ a >
27+ {% endif %}
1528 {% endfor %}
1629 {% for lang in site.languages %}
1730 {% if lang != site.lang %}
You can’t perform that action at this time.
0 commit comments