mirror of
https://github.com/thiloho/archtika.git
synced 2025-11-22 10:51:36 +01:00
Render HTML out of markdown content
This commit is contained in:
@@ -98,7 +98,7 @@
|
||||
>
|
||||
<label>
|
||||
Main content:
|
||||
<textarea name="main-content">{data.home.main_content}</textarea>
|
||||
<textarea name="main-content" rows="20">{data.home.main_content}</textarea>
|
||||
</label>
|
||||
|
||||
<button type="submit">Submit</button>
|
||||
@@ -119,7 +119,7 @@
|
||||
>
|
||||
<label>
|
||||
Additional text:
|
||||
<textarea name="additional-text">{data.footer.additional_text}</textarea>
|
||||
<textarea name="additional-text" rows="5">{data.footer.additional_text}</textarea>
|
||||
</label>
|
||||
|
||||
<button type="submit">Submit</button>
|
||||
|
||||
@@ -68,7 +68,7 @@
|
||||
<button type="submit">Submit</button>
|
||||
</form>
|
||||
|
||||
{#each data.articles as { id, title }}
|
||||
{#each data.articles as { id, title } (id)}
|
||||
<article class="article-card">
|
||||
<h3>{title}</h3>
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
</label>
|
||||
<label>
|
||||
Description:
|
||||
<textarea name="description">{data.article.meta_description}</textarea>
|
||||
<textarea name="description" rows="5">{data.article.meta_description}</textarea>
|
||||
</label>
|
||||
<label>
|
||||
Author:
|
||||
@@ -48,7 +48,7 @@
|
||||
</label>
|
||||
<label>
|
||||
Main content:
|
||||
<textarea name="main-content">{data.article.main_content}</textarea>
|
||||
<textarea name="main-content" rows="20">{data.article.main_content}</textarea>
|
||||
</label>
|
||||
|
||||
<button type="submit">Submit</button>
|
||||
|
||||
Reference in New Issue
Block a user