Skip to content

Commit 586592b

Browse files
committed
new footer (1)
1 parent 5e61614 commit 586592b

28 files changed

Lines changed: 1647 additions & 915 deletions

File tree

_quarto.yml

Lines changed: 23 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
#────────────────────────────────────────────────────────────────
2-
# Main website config
2+
# Configuración principal del sitio Quarto
33
# file: _quarto.yml
4-
# ───────────────────────────────────────────────────────────────
5-
4+
#────────────────────────────────────────────────────────────────
65
project:
76
type: website
87
output-dir: _site
@@ -12,59 +11,59 @@ project:
1211

1312
execute:
1413
freeze: auto
15-
#cache: true
1614

1715
website:
18-
title: "[energycode]"
16+
title: "EnergyCode"
17+
description: "Personal blog focused on Data Science, Applied Mathematics, Engineering, and Programming with R and Python"
1918
site-url: "https://www.energycode.org"
2019
repo-url: "https://github.com/EnriquePH/energycode.org"
2120
repo-branch: main
2221
repo-actions: [edit, source, issue]
23-
description: >
24-
My personal blog on Data Science, Mathematics, Engineering and Programming
2522
google-analytics: "G-6P3MCX2KHD"
2623
favicon: /img/logo/favicon.ico
2724

28-
# Main menu and tools
2925
navbar:
3026
background: primary
3127
search: true
32-
tools:
28+
29+
left:
30+
- href: index.qmd
31+
text: Home
32+
- href: projects.qmd
33+
text: Projects
34+
- href: about.qmd
35+
text: About
36+
37+
right:
3338
- icon: github
3439
href: https://github.com/EnriquePH
3540
aria-label: "GitHub"
3641
- icon: stack-overflow
37-
href: https://stackoverflow.com/users/4678112/enrique-p%c3%a9rez-herrero
42+
href: https://stackoverflow.com/users/4678112/enrique-perez-herrero
43+
aria-label: "Stack Overflow"
3844
- icon: twitter-x
3945
href: https://twitter.com/energycodeorg
46+
aria-label: "X / Twitter"
4047
- icon: envelope-at
4148
href: mailto:energycode.org@gmail.com
42-
aria-label: "email"
43-
left:
44-
- index.qmd
45-
- projects.qmd
46-
- about.qmd
47-
49+
aria-label: "Email"
4850
format:
4951
html:
5052
theme:
5153
light: lux
52-
dark: darkly
54+
dark: darkly
5355
css: styles.css
54-
5556
toc: true
5657
toc-depth: 3
5758
number-sections: true
5859
code-fold: show
5960
code-copy: hover
6061
code-overflow: wrap
61-
highlight-style: github
62-
63-
# Mejora la accesibilidad y apariencia
64-
anchor-sections: true
65-
link-external-icon: true
62+
highlight-style: atom-one
63+
anchor-sections: false
64+
link-external-icon: false
6665
link-external-newwindow: true
66+
include-after-body: partials/_footer.html
6767

68-
# Default editor
6968
editor: source
7069
email-obfuscation: javascript

_site/TODO.html

Lines changed: 78 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
88

99

