Skip to content

Commit

Permalink
Revert "hotfix: docs django syntax to html (#720)"
Browse files Browse the repository at this point in the history
This reverts commit 37db34d.
  • Loading branch information
wesleyboar committed Sep 29, 2023
1 parent 37db34d commit 7a97e1a
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions docs/styles-and-scripts.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

- either **before** content

```html
```django
{% block assets_custom %}
{{ block.super }}
<!-- ... -->
Expand All @@ -44,7 +44,7 @@
<details><summary>for entire <strong>site</strong></summary>
```html
```django
<link rel="stylesheet" href="{% static '__PROJECT__/css/build/site.css' %}">
<script src="{% static '__PROJECT__/js/site.js' %}"></script>
```
Expand All @@ -53,7 +53,7 @@
<details><summary>for one <strong>template</strong></summary>
```html
```django
<link rel="stylesheet" href="{% static '__PROJECT__/css/build/template.___.css' %}">
<script src="{% static '__PROJECT__/js/template.___.js' %}"></script>
```
Expand All @@ -69,7 +69,7 @@
- or **after** content
```html
```django
{% block assets_custom_delayed %}
{{ block.super }}
<!-- ... -->
Expand All @@ -78,7 +78,7 @@
<details><summary>for entire <strong>site</strong></summary>
```html
```django
<link rel="stylesheet" href="{% static '__PROJECT__/css/build/site.css' %}">
<script src="{% static '__PROJECT__/js/site.js' %}"></script>
```
Expand All @@ -87,7 +87,7 @@
<details><summary>for one <strong>template</strong></summary>
```html
```django
<link rel="stylesheet" href="{% static '__PROJECT__/css/build/template.___.css' %}">
<script src="{% static '__PROJECT__/js/template.___.js' %}"></script>
```
Expand All @@ -113,7 +113,7 @@
##### Styles
```html
```django
{% block css %}
{{ block.super }}
<style>
Expand All @@ -127,7 +127,7 @@
##### Script

```html
```django
{% block js %}
{{ block.super }}
<script type="module">
Expand Down

0 comments on commit 7a97e1a

Please sign in to comment.