~linuxgoose/bocpress

ref: a3deda29c8a49af8918d704283312fd7afbc7dfd bocpress/main/templates/main/guides_images.html -rw-r--r-- 1.4 KiB
a3deda29Jordan Robinson fix is_published check not executing right 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{% extends 'main/layout.html' %}

{% load static %}

{% block title %}Assets Guide{% endblock %}

{% block content %}
<main>

    <h1>Assets Guide</h1>
    <p>
        Even though we are very text focused, we do support asset uploading and hosting.
        The limits are:
    </p>
    <ul>
        <li>Max file size is 5MB</li>
        <li>Total hosting up to 100MB</li>
        <li>Total asset count up to 1000</li>
        <li>Bandwidth 100GB per year</li>
    </ul>

    <h2>Upload</h2>
    <p>
        There are two ways to upload an asset. Either via the
        <a href="{% url 'image_list' %}">assets workshop</a>, or via any post or page editing page.
    </p>
    <p><b>Assets workshop</b>: To upload, use the file selector at the <a href="{% url 'image_list' %}">top</a>.</p>
    <p>
        <b>Post/page edit</b>: To upload, just drag and drop onto the text area of the new post or page.
    </p>

    <h2>Show assets</h2>
    <p>
        To show the uploaded assets on a BōcPress blog post or page, one can write the following:
        <br><code>![image description here](https://mataroa.blog/images/896f9b41.png)</code>
    </p>
    <p>
        This, of course, works with any image on the web:
        <br><code>![lens](https://upload.wikimedia.org/wikipedia/commons/d/d8/BiconvexLens.jpg)</code>
    </p>

</main>

{% include 'partials/footer.html' %}

{% endblock content %}