10-
<title>todo – [energycode]</title>
10+
<title>todo – EnergyCode</title>
1111
<style>
1212
code{white-space: pre-wrap;}
1313
span.smallcaps{font-variant: small-caps;}
@@ -34,14 +34,13 @@
3434
<script src="site_libs/quarto-html/quarto.js"></script>
3535
<script src="site_libs/quarto-html/popper.min.js"></script>
3636
<script src="site_libs/quarto-html/tippy.umd.min.js"></script>
37-
<script src="site_libs/quarto-html/anchor.min.js"></script>
3837
<link href="site_libs/quarto-html/tippy.css" rel="stylesheet">
39-
<link href="site_libs/quarto-html/quarto-syntax-highlighting-0626ff4d7a71b55c8707dcae1d04a9b6.css" rel="stylesheet" class="quarto-color-scheme" id="quarto-text-highlighting-styles">
40-
<link href="site_libs/quarto-html/quarto-syntax-highlighting-dark-e25cc82807363e79c52e96bc8b7855f1.css" rel="prefetch" class="quarto-color-scheme quarto-color-alternate" id="quarto-text-highlighting-styles">
38+
<link href="site_libs/quarto-html/quarto-syntax-highlighting-e8fb9d25728d58bfeac61b497e4a6629.css" rel="stylesheet" class="quarto-color-scheme" id="quarto-text-highlighting-styles">
39+
<link href="site_libs/quarto-html/quarto-syntax-highlighting-dark-57a92833092fd6dc0d7710b6bdfff9c5.css" rel="prefetch" class="quarto-color-scheme quarto-color-alternate" id="quarto-text-highlighting-styles">
4140
<script src="site_libs/bootstrap/bootstrap.min.js"></script>
4241
<link href="site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet">
43-
<link href="site_libs/bootstrap/bootstrap-b5a2fd160fcdb99563bf1c6a167817de.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme" id="quarto-bootstrap" data-mode="light">
44-
<link href="site_libs/bootstrap/bootstrap-dark-6bba9c441353dff127c6ffe133358c00.min.css" rel="prefetch" append-hash="true" class="quarto-color-scheme quarto-color-alternate" id="quarto-bootstrap" data-mode="dark">
42+
<link href="site_libs/bootstrap/bootstrap-ee76af1bcef5aea4eed2677d7224456e.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme" id="quarto-bootstrap" data-mode="light">
43+
<link href="site_libs/bootstrap/bootstrap-dark-60fdd9dab68af1b440fe3b1e9cb0de33.min.css" rel="prefetch" append-hash="true" class="quarto-color-scheme quarto-color-alternate" id="quarto-bootstrap" data-mode="dark">
4544
<script id="quarto-search-options" type="application/json">{
4645
"location": "navbar",
4746
"copy-button": false,
@@ -91,7 +90,7 @@
9190
<div class="navbar-container container-fluid">
9291
<div class="navbar-brand-container mx-auto">
9392
<a class="navbar-brand" href="./index.html">
94-
<span class="navbar-title">[energycode]</span>
93+
<span class="navbar-title">EnergyCode</span>
9594
</a>
9695
</div>
9796
<div id="quarto-search" class="" title="Search"></div>
@@ -102,7 +101,7 @@
102101
<ul class="navbar-nav navbar-nav-scroll me-auto">
103102
<li class="nav-item">
104103
<a class="nav-link" href="./index.html">
105-
<span class="menu-text">Blog</span></a>
104+
<span class="menu-text">Home</span></a>
106105
</li>
107106
<li class="nav-item">
108107
<a class="nav-link" href="./projects.html">
@@ -112,13 +111,31 @@
112111
<a class="nav-link" href="./about.html">
113112
<span class="menu-text">About</span></a>
114113
</li>
114+
</ul>
115+
<ul class="navbar-nav navbar-nav-scroll ms-auto">
116+
<li class="nav-item compact">
117+
<a class="nav-link" href="https://github.com/EnriquePH"> <i class="bi bi-github" role="img" aria-label="GitHub">
118+
</i>
119+
<span class="menu-text"></span></a>
120+
</li>
121+
<li class="nav-item compact">
122+
<a class="nav-link" href="https://stackoverflow.com/users/4678112/enrique-perez-herrero"> <i class="bi bi-stack-overflow" role="img" aria-label="Stack Overflow">
123+
</i>
124+
<span class="menu-text"></span></a>
125+
</li>
126+
<li class="nav-item compact">
127+
<a class="nav-link" href="https://twitter.com/energycodeorg"> <i class="bi bi-twitter-x" role="img" aria-label="X / Twitter">
128+
</i>
129+
<span class="menu-text"></span></a>
130+
</li>
131+
<li class="nav-item compact">
132+
<a class="nav-link" href="mailto:energycode.org@gmail.com"> <i class="bi bi-envelope-at" role="img" aria-label="Email">
133+
</i>
134+
<span class="menu-text"></span></a>
135+
</li>
115136
</ul>
116137
</div> <!-- /navcollapse -->
117-
<div class="quarto-navbar-tools tools-wide">
118-
<a href="https://github.com/EnriquePH" title="" class="quarto-navigation-tool px-1" aria-label="GitHub"><i class="bi bi-github"></i></a>
119-
<a href="https://stackoverflow.com/users/4678112/enrique-p%c3%a9rez-herrero" title="" class="quarto-navigation-tool px-1" aria-label=""><i class="bi bi-stack-overflow"></i></a>
120-
<a href="https://twitter.com/energycodeorg" title="" class="quarto-navigation-tool px-1" aria-label=""><i class="bi bi-twitter-x"></i></a>
121-
<a href="mailto:energycode.org@gmail.com" title="" class="quarto-navigation-tool px-1" aria-label="email"><i class="bi bi-envelope-at"></i></a>
138+
<div class="quarto-navbar-tools">
122139
<a href="" class="quarto-color-scheme-toggle quarto-navigation-tool px-1" onclick="window.quartoToggleColorScheme(); return false;" title="Toggle dark mode"><i class="bi"></i></a>
123140
</div>
124141
</div> <!-- /container-fluid -->
@@ -151,19 +168,19 @@ <h2 id="toc-title">On this page</h2>
151168
<section id="energycode.org-todo.md" class="level1" data-number="1">
152169
<h1 data-number="1"><span class="header-section-number">1</span> energycode.org TODO.md</h1>
153170
<section id="todo" class="level3" data-number="1.0.1">
154-
<h3 data-number="1.0.1" class="anchored" data-anchor-id="todo"><span class="header-section-number">1.0.1</span> Todo</h3>
171+
<h3 data-number="1.0.1" data-anchor-id="todo"><span class="header-section-number">1.0.1</span> Todo</h3>
155172
<ul class="task-list">
156173
<li><label><input type="checkbox">OEIS.R package</label></li>
157174
</ul>
158175
</section>
159176
<section id="in-progress" class="level3" data-number="1.0.2">
160-
<h3 data-number="1.0.2" class="anchored" data-anchor-id="in-progress"><span class="header-section-number">1.0.2</span> In Progress</h3>
177+
<h3 data-number="1.0.2" data-anchor-id="in-progress"><span class="header-section-number">1.0.2</span> In Progress</h3>
161178
<ul class="task-list">
162179
<li><label><input type="checkbox">Post about blog features</label></li>
163180
</ul>
164181
</section>
165182
<section id="done" class="level3" data-number="1.0.3">
166-
<h3 data-number="1.0.3" class="anchored" data-anchor-id="done"><span class="header-section-number">1.0.3</span> Done</h3>
183+
<h3 data-number="1.0.3" data-anchor-id="done"><span class="header-section-number">1.0.3</span> Done</h3>
167184
<ul class="task-list">
168185
<li><label><input type="checkbox" checked="">Add analytics</label></li>
169186
<li><label><input type="checkbox" checked="">Design a blog logo</label></li>
@@ -182,6 +199,51 @@ <h3 data-number="1.0.3" class="anchored" data-anchor-id="done"><span class="head
182199
</section>
183200

184201
</main> <!-- /main -->
202+
<!-- partials/_footer.html -->
203+
<footer class="quarto-footer">
204+
<div class="quarto-footer-left">
205+
© 2024–2026 Enrique Pérez Herrero
206+
</div>
207+
<div class="quarto-footer-right">
208+
<a href="https://creativecommons.org/licenses/by-sa/4.0/" target="_blank" rel="noopener">
209+
CC BY-SA 4.0
210+
</a>
211+
&nbsp;•&nbsp;
212+
<a href="https://github.com/EnriquePH/energycode.org/blob/main/LICENSE" target="_blank">
213+
Code License (MIT)
214+
</a>
215+
</div>
216+
</footer>
217+
218+
<style>
219+
.quarto-footer {
220+
margin-top: 3rem;
221+
padding-top: 1.5rem;
222+
border-top: 1px solid var(--bs-border-color);
223+
font-size: 0.9em;
224+
color: var(--bs-secondary-color);
225+
display: flex;
226+
justify-content: space-between;
227+
align-items: center;
228+
}
229+
.quarto-footer-left,
230+
.quarto-footer-right {
231+
flex: 1;
232+
}
233+
.quarto-footer-right {
234+
text-align: right;
235+
}
236+
@media (max-width: 768px) {
237+
.quarto-footer {
238+
flex-direction: column;
239+
gap: 0.8rem;
240+
text-align: center;
241+
}
242+
.quarto-footer-right {
243+
text-align: center;
244+
}
245+
}
246+
</style>
185247
<script id="quarto-html-after-body" type="application/javascript">
186248
window.document.addEventListener("DOMContentLoaded", function (event) {
187249
const toggleBodyColorMode = (bsSheetEl) => {
@@ -346,13 +408,6 @@ <h3 data-number="1.0.3" class="anchored" data-anchor-id="done"><span class="head
346408
} else {
347409
toggleColorMode(false);
348410
}
349-
const icon = "";
350-
const anchorJS = new window.AnchorJS();
351-
anchorJS.options = {
352-
placement: 'right',
353-
icon: icon
354-
};
355-
anchorJS.add('.anchored');
356411
const isCodeAnnotation = (el) => {
357412
for (const clz of el.classList) {
358413
if (clz.startsWith('code-annotation-')) {
@@ -435,8 +490,6 @@ <h3 data-number="1.0.3" class="anchored" data-anchor-id="done"><span class="head
435490
if (link.getAttribute("rel") === null) {
436491
link.setAttribute("rel", "noopener");
437492
}
438-
// default icon
439-
link.classList.add("external");
440493
}
441494
}
442495
function tippyHover(el, contentFn, onTriggerFn, onUntriggerFn) {

0 commit comments

Comments
 (0)