Skip to content

Commit

Permalink
Typos etc
Browse files Browse the repository at this point in the history
  • Loading branch information
spookylukey committed Sep 5, 2022
1 parent 45975a2 commit ab3b9f0
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions base_template.rst
@@ -1,16 +1,15 @@
Base template
=============

To get going, you’ll need to install htmx somehow into you template.
To get going, you’ll need to install htmx somehow into your template.

Most likely, you’ll want to put it into a base template. There are lots of
options for the exact details of how to do this in Django (depending on if you
are using bundlers for your static assets etc.), but the simplest looks like one
are using bundlers for your static assets etc.), but the simplest is like one
of the following in your ``base.html`` template (or whatever you have called it):

Using the CDN:


.. code-block:: html+django

<html>
Expand All @@ -21,10 +20,10 @@ Using the CDN:

(You should specify the version you want, see `htmx installation docs <https://htmx.org/docs/#installing>`_)

Download into one of your folders for `static assets in your Django projects
Or, download the ``htmx.min.js`` into one of your folders for `static assets in
your Django projects
<https://docs.djangoproject.com/en/stable/howto/static-files/>`_, and use like
this in your ``base.html``.

this in your ``base.html``:


.. code-block:: html+django
Expand Down

0 comments on commit ab3b9f0

Please sign in to comment.