Skip to content

Commit

Permalink
hotfix: docs django syntax to html (#720)
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleyboar authored Sep 29, 2023
1 parent bc92246 commit 37db34d
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

```django
```html
{% block assets_custom %}
{{ block.super }}
<!-- ... -->
Expand All @@ -44,7 +44,7 @@

<details><summary>for entire <strong>site</strong></summary>

```django
```html
<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>

```django
```html
<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

```django
```html
{% block assets_custom_delayed %}
{{ block.super }}
<!-- ... -->
Expand All @@ -78,7 +78,7 @@

<details><summary>for entire <strong>site</strong></summary>

```django
```html
<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>

```django
```html
<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

```django
```html
{% block css %}
{{ block.super }}
<style>
Expand All @@ -127,7 +127,7 @@
##### Script

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

0 comments on commit 37db34d

Please sign in to comment.