Skip to content

Commit

Permalink
edit about page and metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
fp555 committed Nov 12, 2023
1 parent cae6640 commit 9635a57
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 23 deletions.
27 changes: 11 additions & 16 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,11 @@ url: https://fab.pm
baseurl: /
title: fab.pm
tagline: Yet another personal blog
description: A personal Jekyll blog hosted on Github Pages where I post my thoughts
description: A personal Jekyll blog hosted on Github Pages
logo: assets/images/favicon/android-chrome-512x512.png

author:
name: fp555
email: mail@fab.pm
url: https://github.com/fp555

timezone: Europe/Rome
date_format: "%-d %B %Y"
permalink: /:year/:y_day
Expand All @@ -21,9 +18,9 @@ skin: dark
# this and add the path to the pages in order as they should show up
header_pages:
- pages/blog.html

# set your GA ID to include analytics
google_analytics: false
# Jekyll will ignore these files/paths
exclude: [README.md]

plugins:
- jekyll-feed
Expand All @@ -49,26 +46,24 @@ relative_links:

emoji:
src: https://github.githubassets.com/images/icons/

sass:
implementation: sass-embedded
sourcemap: development

# set your GA ID to include analytics
google_analytics: false

# Github Pages defaults
# safe changed to false to install non whitelisted plugins
lsi: false
safe: false
safe: false # changed from true to install non whitelisted plugins
incremental: false
profile: false
highlighter: rouge
kramdown:
math_engine: mathjax
syntax_highlighter: rouge
sass:
implementation: sass-embedded
sourcemap: development

# Settings for GitHub devcontainer
# livereload not supported by Github environment
port: 4000
livereload: false

# Jekyll will ignore these files/paths
exclude: [README.md]
2 changes: 1 addition & 1 deletion _data/bio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ name: Fabio Pollastri
photo: assets/images/about/profile.jpg
location: Rome, Italy
dob: 31 Oct 1990
mail: 7722100+fp555@users.noreply.github.com
mail: mailto:7722100+fp555@users.noreply.github.com
github: https://github.com/fp555
telegram: https://t.me/fp555
4 changes: 0 additions & 4 deletions _includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,13 @@
<p><a class="page-link rss-link" href="{{ site.feed_path | default: 'feed.xml' | relative_url }}">
<svg class="svg-icon rss-icon" viewBox="0 0 16 16"><use href="{{ 'assets/minima-social-icons.svg#rss' | relative_url }}"></use></svg>
Subscribe</a></p>
{% if site.author -%}
<ul class="contact-list">
{% if site.author.name and site.author.url -%}
<li>Website by <a href="{{ site.author.url }}">{{ site.author.name }}</a></li>
{% endif -%}
<li>Commit {{ "%%%SHA" | truncate: 7, "" }} built {{ site.time | date: "%F %R" }}</li>
{% if site.tagline -%}
<li class="cl-description">{{ site.tagline }}</li>
{% endif -%}
</ul>
{% endif -%}
</div>
<div class="footer-col fc-counter">
<p>Website pages served by cute anime catgirls:</p>
Expand Down
2 changes: 1 addition & 1 deletion _includes/header.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<header class="site-header">
<div class="wrapper">
<a class="site-title" rel="author" href="{{ '/' | relative_url }}">{{ site.title }}</a>
<a class="site-title" rel="bookmark" href="{{ site.baseurl | relative_url }}">{{ site.title }}</a>
{%- assign titles_size = site.pages | map: 'title' | join: '' | size -%}
{% if titles_size > 0 -%}
<nav class="site-nav">
Expand Down
6 changes: 5 additions & 1 deletion pages/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,13 @@
permalink: /about
---
<section>
{% assign bio = site.data.bio -%}
<img src="{{ bio.photo | relative_url }}" alt="logo">
<ul>
{%- assign bio = site.data.bio -%}
<li><h3>{{ bio.name }}</h3></li>
<li>{{ bio.location }}&emsp;&mdash;&emsp;Born in {{ bio.dob | date: "%Y" }}</li>
<li><a href="{{ bio.mail | default: 'mailto:7722100+fp555@users.noreply.github.com' }}"><svg class="svg-icon" viewBox="0 0 16 16"><use href="{{ 'assets/minima-social-icons.svg#gmail' | relative_url }}"></use></svg></a></li>
<li><a href="{{ bio.github | default: site.author.url}}"><svg class="svg-icon" viewBox="0 0 16 16"><use href="{{ 'assets/minima-social-icons.svg#github' | relative_url }}"></use></svg></a></li>
<li><a href="{{ bio.telegram | default: '#'}}"><svg class="svg-icon" viewBox="0 0 16 16"><use href="{{ 'assets/minima-social-icons.svg#telegram' | relative_url }}"></use></svg></a></li>
</ul>
</section>

0 comments on commit 9635a57

Please sign in to comment.