Skip to content

Commit

Permalink
refac: remove unused vars
Browse files Browse the repository at this point in the history
  • Loading branch information
woliveiras committed Nov 20, 2023
1 parent ead9fa7 commit 6973283
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 18 deletions.
2 changes: 0 additions & 2 deletions .eleventy.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,8 @@ module.exports = function(config) {
config.addPassthroughCopy('src/fonts');
config.addPassthroughCopy('src/images');
config.addPassthroughCopy('src/js');
config.addPassthroughCopy('src/config.yml');
config.addPassthroughCopy('node_modules/nunjucks/browser/nunjucks-slim.js');
config.addPassthroughCopy('src/robots.txt');
config.addPassthroughCopy('src/ads.txt');
config.addPassthroughCopy('src/CNAME');

const now = new Date();
Expand Down
4 changes: 1 addition & 3 deletions src/_data/site.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
"showThemeCredit": true,
"name": "William Oliveira",
"shortDesc": "Inclusão social através do ensino de programação e front-end",
"title": "William Oliveira | Inclusão social através do ensino de programação e front-end",
"title": "William Oliveira | carreira em programação, desenvolvimento frontend, web performance, arquitetura de software",
"url": "https://woliveiras.com.br",
"postsImagesPath": "/images/posts/",
"authorEmail": "[email protected]",
Expand Down
16 changes: 3 additions & 13 deletions src/_includes/partials/global/site-foot.njk
Original file line number Diff line number Diff line change
@@ -1,26 +1,16 @@
<footer role="contentinfo" class="[ site-foot ] [ pad-top-700 pad-bottom-900 ]">
<div class="wrapper">
<div class="[ site-foot__inner ] [ md:box-flex space-between align-start ]">
{% if site.shortDesc %}
<div>
<article class="[ site-foot__details ] [ sf-flow measure-compact ]">
<h2 class="font-base text-600">{{ site.name }}</h2>
{{ site.shortDesc | markdownFilter | safe }}
</article>
</div>
{% endif %}
<div>
{% set ariaLabel = 'footer navigation' %}
{% include "partials/components/nav.njk" %}
</div>
</div>
<br />
<a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/88x31.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.
{% if site.showThemeCredit %}
<p class="[ site-foot__credit ] [ pad-top-900 ]">
Desenvolvido com <a href="https://www.11ty.dev/" rel="external">Eleventy</a> e <a href="https://hylia.website" rel="external">Hylia Eleventy Starter Kit v{{ pkg.version }}</a>.
</p>
{% endif %}
<p class="[ site-foot__credit ] [ pad-top-900 ]">
Desenvolvido com <a href="https://www.11ty.dev/" rel="external">Eleventy</a> e <a href="https://hylia.website" rel="external">Hylia Eleventy Starter Kit v{{ pkg.version }}</a>.
</p>
</div>
</footer>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-F30HMRBDPZ"></script>
Expand Down

0 comments on commit 6973283

Please sign in to comment.