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 render-engine-theme-kjaymiller
- Import and register your theme:
from render_engine import Site
from render_engine_theme_kjaymiller import kjaymiller
app = Site()
app.register_themes(kjaymiller)
- 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 in your app.py
module. Here is a basic example of what your site's theme settings might look like:
app = Site()
settings = {
"NAVIGATION": {...} ,
... # settings for other plugins and your site
"theme" : {
... # Your theme settings
"colors": {
"main1": "rose-800", # You can use any valid tailwindcss color here
}
"favicon": "https:fav.farm/☕", # url to your favicon
"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",
},
}
}
# Update your settings: prefer update to overwrite
app.site_settings.update(theme)
- Build your site
python -m render_engine serve --build app:app
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
File details
Details for the file render_engine_theme_kjaymiller-2024.11.1.tar.gz
.
File metadata
- Download URL: render_engine_theme_kjaymiller-2024.11.1.tar.gz
- Upload date:
- Size: 2.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b73bafdf8e502fa634ff27218f3ede18190a0d8144c69d1380163eac7c5a342 |
|
MD5 | 6baedf0a7ecb24ff489c96b8c2173b3d |
|
BLAKE2b-256 | 8fe7eb7c7ce024047f54b629e6c2624330291fe007ac3e99a6ac857ec215e4c1 |
File details
Details for the file render_engine_theme_kjaymiller-2024.11.1-py3-none-any.whl
.
File metadata
- Download URL: render_engine_theme_kjaymiller-2024.11.1-py3-none-any.whl
- Upload date:
- Size: 2.8 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc2385608942fd6e136b9c0558e0f17ec68b78ca4d6fa1a766a9c44f50dbe45b |
|
MD5 | a8dcd2b8732c80fbb0e7beab28e6f9ed |
|
BLAKE2b-256 | f84eb99b6972cc5959fc5b382071fc29b08512d050ea1ef1203aa1df3e9305a8 |