Skip to content

cainaru/ds_stlawu

Repository files navigation

STLAWU Digital Scholarship Theme

This theme is meant to be used for Digital Scholarship projects and initiatives for St. Lawrence University. This is a sub-theme of Bootstrap.

Important Note

To get a better idea of what this theme can do, please consider installing the following modules using the Standard profile :

Features

Theme settings

This sub-theme includes the following settings:

  • Toggleable university brand banner
  • Toggleable university wordmark in footer
  • Toggleable and modifiable contact information in footer (Contact information is set to Digital Scholarship by default, but can be changed depending on your project's use case)

To access these settings, go to /admin/appearance/settings/ds_stlawu and click the tab labeled Digital Scholarship: stlawu Settings

Accessible Breadcrumbs

Bootstrap 4 has improved upon breadcrumb accessibility, but the base theme Bootstrap does not currently support Bootstrap 4. This sub-theme modifies the markup for the breadcrumbs so that the ordered list is wrapped in a <nav> tag to signify to screenreaders that the list of breadcrumbs is navigation and also applies aria-current="page" to the current page's location within the breadcrumb navigation hierarchy.

Better Figure and Figcaptions for inline images and media

As per the markup recommendations in How do you figure?, this sub-theme uses figure="role" on figure elements. Similar is applied to media types.

Twig block, extends, and parent()

Many of the templates in this sub-theme take advantage of block, extends, and parent().

Cleaner .theme file

This sub-theme takes advantage of the base theme's plugin system for preprocessing variables for templates.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published