diff --git a/README.md b/README.md
index 906892e9..520eb354 100644
--- a/README.md
+++ b/README.md
@@ -1,91 +1,62 @@
-# [Minimal Mistakes Jekyll theme](https://mmistakes.github.io/minimal-mistakes/)
+# Personal Blog on Minimal Mistakes
-[](https://raw.githubusercontent.com/DiogoRibeiro7/DiogoRibeiro7.github.io/master/LICENSE)
+[](LICENSE)
[](https://pages.github.com/)
[](https://github.com/features/actions)
-[](https://jekyllrb.com/)
+This repository contains the source code for my website built with the
+[Minimal Mistakes](https://mmistakes.github.io/minimal-mistakes/) Jekyll theme.
+It also includes a few helper scripts to clean up Markdown front matter and
+run tests.
-[](https://www.ruby-lang.org)
-[](https://rubygems.org/gems/minimal-mistakes-jekyll)
+## Requirements
-
-Minimal Mistakes is a flexible two-column Jekyll theme, perfect for building personal sites, blogs, and portfolios. As the name implies, styling is purposely minimalistic to be enhanced and customized by you :smile:.
-
-## Setup
-
-This repository contains a few helper scripts for processing Markdown posts.
-Install the Python dependencies listed in `requirements.txt` with:
+The site relies on Ruby, Node and Python tooling. Install dependencies with:
```bash
+# Python packages for helper scripts and tests
pip install -r requirements.txt
-```
-To work with the JavaScript that powers the theme you'll also need Node
-dependencies. Install them with:
-
-```bash
+# JavaScript dependencies
npm install
-```
-
-This project uses **npm** for managing JavaScript dependencies and tracks
-exact versions in `package-lock.json`.
-
-Bundled JavaScript is compiled from the source files in `assets/js/`. Run the
-following to create `main.min.js` (minified with a banner) or watch for changes:
-
-```bash
-npm run build:js # minify and add banner
-npm run watch:js # optional: automatically rebuild on changes
-```
-
-## CSS linting
-
-Lint all SCSS files with [Stylelint](https://stylelint.io/):
-```bash
-npm run lint:css
+# Ruby gems for Jekyll
+bundle install
```
-## Local development
+## Development
-Install Ruby gems specified in the `Gemfile` with:
+Use the following commands while working on the site:
```bash
-bundle install
-```
+# start a local server at http://localhost:4000/
+bundle exec jekyll serve
-Serve the site locally with:
+# rebuild JavaScript when files change
+npm run watch:js
-```bash
-bundle exec jekyll serve
+# lint stylesheets
+npm run lint:css
```
+## Tests
-## Running tests
-
-Install the Python dependencies and execute:
+Front matter utilities are covered by a small `pytest` suite. Run the tests with:
```bash
pytest
```
-GitHub Actions already runs these commands automatically during deployments.
-
-# ToDo
-
-~~Have a consistency in the font and font sizes (ideally you want to use 2 fonts. One for the header/subtitle and one for the text. You can use this kind of website https://fontjoy.com/ which allow you to pair fonts).~~
-
-Choose a few main colours for your site (I would suggest black/white/grey but not in solid. You can also use this kind of site: https://coolors.co/palettes/popular/2a4849).
-~~Reduce then size of the homepage top image (ideally you want your first articles to be visible on load and not hidden below the fold).~~
+GitHub Actions executes the same tests on every push.
-~~Restyle your links (ideally the link should be back with no underline and you add a css style on hover)~~
+## Roadmap
-~~Center pagination~~
+Planned improvements are organised as sprints in [ROADMAP.md](ROADMAP.md).
+Highlights include:
-~~Restyle your article detail page breadcrumbs. You want them to be less visible (I would suggest a light grey colour here)~~
+- refining typography and the colour palette
+- restructuring the homepage with card‑style articles
+- adding search and dark mode
+- optimising performance and accessibility
-Right now at the top of the detail page, you have your site breadcrumbs, a title then another title and the font sizes are a bit off and it is hard to understand the role of the second title. I would reorganise this to provide a better understanding to the reader
-On the detail page, I would suggest you put the `You may also enjoy` straight at the end of the article. Right now it is after comments and you can lose engagement on your site.
-I would suggest you remove your description from the detail page. I think having it on the home page is enough. You can have a smaller introduction if needed with a read more button or link that will take the reader to a full page description of yourself and your skillset. That will allow you to tell more about yourself and why you do what you do
-I will create card article with a hover animation (add some shape and background colour and ideally a header image for the card. The graphs you show me last week for example.)
+Contributions are welcome!
diff --git a/_config.yml b/_config.yml
index bcea374e..52175138 100644
--- a/_config.yml
+++ b/_config.yml
@@ -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:
diff --git a/_includes/archive-single.html b/_includes/archive-single.html
index 37b8ec0e..5ebed744 100644
--- a/_includes/archive-single.html
+++ b/_includes/archive-single.html
@@ -11,12 +11,12 @@
{% endif %}
-
- {% if include.type == "grid" and teaser %}
-
-
-
- {% endif %}
+
+{% if teaser %}
+
+
+
+{% endif %}
{% if post.link %}
{{ title }}Permalink
diff --git a/_includes/head.html b/_includes/head.html
index 2e166797..415a0a7f 100644
--- a/_includes/head.html
+++ b/_includes/head.html
@@ -20,7 +20,7 @@
-
+
{% if site.head_scripts %}
{% for script in site.head_scripts %}
diff --git a/_includes/page__hero.html b/_includes/page__hero.html
index add43650..8d1b94ac 100644
--- a/_includes/page__hero.html
+++ b/_includes/page__hero.html
@@ -23,16 +23,16 @@
>
{% if page.header.overlay_color or page.header.overlay_image %}
-
+
{% if page.tagline %}
{{ page.tagline | markdownify | remove: "
" | remove: "
" }}
- {% elsif page.header.show_overlay_excerpt != false and page.excerpt %}
+ {% elsif page.header.show_overlay_excerpt != false and page.excerpt and page.collection != 'posts' %}
{{ page.excerpt | markdownify | remove: "
" | remove: "
" }}
{% endif %}
{% include page__meta.html %}
diff --git a/_layouts/single.html b/_layouts/single.html
index ce76b699..47bca170 100644
--- a/_layouts/single.html
+++ b/_layouts/single.html
@@ -22,10 +22,12 @@
{% include sidebar.html %}
+ {% unless page.header.overlay_color or page.header.overlay_image %}
{% if page.title %}
{{ site.data.ui-text[site.locale].related_label
{% if jekyll.environment == 'production' and site.comments.provider and page.comments %}
{% include comments.html %}
{% endif %}
-