This is the start of a new website of notes, this time with a focus on Ruby and built with jekyll.

Supporting asciidoc

I prefer to write in asciidoc format, and jekyll supports asciidoctor through the jekyll-asciidoc plugin.

To install, add the plugin to Gemfile:

group :jekyll_plugins do
  # OTHER PLUGINS
  gem "jekyll-asciidoc"
end

call bundle install.

I added an icon/configuration for codeberg in the list of social links by copying _includes/social.html to the base folder of my website, and then adding the following to the other options:

  {%- if site.codeberg_username -%}
  <li><a href="https://codeberg.org/{{ site.codeberg_username| cgi_escape | escape }}">
   <img src="https://codeberg.org/assets/img/favicon.png" height="16">_<span class="username">
       {{ site.codeberg_username| escape }}
     </span>
   </a>
 </li>
 {%- endif -%}

Add to _config.yml:

codeberg_username: peterlane