mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 12:16:23 +00:00
14 lines
251 B
Ruby
14 lines
251 B
Ruby
# frozen_string_literal: true
|
|
|
|
require 'jekyll'
|
|
|
|
# Monkeypatcheando Jekyll
|
|
module Jekyll
|
|
# Métodos agregados o modificados a Site
|
|
class Site
|
|
# Obtener un nombre para el sitio
|
|
def name
|
|
@name ||= File.basename(dest)
|
|
end
|
|
end
|
|
end
|