Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ facebook:
username :
app_id :
publisher :
og_image : # Open Graph/Twitter default site image
og_image : /assets/images/data-science.png
# For specifying social profiles
# - https://developers.google.com/structured-data/customize/social-profiles
social:
Expand Down
12 changes: 6 additions & 6 deletions _includes/archive-single.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
{% endif %}

<div class="{{ include.type | default: 'list' }}__item">
<article class="archive__item" itemscope itemtype="https://schema.org/CreativeWork">
{% if include.type == "grid" and teaser %}
<div class="archive__item-teaser">
<a href="{{ post.url | relative_url }}"><img src="{{ teaser | relative_url }}" alt="{{ post.title }}"></a>
</div>
{% endif %}
<article class="archive__item card" itemscope itemtype="https://schema.org/CreativeWork">
{% if teaser %}
<div class="archive__item-teaser">
<a href="{{ post.url | relative_url }}"><img src="{{ teaser | relative_url }}" alt="{{ post.title }}"></a>
</div>
{% endif %}
<h2 class="archive__item-title no_toc" itemprop="headline">
{% if post.link %}
<a href="{{ post.link }}">{{ title }}</a> <a href="{{ post.url | relative_url }}" rel="permalink"><i class="fas fa-link" aria-hidden="true" title="permalink"></i><span class="sr-only">Permalink</span></a>
Expand Down
2 changes: 1 addition & 1 deletion _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<!-- Google Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Lora:wght@400;700&family=Roboto:wght@400;700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=Nunito+Sans:wght@400;700&display=swap" rel="stylesheet">

{% if site.head_scripts %}
{% for script in site.head_scripts %}
Expand Down
2 changes: 1 addition & 1 deletion _layouts/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -108,4 +108,4 @@ <h2 class="page__related-title">{{ site.data.ui-text[site.locale].related_label
{% if jekyll.environment == 'production' and site.comments.provider and page.comments %}
{% include comments.html %}
{% endif %}
</div>
</div>
4 changes: 2 additions & 2 deletions _sass/minimal-mistakes/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ $calisto: "Calisto MT", serif !default;
$garamond: Garamond, serif !default;

// Setting the fonts
$global-font-family: "Roboto", Helvetica, Arial, sans-serif;
$header-font-family: "Lora", "Times New Roman", serif;
$global-font-family: 'Inter', system-ui, sans-serif;
$header-font-family: 'Nunito Sans', system-ui, sans-serif;
$caption-font-family: "Cardo, serif";

/* type scale */
Expand Down
12 changes: 6 additions & 6 deletions _sass/minimal-mistakes/skins/_air.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
========================================================================== */

/* Colors */
$background-color: #eeeeee !default;
$text-color: #222831 !default;
$muted-text-color: #393e46 !default;
$primary-color: #0092ca !default;
$border-color: mix(#fff, #393e46, 75%) !default;
$background-color: #f7f9fa !default;
$text-color: #2a2a2a !default;
$muted-text-color: #6c757d !default;
$primary-color: #2a4849 !default;
$border-color: mix(#fff, $text-color, 85%) !default;
$footer-background-color: $primary-color !default;
$link-color: #393e46 !default;
$link-color: $primary-color !default;
$masthead-link-color: $text-color !default;
$masthead-link-color-hover: $text-color !default;
$navicon-link-color-hover: mix(#fff, $text-color, 80%) !default;
Expand Down
13 changes: 13 additions & 0 deletions assets/css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -134,3 +134,16 @@ a:hover {
max-height: 40vh;
object-fit: cover;
}

/* Card styles for archive items */
.archive__item.card {
background: $background-color;
border-radius: $border-radius;
padding: 1em;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
transition: transform 0.2s, box-shadow 0.2s;
}
.archive__item.card:hover {
transform: translateY(-4px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
4 changes: 2 additions & 2 deletions robots.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
User-agent: *
Disallow:

# Sitemap location
Sitemap: https://diogoribeiro7.github.io/sitemap.xml
# Sitemap
Sitemap: https://diogoribeiro7.github.io/sitemap.xml
11 changes: 6 additions & 5 deletions tests/test_fix_date.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
import os
import sys
import tempfile
import frontmatter
import pytest


# Add the project root to sys.path
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
# Add the project root to sys.path so local modules can be imported when
# running the tests via the `pytest` entry point (which doesn't prepend the
# working directory to `sys.path`).
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), "..")))

import frontmatter
import pytest
import fix_date


Expand Down