-
Notifications
You must be signed in to change notification settings - Fork 0
fileToString
Reuben L. Lillie edited this page Jul 22, 2019
·
4 revisions
The fileToString() filter converts an entire file’s contents to a single line of text.
Code resides in filters/file-to-string.js where there is more technical inline documentation.
Call fileToString() as a universal filter in 11ty, inside a template, shortcode, or even another filter—anywhere you need to input a file’s contents as a string.
Copyright © 2019 by Pittsburgh District Church of the Nazarene
- Welcome
- Setup
- Coding Standards
-
HTML (in
/pghnaz.org/wiki) -
CSS (in
/pghnaz.org/wiki) -
JavaScript (in
/pghnaz.org/wiki)
-
HTML (in
- Color Scheme
- Style Guide
- Layouts
404.11ty.jsbase.11ty.jscalendar.11ty.jscontact.11ty.jscontent.11ty.jscollection.11ty.jseventList.11ty.jsmap.11ty.jssearch.11ty.js
- Filters
- Shortcodes
- Site Information
affiliateLogo()copyrightNotice()favicon()rootDomainLogo()siteLogo()siteTagline()
- Document metadata
descriptionMeta()contentDate()contentTitle()externalCSS()headTag()inlineCSS()socialMeta()titleTag()
- Navigation
menu()socialLinks()
- Headers
contentHeader()siteHeader()
- Footers
contentFooter()siteFooter()
- Call to Action
callToAction()editThisPage()subscribeToNewsletter()
- Site Information
- Client-Side JavaScript
search.js
- Other static assets
- Badges
- Branding
- Fonts