Skip to content

Commit 5e61614

Browse files
committed
about update
1 parent d2d6e78 commit 5e61614

29 files changed

Lines changed: 1052 additions & 914 deletions

File tree

_quarto.yml

Lines changed: 31 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
#────────────────────────────────────────────────────────────────
2+
# Main website config
3+
# file: _quarto.yml
4+
# ───────────────────────────────────────────────────────────────
5+
16
project:
27
type: website
38
output-dir: _site
@@ -7,24 +12,34 @@ project:
712

813
execute:
914
freeze: auto
15+
#cache: true
1016

1117
website:
1218
title: "[energycode]"
13-
site-url: www.energycode.org
19+
site-url: "https://www.energycode.org"
20+
repo-url: "https://github.com/EnriquePH/energycode.org"
21+
repo-branch: main
22+
repo-actions: [edit, source, issue]
23+
description: >
24+
My personal blog on Data Science, Mathematics, Engineering and Programming
1425
google-analytics: "G-6P3MCX2KHD"
1526
favicon: /img/logo/favicon.ico
27+
28+
# Main menu and tools
1629
navbar:
30+
background: primary
31+
search: true
1732
tools:
1833
- icon: github
1934
href: https://github.com/EnriquePH
35+
aria-label: "GitHub"
2036
- icon: stack-overflow
2137
href: https://stackoverflow.com/users/4678112/enrique-p%c3%a9rez-herrero
22-
- icon: twitter
38+
- icon: twitter-x
2339
href: https://twitter.com/energycodeorg
2440
- icon: envelope-at
2541
href: mailto:energycode.org@gmail.com
26-
background: primary
27-
search: true
42+
aria-label: "email"
2843
left:
2944
- index.qmd
3045
- projects.qmd
@@ -36,9 +51,20 @@ format:
3651
light: lux
3752
dark: darkly
3853
css: styles.css
54+
3955
toc: true
56+
toc-depth: 3
4057
number-sections: true
41-
code-fold: false
58+
code-fold: show
59+
code-copy: hover
60+
code-overflow: wrap
61+
highlight-style: github
62+
63+
# Mejora la accesibilidad y apariencia
64+
anchor-sections: true
65+
link-external-icon: true
66+
link-external-newwindow: true
4267

68+
# Default editor
4369
editor: source
4470
email-obfuscation: javascript

