What's New
- Theme settings. Now we have separate settings for main and theme settings.
- Theme selection is now on its own page.
Note for theme settings
- For theme screenshots, htmly will automatically display an image with the
screenshotfile name. - Theme information and settings are declared in
theme.jsonand will be displayed in/admin/themes/your-theme. Here is an example:
{
"name": "Theme One",
"version": "1.0.0",
"author": "Your Name",
"homepage": "https://www.example.com"
"description": "A modern and sleek theme for blogs.",
"settings": [
{
"type": "checkbox",
"name": "recent_posts",
"label": "Recent Posts",
"value": "",
"info": "Enable Recent Posts widget"
},
{
"type": "select",
"name": "layout",
"label": "Layout Style",
"value": "",
"options": ["grid", "list", "masonry"],
"info": "Choose homepage layout"
}
]
}
To get the settings value, use theme_config('setting_name')
What's Changed
- Drag drop images by @sean1138 in #958
- bugfix upload image modal background by @sean1138 in #959
- image uploader layout improvement by @sean1138 in #963
- Add fullscreen feature to Markdown editor by @andrigamerita in #967
- Update it_IT.ini by @eagleman in #979
- Update it_IT.ini by @eagleman in #980
Full Changelog: v3.1.0...v3.1.1