This is a theme based on the design of kjaymiller.com at the time
Project description
KJayMiller Render Engine Theme
This is a theme based on the early development of render-engine for kjaymiller.com.
It relies on Tailwind CSS with support for icons via fontawesome and embeds for analytics, and newsletters.
Quickstart
- Install this theme through pip:
pip install kjaymiller-render-engine-theme
- Import and register your theme:
from render_engine import Site
from kjaymiller_render_engine_theme import theme
app = Site()
app.register_themes(theme)
- Add configuration file
This theme supports styling through TailwindCSS. To add your own configuration, create a tailwind.config.js
file in your project root and add your configuration there. You will need the following information in your config:
// tailwind.config.js
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['output/**/*.{html, js}'],
plugins: [require('@tailwindcss/typography')]
}
- Add your theme settings
This theme supports embeds for many different tools as well as configurations for your tailwindcss settings. Here is a basic example of what your site's theme settings might look like:
settings = {
... # settings for other plugins and your site
"theme" : {
"colors": {
"main1": "rose-800", # You can use any valid tailwindcss color here
}
"favicon": "https:fav.farm/☕", # url to your favicon
"fontawesome": "12345abcde", # fontawesome license key
"buttondown": "kjaymiller", # newsletter id for embed
"colors": {
"main1": "purple-500",
"header_gradient_interval": 100,
},
"social": {
"youtube": "https://www.youtube.com/kjaymiller",
"twitter": "https://twitter.com/kjaymiller",
"linkedin": "https://linkedin.com/in/kjaymiller",
"github": "https://github.com/kjaymiller",
"mastodon": "https://mastodon.social/@kjaymiller",
},
}
}
- Build your site
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for render-engine-theme-kjaymiller-2023.10.2a1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a10282c8d68444e408e9140fa4449dd383cc4839e10882b194562910f670f872 |
|
MD5 | 1943e5663e2f36874e800a7c3f58cf12 |
|
BLAKE2b-256 | 26e0ec8458d18f6d49f5be161a238bab16297899336416376d3d7d4489fcfb75 |
Hashes for render_engine_theme_kjaymiller-2023.10.2a1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5522d9c02e58e9a41becc1c693bf465bfacce94913f90eaa37889901f8f0a10e |
|
MD5 | ff9d1ca4faa65086a9c386dcdf8339ba |
|
BLAKE2b-256 | 18289ecba19bfc9c38b1e5199425bb0664a035c005192c37c9c4bf98ffc2dad7 |