You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Output information for one of the [72 Japanese micro season](https://www.nippon.com/en/features/h00124/) based on the current date directly into your Kirby templates and customize using the provided options in your Kirby `config.php` file.
1.[Download](https://github.com/scottboms/kirby-microseasons/archive/master.zip) the contents of this repository as Zip file.
22
+
2. Rename the extracted folder to `kirby-microseasons` and copy it into the `site/plugins/` directory in your Kirby project.
23
+
24
+
## Usage
25
+
26
+
In any template, drop in the following line to include the output from this plugin in your site.
27
+
28
+
<?= snippet('microseasons') ?>
29
+
30
+
## Configuration Options
31
+
32
+
If you want to modify the wrapper HTML element, change the wrapper class, or output the date information in a custom format, you can configure this using the included plugin options. Date formatting follows the [available format options from PHP](https://www.php.net/manual/en/function.date.php).
33
+
34
+
'scottboms.microseasons' => [
35
+
'wrapper' => 'div',
36
+
'class' => 'microseasons',
37
+
'dateformat' => 'M d, Y'
38
+
],
39
+
40
+
## Disclaimer
41
+
42
+
This plugin is provided "as is" with no guarantee. Use it at your own risk and always test before using it in a production environment. If you identify an issue, typo, etc, please [create a new issue](https://github.com/scottboms/kirby-microseasons/issues/new) so I can investigate.
0 commit comments