Sha256: 9e1b19f7de00d3c31ed67c78cce704a395f172b9e0f7e0274af1e851c2199a28

Contents?: true

Size: 203 Bytes

Versions: 1

Compression:

Stored size: 203 Bytes

Contents

# frozen_string_literal: true

module Bridgetown
  module Resource
    class Base
      def sitemap_last_modified_at
        data.last_modified_at || File.mtime(path) || date
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bridgetown-sitemap-1.0.0 lib/bridgetown/resource/base.rb