Home

Pages Classes Methods

    Pages

    • Gemfile.tt
    • bower.json
    • config.tt
    • app.js
    • glyptotheque.js
    • controllers.js
    • directives.js
    • services.js
    • head-js.js
    • glyptotheque.scss
    • _$variables.scss
    • _base.scss
    • _model-utils.scss
    • _model.scss
    • _nav.scss
    • _outliner.scss
    • main.scss
    • borland.css
    • colorful.css
    • github.css
    • trac.css
    • _model-index.slim
    • _model-outline-element.slim
    • _model-outline.slim
    • _model-utils.slim
    • _model.slim
    • _nav.slim
    • index.html.slim
    • glyptotheque.slim
    • layout.slim
    • standalone.slim
    • data.tt
    • index-template.tt
    • styles.tt
    • template.tt
    • local_url = current_page.metadata.page

    • url = local_url || current_page.url

    • title = current_page.metadata.page || locals # locals should be first but there’s a bug

    • description = locals || current_page.metadata.page

    • standalone_url = !!extensions ? url.sub(//$/, ‘/standalone’) : url.sub(/.html$/, ‘-standalone.html’)

    • if resource_file(current_page).match(/-?standalone/?$/)

      html¶ ↑

    • else article.glypto-model

      header
        - if title
          h3._title
            - if local_url
              = link_to title, local_url
            - else
              = title
        - if description
          p._description = description
      
        ._standalone = link_to standalone_url, target: '_blank' do
          i.fa.fa-external-link title="Standalone version"
      
      section.glypto-model-stage
        - if current_page.metadata.page.iframe
          iframe src="#{url_for(standalone_url)}" height="0" width="100%" frameborder="0" scrolling="no" onload='javascript:resizeIframe(this);'
        - else
          figure = html
      
      = partial 'glyptotheque/model-utils', locals: { html: html }
      • unless locals

        • stylesheets = current_page.metadata.page || current_page.metadata.page || current_page.data || current_page.data

        • javascripts = current_page.metadata.page || current_page.metadata.page || current_page.data || current_page.data

        • if stylesheets

          • content_for :stylesheets, include_stylesheets(stylesheets)

        • if javascripts

          • content_for :javascripts, include_javascripts(javascripts)

    Validate

    Generated by RDoc 6.4.0.

    Based on Darkfish by Michael Granger.