Skip to content

Commit

Permalink
Added prettier fixes and main SCSS ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzafernan committed Jan 15, 2024
1 parent a994979 commit af2376f
Show file tree
Hide file tree
Showing 6 changed files with 78 additions and 67 deletions.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
assets/css/main.scss
42 changes: 24 additions & 18 deletions _includes/head.html
Original file line number Diff line number Diff line change
@@ -1,20 +1,26 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="google-translate-customization" content="108d9124921d80c3-80e20d618ff053c8-g4f02ec6f3dba68b7-c">
{%- seo -%}
<link rel="icon" href="{{ site.favicon }}">
<link rel="canonical" href="{{ site.url }}">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/index.min.css">
<link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}">
<script src="{{ "/assets/js/main.js" | relative_url }}"></script>
{%- feed_meta -%}
{%- if jekyll.environment == 'production' and site.google_analytics -%}
{%- include extensions/google-analytics.html -%}
{%- endif -%}
{%- include extensions/code-highlight.html -%}
{%- include extensions/photo-swipe.html -%}
{%- include custom-head.html -%}
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta
name="google-translate-customization"
content="108d9124921d80c3-80e20d618ff053c8-g4f02ec6f3dba68b7-c"
/>
{%- seo -%}
<link rel="icon" href="{{ site.favicon }}" />
<link rel="canonical" href="{{ site.url }}" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"
/>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/[email protected]/index.min.css"
/>
<link rel="stylesheet" href="{{ '/assets/css/main.css' | relative_url }}" />
<script src="{{ '/assets/js/main.js' | relative_url }}"></script>
{%- feed_meta -%} {%- if jekyll.environment == 'production' and
site.google_analytics -%} {%- include extensions/google-analytics.html -%}
{%- endif -%} {%- include extensions/code-highlight.html -%} {%- include
extensions/photo-swipe.html -%} {%- include custom-head.html -%}
</head>
45 changes: 28 additions & 17 deletions _includes/views/footer.html
Original file line number Diff line number Diff line change
@@ -1,21 +1,32 @@
<footer class="site-footer h-card">
<data class="u-url" href="{{ "/" | relative_url }}"></data>
<data class="u-url" href="{{ '/' | relative_url }}"></data>

<div class="wrapper">
<div class="site-footer-inner">
{%- assign currentYear = 'now' | date: "%Y" -%}
{%- assign copyright = site.copyright
| replace: '{currentYear}', currentYear
| replace: '{author}', site.author
| replace: '(c)', '&copy;'
| replace: '(p)', '℗'
| replace: '(cleft)', '<span class="copyleft">&copy;</span>'
-%}
<div>{{ copyright }}</div>
<div>Powered by <a title="Jekyll is a simple, blog-aware, static site
generator." href="https://jekyllrb.com/">Jekyll</a> &amp; <a title="Yat, yet
another theme." href="https://github.com/jeffreytse/jekyll-theme-yat">Yat Theme</a>.</div>
<div class="footer-col rss-subscribe">Subscribe <a href="{{ "/feed.xml" | relative_url }}">via RSS</a></div>
<div class="wrapper">
<div class="site-footer-inner">
{%- assign currentYear = 'now' | date: "%Y" -%} {%- assign copyright
= site.copyright | replace: '{currentYear}', currentYear | replace:
'{author}', site.author | replace: '(c)', '&copy;' | replace: '(p)',
'℗' | replace: '(cleft)', '<span class="copyleft">&copy;</span>' -%}
<div>{{ copyright }}</div>
<div>
Powered by
<a
title="Jekyll is a simple, blog-aware, static site
generator."
href="https://jekyllrb.com/"
>Jekyll</a
>
&amp;
<a
title="Yat, yet
another theme."
href="https://github.com/jeffreytse/jekyll-theme-yat"
>Yat Theme</a
>.
</div>
<div class="footer-col rss-subscribe">
Subscribe <a href="{{ '/feed.xml' | relative_url }}">via RSS</a>
</div>
</div>
</div>
</div>
</footer>
11 changes: 8 additions & 3 deletions _includes/views/site-brand.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
<a class="site-brand-inner" rel="author" href="{{ "/" | relative_url }}">
<img class="site-favicon" title="{{ site.title | escape }}" src="{{ site.favicon }}" onerror="this.style.display='none'">
{{ site.title | escape }}
<a class="site-brand-inner" rel="author" href="{{ '/' | relative_url }}">
<img
class="site-favicon"
title="{{ site.title | escape }}"
src="{{ site.favicon }}"
onerror="this.style.display='none'"
/>
{{ site.title | escape }}
</a>
42 changes: 16 additions & 26 deletions _layouts/default.html
Original file line number Diff line number Diff line change
@@ -1,27 +1,17 @@
<!DOCTYPE html>
<html lang="{{ page.lang | default: site.lang | default: "en" }}">

{%- include head.html -%}

<body>

{%- include views/header.html -%}

{%- include views/banner.html -%}

{%- include extensions/hashlocate.html -%}

{%- include extensions/theme-toggle.html -%}

{%- include extensions/click-to-top.html -%}

<main class="page-content" aria-label="Content">
<div class="wrapper">
{{ content }}
</div>
</main>

{%- include views/footer.html -%}

</body>
<!doctype html>
<html lang="{{ page.lang | default: site.lang | default: 'en' }}">
{%- include head.html -%}

<body>
{%- include views/header.html -%} {%- include views/banner.html -%} {%-
include extensions/hashlocate.html -%} {%- include
extensions/theme-toggle.html -%} {%- include
extensions/click-to-top.html -%}

<main class="page-content" aria-label="Content">
<div class="wrapper">{{ content }}</div>
</main>

{%- include views/footer.html -%}
</body>
</html>
4 changes: 1 addition & 3 deletions _posts/2023-04-25-project-plan.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,7 @@ En la planificación del proyecto se considera los siguientes supuestos:

## Entregables principales del proyecto

[//]: # "Deliverables: list and describe all products, services, results that
the project work will produce. If there are ambiguities, describe also what is
NOT going to be part of the work and final output"
[//]: # "Deliverables: list and describe all products, services, results that the project work will produce. If there are ambiguities, describe also what is NOT going to be part of the work and final output"

Los entregables del proyecto son:

Expand Down

0 comments on commit af2376f

Please sign in to comment.