Sha256: e1ce787f16a57298103b853385f28851039f0df8e19c27c5921f25779d9226bb
Contents?: true
Size: 1.77 KB
Versions: 2
Compression:
Stored size: 1.77 KB
Contents
<!DOCTYPE html> <html lang="{{ site.lang | default: " en-US" }}"> <head> {% include casjays-header.html %} {% if site.custom_theme.directory %} {% include themes/{{ site.custom_theme.directory }}/meta.html %} {% endif %} </head> <body style="font-size: {{ site.custom_theme.nav.font_size.default }};"> <div class="container-fluid align-items-center text-center"> {% include themes/{{ site.custom_theme.directory }}/page_header.html %} <div class="container text-center align-item-center"> <div class="row"> {% assign folder = site.gallery.folder %} {% for file in site.static_files %} {% if file.path contains site.gallery.folder %} {% if file.extname == '.jpg' or file.extname == '.png' or file.extname == '.svg' or file.extname == '.gif' or file.extname == '.jpeg' or file.extname == '.JPG' or file.extname == '.JPEG' %} {% assign filenameparts = file.path | split: "/" %} {% assign filename = filenameparts | last | replace: file.extname,"" %} <div class="col-md h-75 w-75 mt-4 mb-4" style="width: 300px;height: 300px;"> <div class="card mb-5" style="width: 300px;height: 300px;"> <div class="card-body"> <h5 class="card-title"></h5> <p class="card-text"> <a href="{{ file.path | prepend: site.baseurl }}"> <img src="{{ file.path | prepend: site.baseurl }}" class="card-img-top img-thumbnail" alt="{{ filename }}" style="width: 225px;height: 225px; display: flexbox;"/> </a> </p> </div> <div class="card-footer"> <small class="text-muted"> <a href="{{ file.path | prepend: site.baseurl }}"> {{ filename }} </a> </small> </div> </div> </div> {% endif %} {% endif %} {% endfor %} </div> </div> </div> </body> </html>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
casjaysdev-jekyll-theme-0.2.6 | _includes/functions/gallery.html |
casjaysdev-jekyll-theme-0.2.5 | _includes/functions/gallery.html |