make the homepage button support posting to subs
parent
65d347cce0
commit
73ee24e217
|
@ -40,7 +40,7 @@
|
|||
|
||||
<div class="row" style="overflow: visible;padding-top:5px;">
|
||||
<div class="col">
|
||||
<a class="btn btn-primary btn-block mt-3" href="/submit"><i class="fas fa-feather-alt mr-2"></i>Create Post</a>
|
||||
<a class="btn btn-primary btn-block mt-3" href="{% if sub %}/h/{{sub.name}}{% endif %}/submit"><i class="fas fa-feather-alt mr-2"></i>Create Post</a>
|
||||
|
||||
{% if sub %}
|
||||
{% if v %}
|
||||
|
|
Loading…
Reference in New Issue