Skip to content

Commit

Permalink
Merge pull request #2104 from Inist-CNRS/2098-theme-inist-lien-sur-le…
Browse files Browse the repository at this point in the history
…-titre-du-site-renvoie-sur-le-lodex-default

fix(theme inist header): le lien sur le titre du header renvoie sur home
  • Loading branch information
touv authored Jul 23, 2024
2 parents 1d9186a + 837295f commit 566c41f
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion src/app/custom/themes/inist/css/inist-styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ header {
background-repeat: repeat-x;
background-position: top left;
opacity: 1;
z-index: 1150;
z-index: 1100;
margin: 0;
height: var(--height-header);
}
Expand Down
6 changes: 3 additions & 3 deletions src/app/custom/themes/inist/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@
<span class="inist">Institut de l'information scientifique et technique</span>
</a>
</div>
<% if (custom.siteTitle ) { %>
<h1 id="titre_lodex" class="bl3">
<a href="<%= theme.base.href %>">
<%= custom.title %>
</a>
<a href="/instance/<%= lodex.tenant %>"><%= custom.siteTitle %></a>
</h1>
<% } %>
</div>
</header>
<div id="root" class="container"></div>
Expand Down
36 changes: 18 additions & 18 deletions src/app/custom/themes/inist/lodex-theme.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
{
"version": "6",
"licence": "All Right Reserved",
"name": {
"fr": "INIST",
"en": "INIST"
},
"description": {
"fr": "Thème INIST (restreint)",
"en": "INIST theme (restricted)"
},
"configuration": {
"files": {
"index": "index.ejs",
"palette": "inistTheme.js"
"version": "6",
"licence": "All Right Reserved",
"name": {
"fr": "INIST",
"en": "INIST"
},
"variables": {
"title": "Etudes"
"description": {
"fr": "Thème INIST (restreint)",
"en": "INIST theme (restricted)"
},
"configuration": {
"files": {
"index": "index.ejs",
"palette": "inistTheme.js"
},
"variables": {
"siteTitle": "Etudes"
}
}
}
}
}

0 comments on commit 566c41f

Please sign in to comment.