A simple but modern blog theme for DJ Press.
Project description
Blog Theme
This is a simple, but modern, blog theme for DJ Press.
Requirements
This can only be used on sites running DJ Press v0.23 or newer.
Installation
Add the theme to your site's dependencies and install it like any other Python package.
Then configure the THEME setting in the DJPRESS_SETTINGS dictionary in your Django config with the theme name:
DJPRESS_SETTINGS = {
"THEME": "djpress_blog_theme",
}
Configuration
The following settings are supported:
sidebar_position: By default, the sidebar will be on the left-hand side. You can optionally set this to"right"to move the sidebar to the right.avatar_url: Configure this to a URL of your avatar picture, and it will show in the sidebar as a 120x120 pixel round image.mastodon_profile: If you have a Mastodon profile, set this to the URL to your profile and it will show in the sidebar.github_username: If you have a GitHub profile, set this to the URL to your profile and it will show in the sidebar.linkedin_username: If you have a LinkedIn profile, set this to the URL to your profile and it will show in the sidebar.x_username: If you have an X profile, set this to the URL to your profile and it will show in the sidebar.copyright_message: You can override the copyright message in the sidebar which is set to the following by default:"© {% now "Y" %} All rights reserved."
Configure these settings in the THEME_SETTINGS dictionary object in your DJ Press config. For example:
DJPRESS_SETTINGS = {
"THEME": "djpress_blog_theme",
"THEME_SETTINGS": {
"sidebar_position": "right",
"avatar_url": "/static/img/avatar.jpg",
"copyright_message": "Content is CC BY 4.0 – share away!",
}
}
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file djpress_blog_theme-0.1.0.tar.gz.
File metadata
- Download URL: djpress_blog_theme-0.1.0.tar.gz
- Upload date:
- Size: 10.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.26.7 CPython/3.14.3 Linux/6.19.9-200.fc43.x86_64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9f95a69f1a49a81b714991810da2b997af727ae222e41300fa4d029b023122cf
|
|
| MD5 |
e968c58d7b269f0e6dc0b37dd599dedc
|
|
| BLAKE2b-256 |
d9d00fc7c5fcdad78a97a09c4e5748b7cf2546f49a61e40391ee3c07c13a436f
|
File details
Details for the file djpress_blog_theme-0.1.0-py3-none-any.whl.
File metadata
- Download URL: djpress_blog_theme-0.1.0-py3-none-any.whl
- Upload date:
- Size: 12.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.26.7 CPython/3.14.3 Linux/6.19.9-200.fc43.x86_64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c120057c2c8f94136eac66f6b964052768b54104d4d27c3a38b32400501ed31d
|
|
| MD5 |
7283d642a2d8cb1f1ad241d5dc2cb45f
|
|
| BLAKE2b-256 |
750c7f294e5dcd410c0c7cc9de0a8c917a50f7a5d69bbfc46e0f8429b3a82c59
|