Sha256: 0f27ad0ab5fb02698447cb86b4a376577719c5ac4b053a9f487b99d8713b7ed7
Contents?: true
Size: 298 Bytes
Versions: 4
Compression:
Stored size: 298 Bytes
Contents
# Frozen-string-literal: true # Encoding: utf-8 module Jekyll class Renderer def permalink_ext if document.permalink && !document.permalink.end_with?("/") ext_match = document.permalink.match(/\.[\w+-]+$/) ext_match[0] unless ext_match.nil? end end end end
Version data entries
4 entries across 4 versions & 1 rubygems