Skip to content

Commit

Permalink
Merge pull request #176 from edrlab/fixes
Browse files Browse the repository at this point in the history
deactivate non working links in the footer
  • Loading branch information
gautierchomel authored Jan 15, 2025
2 parents 4b57d09 + b4dac7c commit cfa819f
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 12 deletions.
3 changes: 3 additions & 0 deletions assets/scss/_styles_project.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ a:not(.navbar *):not(.td-sidebar-nav *):not(.footer *):not(.about_banner_medias
text-decoration: underline;
}

.center{
text-align: center;
}
.img-fluid, .td-content img {
max-width: none;
height: auto; }
Expand Down
8 changes: 4 additions & 4 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,10 @@ section = ["HTML", "print", "RSS"]

[params]
copyright = "EDRLab"
thorium2 = "../../../docs/"
privacy_policy = "../../../th3/900_about_thorium/902_thorium-privacy-policy/"
accessibility = "../../../th3/900_about_thorium/903_thorium-accessibility-policy/"
tou = "../../../th3/900_about_thorium/901_thorium-terms-of-use/"
# thorium2 = "../../docs/"
# privacy_policy = "../../th3/900_about_thorium/902_thorium-privacy-policy/"
# accessibility = "../../th3/900_about_thorium/903_thorium-accessibility-policy/"
# tou = "../../th3/900_about_thorium/901_thorium-terms-of-use/"

# First one is picked as the Twitter card image if not set on page.
# images = ["images/project-illustration.png"]
Expand Down
16 changes: 8 additions & 8 deletions layouts/partials/footer.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{ $links := .Site.Params.links }}
<footer class="py-5 row d-print-none footer">
<div class="container-fluid mx-sm-5">
{{/* <div class="container-fluid mx-sm-5">
<div class="row">
<div class="">
<img class="left" src="https://www.edrlab.org/wp-content/uploads/2018/10/Miniature_blue.png"
Expand All @@ -14,9 +14,9 @@
<div class="footer_links_block">
<!-- {{ with .Site.Params.copyright }}<small class="text-white">&copy; {{ now.Year}} {{ .}} {{ T "footer_all_rights_reserved" }}</small>{{ end }} -->
{{ if not .Site.Params.ui.footer_about_disable }}
{{ end }}
{{ end }} */}}

<section class="accordion">
{{/* <section class="accordion">
<div class="tab footer_link">
<!-- <input type="checkbox" name="accordion-1" id="cb1" checked> -->
<label for="cb1" class="tab__label">
Expand Down Expand Up @@ -77,8 +77,8 @@
{{ end}}
</label>
</div>
</section>

</section> */}}
{{/*

</div>
<div class="footer_nav" style="display: flex; justify-content: center;">
Expand Down Expand Up @@ -117,9 +117,9 @@
</ul>
</div>
</div>
</div>
<small class="text-white">© 2024 <a href="https://edrlab.org">EDRLab </a><a
href="http://www.apache.org/licenses/LICENSE-2.0">Apache-2.0 license</a></small>
</div> */}}
<small class="text-white center">© 2024 <a href="https://edrlab.org">EDRLab </a> | <a
href="https://github.com/edrlab/thorium-reader-doc?tab=CC-BY-4.0-1-ov-file#readme">CC by license</a> </small>
</footer>
{{ define "footer-links-block" }}
<ul class="list-inline mb-0">
Expand Down

0 comments on commit cfa819f

Please sign in to comment.