Skip to content

File tree

8 files changed

+45
-55
lines changed

8 files changed

+45
-55
lines changed
 

‎assets/jsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"baseUrl": ".",
44
"paths": {
55
"*": [
6-
"../../../../../../var/folders/9f/82m1lr2n1fv1mk91plf2l_dr0000gn/T/hugo_cache/modules/filecache/modules/pkg/mod/github.com/wowchemy/wowchemy-hugo-modules/wowchemy/v5@v5.0.0-20220424221502-30cbf912016f/assets/*"
6+
"../../../../../../var/folders/9f/82m1lr2n1fv1mk91plf2l_dr0000gn/T/hugo_cache_leocollado/modules/filecache/modules/pkg/mod/github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy/v5@v5.7.1-0.20230420205746-951c7b6f709d/assets/*"
77
]
88
}
99
}

‎config/_default/config.yaml

+6-6
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,10 @@ removePathAccents: true
2121

2222
module:
2323
imports:
24-
- path: github.com/wowchemy/wowchemy-hugo-modules/wowchemy-cms/v5
25-
- path: github.com/wowchemy/wowchemy-hugo-modules/wowchemy/v5
24+
- path: github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugin-netlify-cms
25+
- path: github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugin-netlify
26+
- path: github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugin-reveal
27+
- path: github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy/v5
2628

2729
############################
2830
## ADVANCED
@@ -70,9 +72,7 @@ related:
7072
weight: 70
7173
security:
7274
_merge: deep
73-
funcs:
74-
getenv:
75-
- ^HUGO_
76-
- ^WC_
7775
sitemap:
7876
_merge: deep
77+
minify:
78+
_merge: deep

‎config/_default/params.yaml

+10-7
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,13 @@ marketing:
1818
site_type: Person
1919
local_business_type: ''
2020
org_name: ''
21-
description: ''
21+
description: 'R/Bioconductor-powered Team Data Science'
2222
twitter: 'lcolladotor'
2323
analytics:
2424
google_analytics: 'G-3CBVR6GQ07'
2525
baidu_tongji: ''
26+
google_tag_manager: ''
27+
microsoft_clarity: ''
2628
verification:
2729
google: ''
2830
baidu: ''
@@ -61,12 +63,8 @@ locale:
6163

6264
features:
6365
syntax_highlighter:
64-
enable: true
65-
extra_languages:
66-
- r
67-
- latex
68-
- stata
69-
- bash
66+
theme_light: github-light
67+
theme_dark: dracula
7068
math:
7169
enable: true
7270
privacy_pack:
@@ -85,6 +83,11 @@ features:
8583
show_count: true
8684
commento:
8785
url: ''
86+
giscus:
87+
repo: ''
88+
repo_id: ''
89+
category: ''
90+
category_id: ''
8891
search:
8992
provider: wowchemy
9093
algolia:

‎content/home/teaching.es.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ draft = false
77

88
title = "Cursos impartidos por Leonardo"
99
subtitle = ""
10-
widget = "custom"
10+
widget = ""
1111

1212
# Order that this section will appear in.
1313
weight = 70

‎content/home/teaching.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ draft = false
77

88
title = "Courses taught by Leonardo"
99
subtitle = ""
10-
widget = "custom"
10+
widget = ""
1111

1212
# Order that this section will appear in.
1313
weight = 70

‎go.mod

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
module my-site
1+
module github.com/wowchemy/starter-hugo-academic
22

3-
go 1.18
3+
go 1.15
44

55
require (
6-
github.com/wowchemy/wowchemy-hugo-modules/wowchemy-cms/v5 v5.0.0-20220424221502-30cbf912016f // indirect
7-
github.com/wowchemy/wowchemy-hugo-modules/wowchemy/v5 v5.0.0-20220424221502-30cbf912016f // indirect
6+
github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugin-netlify v1.0.0 // indirect
7+
github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugin-netlify-cms v1.0.0 // indirect
8+
github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugin-reveal v1.0.0 // indirect
9+
github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy/v5 v5.7.1-0.20230420205746-951c7b6f709d
810
)

‎go.sum