_site/TODO.html

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@
3636
<script src="site_libs/quarto-html/tippy.umd.min.js"></script>
3737
<script src="site_libs/quarto-html/anchor.min.js"></script>
3838
<link href="site_libs/quarto-html/tippy.css" rel="stylesheet">
39-
<link href="site_libs/quarto-html/quarto-syntax-highlighting-e26003cea8cd680ca0c55a263523d882.css" rel="stylesheet" class="quarto-color-scheme" id="quarto-text-highlighting-styles">
40-
<link href="site_libs/quarto-html/quarto-syntax-highlighting-dark-d166b450ba5a8e9f7a0ab969bf6592c1.css" rel="prefetch" class="quarto-color-scheme quarto-color-alternate" id="quarto-text-highlighting-styles">
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">
4141
<script src="site_libs/bootstrap/bootstrap.min.js"></script>
4242
<link href="site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet">
43-
<link href="site_libs/bootstrap/bootstrap-e5d015128de3d5e3c603b8e2900ceed8.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-c9e75833c662b8b7fbccf89ea0ad712c.min.css" rel="prefetch" append-hash="true" class="quarto-color-scheme quarto-color-alternate" id="quarto-bootstrap" data-mode="dark">
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">
4545
<script id="quarto-search-options" type="application/json">{
4646
"location": "navbar",
4747
"copy-button": false,
@@ -115,10 +115,10 @@
115115
</ul>
116116
</div> <!-- /navcollapse -->
117117
<div class="quarto-navbar-tools tools-wide">
118-
<a href="https://github.com/EnriquePH" title="" class="quarto-navigation-tool px-1" aria-label=""><i class="bi bi-github"></i></a>
118+
<a href="https://github.com/EnriquePH" title="" class="quarto-navigation-tool px-1" aria-label="GitHub"><i class="bi bi-github"></i></a>
119119
<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"></i></a>
121-
<a href="mailto:energycode.org@gmail.com" title="" class="quarto-navigation-tool px-1" aria-label=""><i class="bi bi-envelope-at"></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>
122122
<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>
123123
</div>
124124
</div> <!-- /container-fluid -->
@@ -140,7 +140,7 @@ <h2 id="toc-title">On this page</h2>
140140
<li><a href="#done" id="toc-done" class="nav-link" data-scroll-target="#done"><span class="header-section-number">1.0.3</span> Done</a></li>
141141
</ul></li>
142142
</ul>
143-
</nav>
143+
<div class="toc-actions"><ul><li><a href="https://github.com/EnriquePH/energycode.org/edit/main/TODO.md" class="toc-action"><i class="bi bi-github"></i>Edit this page</a></li><li><a href="https://github.com/EnriquePH/energycode.org/blob/main/TODO.md" class="toc-action"><i class="bi empty"></i>View source</a></li><li><a href="https://github.com/EnriquePH/energycode.org/issues/new" class="toc-action"><i class="bi empty"></i>Report an issue</a></li></ul></div></nav>
144144
</div>
145145
<!-- main -->
146146
<main class="content" id="quarto-document-content"><header id="title-block-header" class="quarto-title-block"></header>
@@ -416,7 +416,7 @@ <h3 data-number="1.0.3" class="anchored" data-anchor-id="done"><span class="head
416416
}
417417
var localhostRegex = new RegExp(/^(?:http|https):\/\/localhost\:?[0-9]*\//);
418418
var mailtoRegex = new RegExp(/^mailto:/);
419-
var filterRegex = new RegExp("www\.energycode\.org");
419+
var filterRegex = new RegExp("https:\/\/www\.energycode\.org");
420420
var isInternal = (href) => {
421421
return filterRegex.test(href) || localhostRegex.test(href) || mailtoRegex.test(href);
422422
}
@@ -430,6 +430,13 @@ <h3 data-number="1.0.3" class="anchored" data-anchor-id="done"><span class="head
430430
if (link.dataset.originalHref !== undefined) {
431431
link.href = link.dataset.originalHref;
432432
}
433+
// target, if specified
434+
link.setAttribute("target", "_blank");
435+
if (link.getAttribute("rel") === null) {
436+
link.setAttribute("rel", "noopener");
437+
}
438+
// default icon
439+
link.classList.add("external");
433440
}
434441
}
435442
function tippyHover(el, contentFn, onTriggerFn, onUntriggerFn) {
@@ -748,4 +755,4 @@ <h3 data-number="1.0.3" class="anchored" data-anchor-id="done"><span class="head
748755

749756

750757

751-
</body></html>
758+
<footer class="footer"><div class="nav-footer"><div class="nav-footer-center"><div class="toc-actions d-sm-block d-md-none"><ul><li><a href="https://github.com/EnriquePH/energycode.org/edit/main/TODO.md" class="toc-action"><i class="bi bi-github"></i>Edit this page</a></li><li><a href="https://github.com/EnriquePH/energycode.org/blob/main/TODO.md" class="toc-action"><i class="bi empty"></i>View source</a></li><li><a href="https://github.com/EnriquePH/energycode.org/issues/new" class="toc-action"><i class="bi empty"></i>Report an issue</a></li></ul></div></div></div></footer></body></html>

_site/about.html

Lines changed: 53 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@
3535
<script src="site_libs/quarto-html/popper.min.js"></script>
3636
<script src="site_libs/quarto-html/tippy.umd.min.js"></script>
3737
<link href="site_libs/quarto-html/tippy.css" rel="stylesheet">
38-
<link href="site_libs/quarto-html/quarto-syntax-highlighting-e26003cea8cd680ca0c55a263523d882.css" rel="stylesheet" class="quarto-color-scheme" id="quarto-text-highlighting-styles">
39-
<link href="site_libs/quarto-html/quarto-syntax-highlighting-dark-d166b450ba5a8e9f7a0ab969bf6592c1.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-0626ff4d7a71b55c8707dcae1d04a9b6.css" rel="stylesheet" class="quarto-color-scheme" id="quarto-text-highlighting-styles">
39+
<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">
4040
<script src="site_libs/bootstrap/bootstrap.min.js"></script>
4141
<link href="site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet">
42-
<link href="site_libs/bootstrap/bootstrap-e5d015128de3d5e3c603b8e2900ceed8.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-c9e75833c662b8b7fbccf89ea0ad712c.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-b5a2fd160fcdb99563bf1c6a167817de.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-6bba9c441353dff127c6ffe133358c00.min.css" rel="prefetch" append-hash="true" class="quarto-color-scheme quarto-color-alternate" id="quarto-bootstrap" data-mode="dark">
4444
<script id="quarto-search-options" type="application/json">{
4545
"location": "navbar",
4646
"copy-button": false,
@@ -82,7 +82,7 @@
8282
<link rel="stylesheet" href="styles.css">
8383
</head>
8484

85-
<body class="nav-fixed">
85+
<body class="nav-fixed fullcontent">
8686

8787
<div id="quarto-search-results"></div>
8888
<header id="quarto-header" class="headroom fixed-top">
@@ -114,10 +114,10 @@
114114
</ul>
115115
</div> <!-- /navcollapse -->
116116
<div class="quarto-navbar-tools tools-wide">
117-
<a href="https://github.com/EnriquePH" title="" class="quarto-navigation-tool px-1" aria-label=""><i class="bi bi-github"></i></a>
117+
<a href="https://github.com/EnriquePH" title="" class="quarto-navigation-tool px-1" aria-label="GitHub"><i class="bi bi-github"></i></a>
118118
<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>
119-
<a href="https://twitter.com/energycodeorg" title="" class="quarto-navigation-tool px-1" aria-label=""><i class="bi bi-twitter"></i></a>
120-
<a href="mailto:energycode.org@gmail.com" title="" class="quarto-navigation-tool px-1" aria-label=""><i class="bi bi-envelope-at"></i></a>
119+
<a href="https://twitter.com/energycodeorg" title="" class="quarto-navigation-tool px-1" aria-label=""><i class="bi bi-twitter-x"></i></a>
120+
<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>
121121
<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>
122122
</div>
123123
</div> <!-- /container-fluid -->
@@ -127,61 +127,61 @@
127127
<div id="quarto-content" class="quarto-container page-columns page-rows-contents page-layout-article page-navbar">
128128
<!-- sidebar -->
129129
<!-- margin-sidebar -->
130-
<div id="quarto-margin-sidebar" class="sidebar margin-sidebar">
131-
<nav id="TOC" role="doc-toc" class="toc-active">
132-
<h2 id="toc-title">On this page</h2>
133-
<ul>
134-
<li><a href="#author" id="toc-author" class="nav-link active" data-scroll-target="#author"><span class="header-section-number">1</span> Author</a></li>
135-
</ul>
136-
</nav>
137-
</div>
130+
138131
<!-- main -->
139-
<div class="quarto-about-jolla">
140-
<header id="title-block-header" class="quarto-title-block default">
132+
<div class="quarto-about-trestles">
133+
<div class="about-entity">
134+
<img src="./img/logo/web_logo.png" alt="Website logo" class="about-image
135+
rounded " style="width: 20em;">
136+
<header id="title-block-header" class="quarto-title-block default">
141137
<div class="quarto-title">
142138
<h1 class="title">About</h1>
143139
</div>
144140
<div class="quarto-title-meta">
145141
</div>
146-
</header><main class="content" id="quarto-document-content">
147-
148-
<p><a href="https://www.energycode.org/">www.energycode.org</a> is a specialized blog and informational site that focuses on programming, mathematics, engineering and technical topics relevant to developers and data scientists.</p>
149-
<p><a href="www.energycode.org"><img src="./img/logo/web_logo.png" class="img-fluid" style="width:35.0%"></a></p>
150-
<section id="author" class="level2" data-number="1">
151-
<h2 data-number="1" data-anchor-id="author"><span class="header-section-number">1</span> Author</h2>
152-
<p>The site is maintained by <em>Enrique Pérez Herrero</em>.</p>
153-
<!-- Stackoverflow flair -->
154-
<a href="https://stackoverflow.com/users/4678112/enrique-p%c3%a9rez-herrero"><img src="https://stackoverflow.com/users/flair/4678112.png" width="208" height="58" alt="profile for Enrique Pérez Herrero at Stack Overflow, Q&amp;A for professional and enthusiast programmers" title="profile for Enrique Pérez Herrero at Stack Overflow, Q&amp;A for professional and enthusiast programmers"></a>
155-
156-
157-
</section>
158-
</main>
159-
<hr class="about-sep">
160-
<div class="about-links">
161-
<a href="https://stackoverflow.com/users/4678112/enrique-p%c3%a9rez-herrero" class="about-link" rel="" target="">
162-
<i class="bi bi-stack-overflow"></i>
163-
<span class="about-link-text">stackoverflow</span>
164-
</a>
142+
</header>
143+
<div class="about-links">
165144
<a href="https://github.com/EnriquePH" class="about-link" rel="" target="">
166145
<i class="bi bi-github"></i>
167-
<span class="about-link-text">Github</span>
168-
</a>
169-
<a href="https://twitter.com/energycodeorg" class="about-link" rel="" target="">
170-
<i class="bi bi-twitter"></i>
171-
<span class="about-link-text">twitter</span>
146+
<span class="about-link-text">GitHub</span>
172147
</a>
173148
<a href="https://www.linkedin.com/in/eph3000" class="about-link" rel="" target="">
174149
<i class="bi bi-linkedin"></i>
175150
<span class="about-link-text">LinkedIn</span>
176151
</a>
152+
<a href="https://twitter.com/energycodeorg" class="about-link" rel="" target="">
153+
<i class="bi bi-twitter-x"></i>
154+
<span class="about-link-text">X / Twitter</span>
155+
</a>
156+
<a href="https://stackoverflow.com/users/4678112/enrique-perez-herrero" class="about-link" rel="" target="">
157+
<i class="bi bi-stack-overflow"></i>
158+
<span class="about-link-text">Stack Overflow</span>
159+
</a>
160+
<a href="https://www.kaggle.com/enrique1500" class="about-link" rel="" target="">
161+
<i class="bi bi-kaggle"></i>
162+
<span class="about-link-text">kaggle</span>
163+
</a>
177164
<a href="mailto:energycode.org@gmail.com" class="about-link" rel="" target="">
178165
<i class="bi bi-envelope-at"></i>
179166
<span class="about-link-text">email</span>
180167
</a>
181-
<a href="https://www.kaggle.com/enrique1500" class="about-link" rel="" target="">
182-
<span class="about-link-text">kaggle</span>
168+
</div>
169+
</div>
170+
<div class="about-contents"><main class="content" id="quarto-document-content">
171+
<p><a href="https://www.energycode.org/">www.energycode.org</a> is a specialized blog and informational site that focuses on programming, mathematics, engineering and technical topics relevant to developers and data scientists.</p>
172+
<section id="author" class="level2">
173+
<h2 data-anchor-id="author">Author</h2>
174+
<p>The site is maintained by <em>Enrique Pérez Herrero</em>.</p>
175+
<!-- Stack Overflow Flair - actualizado 2026 -->
176+
<div>
177+
<a href="https://stackoverflow.com/users/4678112/enrique-perez-herrero">
178+
<img src="https://stackoverflow.com/users/flair/4678112.png?theme=dark" width="208" height="58" alt="profile for Enrique Pérez Herrero at Stack Overflow" title="Perfil en Stack Overflow">
183179
</a>
184180
</div>
181+
182+
183+
</section>
184+
</main></div>
185185
</div>
186186
<!-- /main -->
187187
<script id="quarto-html-after-body" type="application/javascript">
@@ -411,7 +411,7 @@ <h2 data-number="1" data-anchor-id="author"><span class="header-section-number">
411411
}
412412
var localhostRegex = new RegExp(/^(?:http|https):\/\/localhost\:?[0-9]*\//);
413413
var mailtoRegex = new RegExp(/^mailto:/);
414-
var filterRegex = new RegExp("www\.energycode\.org");
414+
var filterRegex = new RegExp("https:\/\/www\.energycode\.org");
415415
var isInternal = (href) => {
416416
return filterRegex.test(href) || localhostRegex.test(href) || mailtoRegex.test(href);
417417
}
@@ -425,6 +425,13 @@ <h2 data-number="1" data-anchor-id="author"><span class="header-section-number">
425425
if (link.dataset.originalHref !== undefined) {
426426
link.href = link.dataset.originalHref;
427427
}
428+
// target, if specified
429+
link.setAttribute("target", "_blank");
430+
if (link.getAttribute("rel") === null) {
431+
link.setAttribute("rel", "noopener");
432+
}
433+
// default icon
434+
link.classList.add("external");
428435
}
429436
}
430437
function tippyHover(el, contentFn, onTriggerFn, onUntriggerFn) {
@@ -743,4 +750,4 @@ <h2 data-number="1" data-anchor-id="author"><span class="header-section-number">
743750

744751

745752

746-
</body></html>
753+
<footer class="footer"><div class="nav-footer"><div class="nav-footer-center"><div class="toc-actions"><ul><li><a href="https://github.com/EnriquePH/energycode.org/edit/main/about.qmd" class="toc-action"><i class="bi bi-github"></i>Edit this page</a></li><li><a href="https://github.com/EnriquePH/energycode.org/blob/main/about.qmd" class="toc-action"><i class="bi empty"></i>View source</a></li><li><a href="https://github.com/EnriquePH/energycode.org/issues/new" class="toc-action"><i class="bi empty"></i>Report an issue</a></li></ul></div></div></div></footer></body></html>

0 commit comments

Comments
 (0)