Update Hugo configuration and development shell

This commit is contained in:
Gabriel Arazas 2023-03-24 13:29:44 +08:00
parent 91b4d517d2
commit f6dc3b07f4
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC
3 changed files with 16 additions and 2 deletions

View File

@ -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

View File

@ -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/).
"""

View File

@ -23,6 +23,7 @@ mkShell {
openring
gnumake
tree-sitter
(tree-sitter.withPlugins (_: tree-sitter.allGrammars))
# Formatters...
rufo # ...for Ruby.