diff --git a/Gemfile b/Gemfile index 678334c..9d68fb8 100644 --- a/Gemfile +++ b/Gemfile @@ -1,13 +1,15 @@ +# frozen_string_literal: true + source 'https://rubygems.org' gem 'asciidoctor' gem 'asciidoctor-bibtex' +gem 'asciidoctor-foodogsquared-extensions', path: './gems' gem 'asciidoctor-html5s' gem 'asciidoctor-rouge' gem 'asciidoctor-tabs', github: 'asciidoctor/asciidoctor-tabs' gem 'asciidoctor-interdoc-reftext' gem 'rouge' gem 'rubocop' -gem 'asciidoctor-foodogsquared-extensions', :path => './gems' group :development do gem 'ruby-lsp', require: false diff --git a/config.toml b/config.toml index 3541590..72f5bac 100644 --- a/config.toml +++ b/config.toml @@ -6,6 +6,7 @@ paginate = 40 copyright = "© foodogsquared" canonifyURLs = true summaryLength = 0 +timeZone = "UTC" [[module.imports]] path = "github.com/foo-dogsquared/hugo-theme-more-contentful" @@ -19,6 +20,7 @@ extensions = [ "asciidoctor-tabs", "asciidoctor-bibtex", ] +trace = true workingFolderCurrent = true [markup.asciidocExt.attributes] @@ -28,6 +30,15 @@ sectanchors = true source-highlighter = "rouge" allow-uri-read = true experimental = true +linkcss = true + +# asciidoctor-bibtex +bibtex-file = "./assets/bibliography.bib" +bibtex-order = "alphabetical" +bibtex-throw = true + +# asciidoctor-tabs +tabs-sync-option = true [author.foo-dogsquared] name = "Gabriel Arazas" @@ -94,7 +105,7 @@ section = ["HTML", "ATOM", "RSS", "JSON"] mainSections = ["posts", "projects"] toc = true extraNotes = """ -This site uses [medium-zoom](https://github.com/francoischalifour/medium-zoom), and lots of modern CSS features for the life of me. +This site uses [medium-zoom](https://github.com/francoischalifour/medium-zoom) and lots of modern CSS features for the life of me. For analytics, it uses [GoatCounter](https://goatcounter.com/). """ diff --git a/shell.nix b/shell.nix index 7f9fd20..0ed3d97 100644 --- a/shell.nix +++ b/shell.nix @@ -23,6 +23,7 @@ mkShell { openring gnumake tree-sitter + (tree-sitter.withPlugins (_: tree-sitter.allGrammars)) # Formatters... rufo # ...for Ruby.