Commit 72a7edf6 authored by Pablo Marcos's avatar Pablo Marcos Committed by Carl Schwan
Browse files

Added FAQ section

parent 3e845a78
details {
border: 1px solid #5850ec;
border-radius: 10px;
padding: .5em .5em 0;
}
summary {
margin: -.5em -.5em 0;
padding: .5em;
}
summary:hover {
font-weight: bold;
}
details[open] {
padding: .5em;
}
details[open] summary {
border-bottom: 1px solid #aaa;
margin-bottom: .5em;
font-weight: bold;
}
......@@ -17,9 +17,12 @@ menu:
- name: News
url: /news/
weight: 3
- name: FAQ
url: /faq/
weight: 4
- name: Donate
url: https://kde.org/donations
weight: 4
weight: 5
outputs:
home:
- HTML
......
---
layout: faq
title: FAQ
sassFiles:
- /sass/faq.scss
faq:
- question: "When using Ubuntu, I cannot read CHM and EPub documents, even if I have okular-extra-backends and libchm1 installed. Why?"
answer: "Ubuntu (thus Kubuntu as well) packages of Okular are compiled without support for these two formats. The reason is explained in [this](https://bugs.launchpad.net/kdegraphics/+bug/277007) Launchpad report."
- question: "Why are the speak options in the Tools menu grayed out?"
answer: "Because you don't have a speech service on your system. Install the Qt Speech library and they should be enabled"
- question: "Some characters are not rendered and when enabling debug some lines mention 'Missing language pack for xxx'"
answer: "Install the poppler-data package"
---
{{ define "main" }}
<main class="container" role="main">
<h1>Frequently Asqued Questions</h1>
{{ range .Params.faq }}
</br>
<details>
<summary>{{ .question | markdownify}}</summary>
<p> {{ .answer | markdownify}} </p>
</details>
{{ end }}
</main>
{{ end }}
<ul class="navbar-nav mr-auto">
{{ $currentPage := . }}
{{ range .Site.Menus.main }}
{{ if .HasChildren }}
<li class="nav-item dropdown {{ if $currentPage.HasMenuCurrent "main" . }}active{{ end }}">
<a class="nav-link dropdown-toggle" href="#" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
{{ .Pre }}
<span>{{ .Name }}</span>
</a>
<div class="dropdown-menu">
{{ range .Children }}
<a class="{{ if $currentPage.IsMenuCurrent "main" . }}active{{ end }} dropdown-item"
href="{{ .URL }}">{{ .Name }}
</a>
{{ end }}
</div>
</li>
{{ else }}
<li class="nav-item">
<a class="nav-link {{ if or ($currentPage.IsMenuCurrent "main" .) ($currentPage.HasMenuCurrent "main" .) }}active{{ end }}" href="{{ .URL }}">
{{ .Pre }}
<span>{{ .Name }}</span>
</a>
</li>
{{ end }}
{{ end }}
</ul>
<ul class="navbar-nav ml-auto">
{{ if .IsTranslated }}
<li class="nav-item dropdown" aria-describedby="language-picker-description">
<p class="sr-only" id="language-picker-description">{{ i18n "Select-your-language" }}</p>
<a class="nav-link dropdown-toggle" href="#" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
<img src="/aether/languages.png" alt="" />
<span>{{ i18n "translations" }}</span>
</a>
<div class="dropdown-menu dropdonw-trans" role="listbox">
<a class="dropdown-item" aria-selected="true" hreflang="{{ .Site.Language.Lang }}" role="option" lang="{{ .Site.Language.Lang }}" href="{{ .Permalink }}">{{ .Site.Language.LanguageName }}</a>
{{ range .Translations }}
<a class="dropdown-item" hreflang="{{ .Language.Lang }}" role="option" lang="{{ .Language.Lang }}" href="{{ .Permalink }}">{{ .Language.LanguageName }}</a>
{{ end }}
</div>
</li>
{{ end }}
</ul>
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