+11-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
github.com/wowchemy/wowchemy-hugo-modules/wowchemy-cms/v5 v5.0.0-20220424221502-30cbf912016f h1:5FR4w12F5jK8XLC1PVDROrxIDZinVHBjpZChfjZAkc0=
2-
github.com/wowchemy/wowchemy-hugo-modules/wowchemy-cms/v5 v5.0.0-20220424221502-30cbf912016f/go.mod h1:Sp/AKo+2HAPi/IPHp1MEdKPmee+mzO5+efUBUPLPqPE=
3-
github.com/wowchemy/wowchemy-hugo-modules/wowchemy/v5 v5.0.0-20220424221502-30cbf912016f h1:hzxl0hq61rewaRRhXw20BZY0LpJtOjzzOhiaX7PGPHQ=
4-
github.com/wowchemy/wowchemy-hugo-modules/wowchemy/v5 v5.0.0-20220424221502-30cbf912016f/go.mod h1:2iL9rdrUYyJXX2BeHKfK+QbqZlubCsaR60nQ87NRQTY=
1+
github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-core v0.1.0/go.mod h1:kJwI9H8dicHQCnP8G9EvUDI+oNg/yXcGsjGjwjXuM8I=
2+
github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-core v0.2.0/go.mod h1:kJwI9H8dicHQCnP8G9EvUDI+oNg/yXcGsjGjwjXuM8I=
3+
github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugin-netlify v1.0.0 h1:blRMoXNtlxnqXlVi4eCdPtTfVpJkH9J1f6tEKDXimCY=
4+
github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugin-netlify v1.0.0/go.mod h1:s40UgLsWfVyCLQ2F4F3dBcNfZOXcPGld7KxsKhZdzvM=
5+
github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugin-netlify-cms v1.0.0 h1:WCbC3jjXAcFGUWn5W1QUk5tzNq4x4NcyqABI/s0SnWw=
6+
github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugin-netlify-cms v1.0.0/go.mod h1:X1mETJo6Lkv9tEgfU0UYFRiRInf0RbgW+s1RKXB4GMA=
7+
github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugin-reveal v1.0.0 h1:EYUeXFaj/roT2MtbZf9gaOTtG+S4bJWYGvNgxVdEspY=
8+
github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugin-reveal v1.0.0/go.mod h1:u2hgU45C6Oi3CwMzSNvTwuRTsKs7O46EG3MTjNKu7gE=
9+
github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-seo v0.1.0/go.mod h1:R01vz++1i/KR2n00aWGcs6m/L7ky1klbrpqA2KXjMCk=
10+
github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy/v5 v5.7.1-0.20230420205746-951c7b6f709d h1:hbNMIPU22juXZA3EYR6c9rMCBwwXPupV4/6ECi4g3V4=
11+
github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy/v5 v5.7.1-0.20230420205746-951c7b6f709d/go.mod h1:aTjV1UoWPt03vYsb6TImLXMlby6p1lXF9aUy+GnAuqw=

‎layouts/partials/site_footer.html

+9-31
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,14 @@
11
<footer class="site-footer">
22

3-
{{ partial "hooks/footer" . }}
3+
{{ partial "functions/get_hook" (dict "hook" "footer-start" "context" .) }}
44

5-
{{ if .IsTranslated | and site.Params.footer.show_translations }}
6-
<div class="powered-by d-flex flex-wrap pb-2 justify-content-center">
7-
<div class="p-2 font-weight-bold"><i class="fas fa-globe pr-1" aria-hidden="true"></i>{{ i18n "languages" }}:</div>
8-
<div class="p-2">{{ index site.Data.i18n.languages .Lang }}</div>
9-
{{ range .Translations }}
10-
<div class="p-2"><a href="{{ .Permalink }}">{{ index site.Data.i18n.languages .Lang }}</a></div>
11-
{{ end }}
12-
</div>
13-
{{ end }}
14-
15-
{{ if or (site.GetPage "/terms.md") (site.GetPage "/privacy.md") }}
16-
<p class="powered-by">
17-
{{ with site.GetPage "/privacy.md" }}
18-
{{ printf "<a href=\"%s\">%s</a>" .RelPermalink .Title | safeHTML }}
19-
{{ end }}
20-
{{ with site.GetPage "/terms.md" }}
21-
{{ if site.GetPage "/privacy.md" }} &middot; {{ end }}
22-
{{ printf "<a href=\"%s\">%s</a>" .RelPermalink .Title | safeHTML }}
23-
{{ end }}
24-
</p>
5+
{{/* Load footer block */}}
6+
{{ $footer_section_name := site.Params.footer.block | default "minimal" }}
7+
{{ $footer_section_path := printf "components/footers/%s.html" $footer_section_name }}
8+
{{ if not (templates.Exists (printf "partials/%s" $footer_section_path)) }}
9+
{{ errorf "Check your `params.yaml`. Cannot find footer block at `layouts/partials/%s`" $footer_section_path }}
2510
{{ end }}
26-
27-
{{ with site.Params.footer.text }}
28-
<p class="powered-by">
29-
{{ . | markdownify | emojify }}
30-
</p>
31-
{{ end }}
32-
33-
{{/* Display copyright license. */}}
34-
{{ partial "site_footer_license" . }}
11+
{{ partial $footer_section_path . }}
3512

3613
<p>
3714
<!-- AddThis Smart Layers BEGIN -->
@@ -82,6 +59,7 @@
8259
<div id="clustrmaps-widget"></div><script type='text/javascript' id='clustrmaps' src='//cdn.clustrmaps.com/map_v2.js?cl=ffffff&w=300&t=m&d=Zo-deincaJGsqhqjIWsujtdoNOMJsnnZLefKmxDKVv8&co=124b73&cmo=dd53ff&cmn=4ec724'></script>
8360
</center>
8461
</p>
62+
8563

8664
<p class="powered-by">
8765
{{ $is_sponsor := site.Params.i_am_a_sponsor | default false }}
@@ -96,7 +74,7 @@
9674
{{ $i18n_published_with = replace $i18n_published_with "{wowchemy}" "<a href=\"https://wowchemy.com/?utm_campaign=poweredby\" target=\"_blank\" rel=\"noopener\">Wowchemy</a>" | safeHTML }}
9775
{{ $i18n_published_with = replace $i18n_published_with "{repo_link}" "<a href=\"https://github.com/wowchemy/wowchemy-hugo-themes\" target=\"_blank\" rel=\"noopener\">" | safeHTML }}
9876
{{ $i18n_published_with = replace $i18n_published_with "{/repo_link}" "</a>" | safeHTML }}
99-
{{ $i18n_published_with | markdownify | emojify }}
77+
{{ $i18n_published_with | replaceRE "{year}" now.Year | markdownify | emojify | safeHTML }}
10078
{{ end }}
10179
</p>
10280
</footer>

0 commit comments

Comments
 (0)
Please sign in to comment.