Commit b02884f3 authored by Lukas Matt's avatar Lukas Matt

Add FAQ to documentation page

parent 38bd4c3a
Pipeline #415 passed with stage
in 1 minute and 35 seconds
section.faq h1 {
padding-bottom: 1em;
}
section.faq h2 {
padding-top: 1em;
}
---
title: FAQ
layout: default
documentation: true
faq:
- question: "Scan error on column index 1: unsupported Scan, storing driver.Value type []uint8 into type *time.Time"
answer: "You are using MySQL! Make sure you have added `parseTime=true` to your DSN in `conf/app.conf`. This could look something like this: `db.dsn: %s:%s@tcp(%s)/%s?parseTime=true`"
---
<section class="faq">
<h1>Frequently Asked Question</h1>
<ul>
{% for item in page.faq %}
<li><a href="#{{ item.question | slugify }}">{{ item.question }}</a></li>
{% endfor %}
</ul>
{% for item in page.faq %}
<h2 id="{{ item.question | slugify}}">{{ item.question }}<a class="header-link" href="#{{ item.question | slugify }}">#</a></h2>
{{ item.answer | markdownify }}
{% endfor %}
</section>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment