Class: Jekyll::Vite::AssetPathTag

Inherits:
Tag
  • Object
show all
Defined in:
lib/jekyll/vite/tags.rb

Overview

Public: Renders a path to a Vite asset.

Instance Method Summary collapse

Methods inherited from Tag

#render_variable

Instance Method Details

#render(context) ⇒ Object



82
83
84
# File 'lib/jekyll/vite/tags.rb', line 82

def render(context)
  super { vite_asset_path(@file, **@params) }
end