Skip to content

Commit

Permalink
refactor, remove css crap
Browse files Browse the repository at this point in the history
Signed-off-by: Galo Navarro <[email protected]>
  • Loading branch information
srvaroa committed Jan 8, 2024
1 parent b7bb84c commit 796042a
Show file tree
Hide file tree
Showing 16 changed files with 261 additions and 653 deletions.
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: >
background in distributed systems, scalability and data plumbing. This
site collects some of the stuff I make, mostly about and around
software engineering.
baseurl: "" # the subpath of your site, e.g. /blog
baseurl: "/" # the subpath of your site, e.g. /blog
url: "https://varoa.net"
twitter_username: srvaroa
github_username: srvaroa
Expand Down
14 changes: 2 additions & 12 deletions _includes/footer.html
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
<footer class="site-footer">

<div class="wrapper">

<div class="footer-col-wrapper">
&copy; {{ site.time | date: '%Y' }} Galo Navarro
</div>
<div class="footer-col-wrapper">
This site is built with <a href="http://www.vim.org/">Vim</a> and
<a href="https://jekyllrb.com/">Jekyll</a>.
</div>

<div class="footer-col-wrapper">
&copy; {{ site.time | date: '%Y' }} Galo Navarro
</div>

</footer>
12 changes: 10 additions & 2 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,15 @@
<title>{% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %}</title>
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">

<link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}">
<link rel="stylesheet" href="{{ "css/main.css" | prepend: site.baseurl | prepend: site.url }}">
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
<link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}">
<link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ "feed.xml" | prepend: site.baseurl | prepend: site.url }}">

<meta name="twitter:url" content="{{ page.id | prepend: site.baseurl | prepend: site.url}}">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="varoa.net | Galo Navarro">
<meta name="twitter:site" content="varoa.net | Galo Navarro">
<meta name="twitter:description" content="The personal website of Galo Navarro">

<script defer src="https://eu.umami.is/script.js" data-website-id="bb30c536-a7c9-46f5-b50c-7239169c7561"></script>
</head>
39 changes: 7 additions & 32 deletions _includes/header.html
Original file line number Diff line number Diff line change
@@ -1,34 +1,9 @@
<header class="site-header">

<div class="wrapper">

<a class="site-title" href="{{ site.baseurl }}/">{{ site.title }}</a>

<nav class="site-nav">

<div class="trigger">
<ul>
<li><a href="https://hachyderm.io/@srvaroa" title="Mastodon">
<span class="icon icon--mastodon">{% include icon-mastodon.svg %}</span></a>
</li>
<li><a href="https://twitter.com/srvaroa" title="Twitter">
<span class="icon icon--twitter">{% include icon-twitter.svg %}</span></a>
</li>
<li><a href="https://github.com/srvaroa" title="GitHub">
<span class="icon icon--github">{% include icon-github.svg %}</span></a>
</li>
<li><a href="mailto:[email protected]" title="Email">
<span class="icon icon--email">{% include icon-email.svg %}</span></a>
</li>
{% for my_page in site.pages %}
{% if my_page.title %}
<li><a class="page-link" href="{{ my_page.url | prepend: site.baseurl }}">{{ my_page.title }}</a></li>
{% endif %}
{% endfor %}
</ul>
</div>
</nav>

</div>

<a class="site-title" href="{{ site.baseurl }}/">{{ site.title }}</a>
<nav class="site-nav">
<ul>
<li><a href="/about">About</a></li>
<li><a href="/contact">Contact</a></li>
</ul>
</nav>
</header>
3 changes: 1 addition & 2 deletions _includes/icon-email.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 0 additions & 2 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@
{% include header.html %}

<div class="page-content">
<div class="wrapper">
{{ content }}
</div>
</div>

{% include footer.html %}
Expand Down
2 changes: 1 addition & 1 deletion _posts/2018-04-28-gc-analysis-by-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ looking into:

<p align="center">
<a href="/assets/gcviewer_sample_1.png">
<img src="/assets/gcviewer_sample_1.png">
<img width="100%" src="/assets/gcviewer_sample_1.png">
</a>
</p>

Expand Down
2 changes: 1 addition & 1 deletion _posts/2019-10-22-kubernetes-added-a-0-to-my-latency.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ mention later.) But something in the way our service handled each
request seemed strange. Below is a screenshot of the capture, showing
the reception of a request until the start of the response.

<img src="/assets/tcpdump_dns.jpg" align="center"/>
<img src="/assets/tcpdump_dns.jpg" align="center" width="100%"/>

The packet numbers are shown in the first column. I coloured the
different TCP streams for clarity.
Expand Down
Loading

0 comments on commit 796042a

Please sign in to comment.