Convert .html files to django template with all static files link.
Project description
html2dt links the static files present in the Django project static folder to .html files.
Eg: <img src="/img/abc.jpg"> converted to <img src="{% static '/img/abc.jpg' %}">
Note- Bash shell is needed for it's working.
Installation
========
pip install html2dt
Usage
=====
html2dt index.html
Pypi url
=====
https://pypi.python.org/pypi?:action=display&name=html2dt
Eg: <img src="/img/abc.jpg"> converted to <img src="{% static '/img/abc.jpg' %}">
Note- Bash shell is needed for it's working.
Installation
========
pip install html2dt
Usage
=====
html2dt index.html
Pypi url
=====
https://pypi.python.org/pypi?:action=display&name=html2dt
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
html2dt-1.1.tar.gz
(1.1 kB
view details)
File details
Details for the file html2dt-1.1.tar.gz.
File metadata
- Download URL: html2dt-1.1.tar.gz
- Upload date:
- Size: 1.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fadc736ba85924ac7389de8f3c37f92708fc63b01a801bfd736065213f7fc560
|
|
| MD5 |
9324dd7a06f8980a17e728628587b5df
|
|
| BLAKE2b-256 |
1c04e694ed9076f811eb0dff2ace94b3e91869b31f2884cbae9d3fb48afad08c
|