From: Ed Kellett Date: Fri, 26 Feb 2016 07:12:16 +0000 (+0000) Subject: Merge pull request #58 from freenode/faq X-Git-Url: https://jfr.im/git/irc/freenode/web-7.0.git/commitdiff_plain/2e0736e2617877b07a7fdf2aa1c3bb485582eb8f?hp=81cae952d943334ac129616a3b604cb1a35a6857 Merge pull request #58 from freenode/faq add FAQ --- diff --git a/config.yml b/config.yml index 99167d97e..51ddf2fe2 100644 --- a/config.yml +++ b/config.yml @@ -12,9 +12,26 @@ modules: source: news root: news - name: 'pages' - id: 'pages' source: pages - root: pages + root: '' + - name: 'faq' + source: faq + root: 'faq/answer' + index_root: 'faq' + indexes: + chat: + title: 'Chat' + cats: [connect] + promote: + - name: faq/connect/chat + caption: Chat + icon: comment + - name: faq/connect/chat + caption: Chat + icon: comment + - name: faq/connect/chat + caption: Chat + icon: comment resources: - command: [cat] source: static/fonts diff --git a/content/faq/connect/chat.md b/content/faq/connect/chat.md new file mode 100644 index 000000000..2974371d0 --- /dev/null +++ b/content/faq/connect/chat.md @@ -0,0 +1,42 @@ +Title: Connect +Slug: chat +--- +

To access the freenode IRC servers, +you'll first need an IRC client. Text clients include +irssi, WeeChat, and ERC. Graphical clients include XChat, Smuxi, and Quassel +for Unix and GNU/Linux, and mIRC for Windows. There is also the +freenode webchat. +Packages for various IRC clients may be included on your operating +system install CDs and links to web sites for the client software can be +found + +here.

+ + + + +

Once you have a client, you'll need a server. +You can simply use chat.freenode.net to reach our main rotation of +servers; or, you can find a more geographically-local server + +here.

+ + + + +

After you've obtained your client and the name of +a server, you may still need a bit of help in getting connected. Take a +look at this + +tutorial + +or this + +IRC primer + +on + +irchelp.org, + +which contains a variety of other useful information as well.

+ diff --git a/templates/faq.html b/templates/faq.html new file mode 100644 index 000000000..344592245 --- /dev/null +++ b/templates/faq.html @@ -0,0 +1,10 @@ +{% extends "base.html" %} +{% set title = entry.title %} +{% block content %} +
+

{{ entry.title }}

+

+ {{ entry.render() }} +

+
+{% endblock %} diff --git a/templates/faq_index.html b/templates/faq_index.html new file mode 100644 index 000000000..b2963fb3d --- /dev/null +++ b/templates/faq_index.html @@ -0,0 +1,27 @@ +{% extends "base.html" %} +{% set title = index.title %} +{% block content %} +{% if index.promote %} +
+

{{ index.title }}

+
+ {% for button in index.promote %} + + +
{{ button.caption }}
+
+ {% endfor %} +
+
+
+{% else %} +
+

{{ index.title }}

+{% endif %} + +
+{% endblock content %}