Sha256: d6f4aa322d00046892c824e11a7f1aee0906ea642703454823de32ed2ebb6708
Contents?: true
Size: 861 Bytes
Versions: 7
Compression:
Stored size: 861 Bytes
Contents
doctype html html head = csrf_meta_tags meta content='width=device-width, initial-scale=1.0' name='viewport' / link crossorigin="anonymous" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css" integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/" rel="stylesheet" / script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js" = render 'beyond_canvas/custom/public_head' body.body--single-page main.main class=("#{params[:controller].gsub(/[\/_]/, "-")}--#{params[:action]}") .main-wrapper - logo = Dir["app/assets/images/logo.*"].first - unless logo.nil? - if File.extname(logo) == '.svg' = inline_svg File.basename(logo), class: 'logo' - else = image_tag File.basename(logo), class: 'logo' = yield
Version data entries
7 entries across 7 versions & 1 rubygems