make /wiki a <table>
This commit is contained in:
parent
68d88e3acb
commit
9f5dcbd0ab
|
@ -32,12 +32,21 @@ if (!isset($_GET["page"]) || !file_exists("pages/{$_GET['page']}.md")) {
|
|||
|
||||
<hr>
|
||||
<h2>pages:</h2>
|
||||
|
||||
<?php foreach (glob("pages/*.md") as $page) {
|
||||
$yaml = $parser->parse(file_get_contents($page))->getYAML();
|
||||
if (!$yaml["published"]) continue; ?>
|
||||
<a href="<?=basename($page, ".md")?>"><?=$yaml["title"]?></a><br>
|
||||
<?php } ?>
|
||||
<table class="table table-responsive table-hover table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>title</th>
|
||||
<th>description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach (glob("pages/*.md") as $page) {
|
||||
$yaml = $parser->parse(file_get_contents($page))->getYAML();
|
||||
if (!$yaml["published"]) continue; ?>
|
||||
<tr><td><a href="<?=basename($page, ".md")?>"><?=$yaml["title"]?></a></td> <td><?=$yaml["description"] ?? ""?></td></tr>
|
||||
<?php } ?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
<?php } else {
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
author: ~evn
|
||||
published: true
|
||||
title: lua
|
||||
description: set up tools to write lua code
|
||||
category:
|
||||
- main
|
||||
---
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
author: ~erxeto
|
||||
published: true
|
||||
title: mailing list netiquette
|
||||
description: tildeverse mailing lists netiquette
|
||||
description: tildeverse mailing lists etiquette guide
|
||||
category:
|
||||
- main
|
||||
---
|
||||
|
|
|
@ -2,28 +2,27 @@
|
|||
author: ~cmccabe
|
||||
published: true
|
||||
title: teaching and learning on tilde.team
|
||||
description:
|
||||
description: how to find and get help learning
|
||||
category:
|
||||
- main
|
||||
- main
|
||||
---
|
||||
|
||||
**tl;dr** bring project ideas. bring your skills. learn by doing.
|
||||
help others who are trying to learn. share what you're working on.
|
||||
|
||||
|
||||
## 1. start learning, start teaching!
|
||||
|
||||
an important goal of tilde.team is to help you learn linux, programming, and
|
||||
general computing skills through the command line interface. we think it is
|
||||
important that this happens in a fun social environment. for this reason we
|
||||
general computing skills through the command line interface. we think it is
|
||||
important that this happens in a fun social environment. for this reason we
|
||||
encourage users to meet each other, to collaborate, to ask questions when
|
||||
you're stuck on something, and to offer help to others who are learning.
|
||||
|
||||
stuck for ideas? or looking for a bigger challenge? tilde.team also maintains
|
||||
a [list of internship opportunities and code challenge websites](
|
||||
https://tilde.team/wiki/learning-opportunities). this list is a new
|
||||
feature of the site, so please contribute by letting us know (by email,
|
||||
IRC or pull request) of any other opportunities you know of.
|
||||
https://tilde.team/wiki/learning-opportunities). this list is a new
|
||||
feature of the site, so please contribute by letting us know (by email,
|
||||
IRC or pull request) of any other opportunities you know of.
|
||||
|
||||
## 2. learning resources
|
||||
|
||||
|
|
Loading…
Reference in New Issue