<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Jekyll on Edbro.net - A Cybersecurity Blog</title>
    <link>https://edbro.net/tags/jekyll/</link>
    <description>Recent content in Jekyll on Edbro.net - A Cybersecurity Blog</description>
    <image>
      <title>Edbro.net - A Cybersecurity Blog</title>
      <url>https://edbro.net/images/edbro</url>
      <link>https://edbro.net/images/edbro</link>
    </image>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Sat, 17 Apr 2021 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://edbro.net/tags/jekyll/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Migrating to Cloudflare</title>
      <link>https://edbro.net/posts/migrating-to-cloudflare/</link>
      <pubDate>Sat, 17 Apr 2021 00:00:00 +0000</pubDate>
      <guid>https://edbro.net/posts/migrating-to-cloudflare/</guid>
      <description>&lt;p&gt;I&amp;rsquo;ve been looking around on how to get some statistics from my blog, especially regarding the number of visitors. Sadly the current solution (GitHub pages) does not seem to natively support this kind of statistics without adding third party tracking. After looking around for different solutions Cloudflare caught my attention. I know that among others, &lt;a href=&#34;https://www.troyhunt.com/&#34;&gt;Troy Hunt&lt;/a&gt; writes about and uses Cloudflare, so I decided to give it a try.&lt;/p&gt;
&lt;p&gt;Migrating from GitHub pages to Cloudflare pages was as easy as configuring what GitHub repo to use in Cloudflare, picking Jekyll and then it just worked. Right after the page was built you see some basic statistics, such as the amount of request grouped by country. Below the first hours of traffic is shown in a map, as presented by Cloudflare.&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p>I&rsquo;ve been looking around on how to get some statistics from my blog, especially regarding the number of visitors. Sadly the current solution (GitHub pages) does not seem to natively support this kind of statistics without adding third party tracking. After looking around for different solutions Cloudflare caught my attention. I know that among others, <a href="https://www.troyhunt.com/">Troy Hunt</a> writes about and uses Cloudflare, so I decided to give it a try.</p>
<p>Migrating from GitHub pages to Cloudflare pages was as easy as configuring what GitHub repo to use in Cloudflare, picking Jekyll and then it just worked. Right after the page was built you see some basic statistics, such as the amount of request grouped by country. Below the first hours of traffic is shown in a map, as presented by Cloudflare.</p>
<p><img alt="Cloudflare map" loading="lazy" src="/images/2021/migrating-to-cloudflare/Cloudflare-map.png"></p>
<p>In addition to providing basic statistics, using Cloudflare gives a lot of additional benefits. This includes the use of their Content Delivery Network, protection from Denial of Service, and easy HTTPS. I have not dug deep into which is best in these regards, but i find it difficult to believe that I have made a significant downgrade.</p>
<p>So in conclusion to gain some basic statistics of the usage of my blog, I&rsquo;ve migrated it to Cloudflare. The solution will not track any personal data, only basic statistics to gain some insight in how many readers are  using/enjoying my blog.</p>
]]></content:encoded>
    </item>
    <item>
      <title>Building a Webpage</title>
      <link>https://edbro.net/posts/building-a-webpage/</link>
      <pubDate>Wed, 19 Aug 2020 00:00:00 +0100</pubDate>
      <guid>https://edbro.net/posts/building-a-webpage/</guid>
      <description>&lt;p&gt;So here we go, I finally got around to building a blog, and after looking around at different options i ended up using Jekyll and github pages. In addition to getting me this webpage, it allowed me to get some basic insight into ruby, making this a case of two birds one stone.&lt;/p&gt;
&lt;p&gt;Getting things to work have been quite a fiddle, so lets walk through how I got things up and running.&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p>So here we go, I finally got around to building a blog, and after looking around at different options i ended up using Jekyll and github pages. In addition to getting me this webpage, it allowed me to get some basic insight into ruby, making this a case of two birds one stone.</p>
<p>Getting things to work have been quite a fiddle, so lets walk through how I got things up and running.</p>
<p>The first step was to get ruby and jekyll installed on my local machine for testing. After trying with wsl I lost my patience and to my surprise it was easier to install directly in windows. Jekyll has a great guide on how to install ruby, jekyll and all dependencies at <a href="https://jekyllrb.com/docs/installation/windows/">https://jekyllrb.com/docs/installation/windows/</a>.</p>
<p>The next step was to create my github repository. To be able to host github pages you have to name the repository <code>&lt;username&gt;.github.io</code> where you replace <code>&lt;username&gt;</code> with your github username. After that I cloned my repository to my local machine and initiated jekyll by running <code>jekyll new .</code> in my repository.</p>
<p>At this point I got a basic blog. By using <code>bundle exec jekyll serve</code> the webpage is built and hosted locally for testing. It works, but now it&rsquo;s time to pretty the page up a bit. After looking around on different themes for a while I ended up choosing <a href="https://github.com/ngzhio/jekyll-theme-hamilton">Hamilton</a>, it fits my needs nicely, and i really enjoy the look. Installing it was as easy as following the guide in the documentation, you just have to remember to change the theme in <code>_config.yml</code>, to ensure that you use the new theme. That took far to long to realise, but finally I made it.</p>
]]></content:encoded>
    </item>
  </channel>
</rss>
