Sha256: d78b00f276d7934acd11832203d937e2de6bec9a5c6b7c0701c5a2ba57277751
Contents?: true
Size: 709 Bytes
Versions: 3
Compression:
Stored size: 709 Bytes
Contents
# coding: utf-8 require 'mustache' require_relative 'fig/module_fig_base' class Fig_P < Mustache include Fig_00 # <<Fig_P>> # src: 画像ファイル名 # width: 画像幅 # height: 画像高さ # name: 姓 名 # huri: ふり・がな # title: 肩書き # cap: | # プロフィール @template = <<EOT <figure> {{#imgs_list}} <img src="{{fig_src}}" loading="lazy" alt="{{name}}氏" {{& img_style}} /> {{/imgs_list}} <figcaption style="text-align:left;"> <strong>{{name}}({{huri}})氏</strong><br/> <span markdown="span">{{& title}}</span> <div markdown="span" style="margin-top:6px;"> {{& caption}} </div> </figcaption> </figure> EOT end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
zine_brewer-1.13.1 | lib/zine_brewer/templates/fig_p.rb |
zine_brewer-1.13.0 | lib/zine_brewer/templates/fig_p.rb |
zine_brewer-1.12.2 | lib/zine_brewer/templates/fig_p.rb |