Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/finanalyst/hkbahaisite
GRAV based site for hk.bahai.org
https://github.com/finanalyst/hkbahaisite
Last synced: 17 days ago
JSON representation
GRAV based site for hk.bahai.org
- Host: GitHub
- URL: https://github.com/finanalyst/hkbahaisite
- Owner: finanalyst
- Created: 2018-07-09T10:40:51.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-19T08:43:58.000Z (over 5 years ago)
- Last Synced: 2024-10-08T14:01:24.059Z (about 1 month ago)
- Language: CSS
- Size: 58.1 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Critical Files for the GRAV site at hk.bahai.org
Only those files that differ from a standard GRAV installation with the Quark theme.
BUT ... the shortcode plugin for `[size]` currently does not support attributes like 'xx-large'.
So the following needs to be the contents of `user/plugins/shortcode-core/shortcodes/SizeShortcode.php`
```
shortcode->getHandlers()->add('size', function(ShortcodeInterface $sc) {
$size = $sc->getParameter('size', $sc->getBbCode());
if ( is_numeric($size) ) { $size = $size.'px' ; }
return ''.$sc->getContent().'';
});
}
}
```