From af546ab78aa652ae10f2d3190b82e7a3bec4cf90 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Mon, 5 Jul 2021 22:58:52 +0200 Subject: plugins: fixed rubocop errors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- _plugins/type.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to '_plugins/type.rb') diff --git a/_plugins/type.rb b/_plugins/type.rb index 2d9ac92..8c4c2b8 100644 --- a/_plugins/type.rb +++ b/_plugins/type.rb @@ -39,6 +39,7 @@ module Jekyll def render_article_tags(page) tags = page["tags"].inject("") { |acc, t| acc + render_meta("article:tag", t) } + # rubocop:disable Style/StringConcatenation '' + render_meta("og:author", "Miquel Sabaté Solà") + render_meta("profile:first_name", "Miquel") + @@ -49,6 +50,7 @@ module Jekyll render_meta("article:published_time", published_time(page)) + render_meta("article:modified_time", modified_time(page)) + tags + # rubocop:enable Style/StringConcatenation end # Returns the published time of the given page. -- cgit v1.2.3