forked from team/site
update some links on the wiki README
This commit is contained in:
parent
ae511036b9
commit
7503a342d7
|
@ -4,9 +4,9 @@ hi there, welcome to our wiki!
|
|||
|
||||
to contribute to the wiki:
|
||||
|
||||
* clone the repo to your local machine (or your personal folder on the tilde.team box)
|
||||
* clone the repo to your local machine (or your public_html folder on the tilde.team box for live testing)
|
||||
```sh
|
||||
git clone git@tilde.team:meta/site
|
||||
git clone git@tilde.team:team/site
|
||||
```
|
||||
|
||||
* create a new branch for your page
|
||||
|
@ -28,6 +28,6 @@ git commit -m "added my-new-page"
|
|||
git push origin my-new-page # this should match the branch name you created earlier
|
||||
```
|
||||
|
||||
* create a pull request on the [site](https://git.tilde.team/meta/site) repo
|
||||
* create a pull request on the [site](https://git.tilde.team/team/site) repo
|
||||
|
||||
thanks!~
|
||||
|
|
|
@ -33,7 +33,9 @@ if (!isset($_GET["page"]) || !file_exists("pages/{$_GET['page']}.md")) {
|
|||
|
||||
<p>welcome to the tilde.team wiki!</p>
|
||||
|
||||
<p>if you want to contribute, check out the <a href="https://git.tildeverse.org/team/site/src/branch/master/wiki">source!</a></p>
|
||||
<p>if you want to contribute, check out the
|
||||
<a href="https://git.tildeverse.org/team/site/src/branch/master/wiki">source</a> and open a PR!
|
||||
</p>
|
||||
|
||||
<hr>
|
||||
<h3>pages:</h3>
|
||||
|
@ -43,7 +45,6 @@ if (!isset($_GET["page"]) || !file_exists("pages/{$_GET['page']}.md")) {
|
|||
$yaml = $parser->parse(file_get_contents($page))->getYAML();
|
||||
if (!$yaml["published"]) continue; ?>
|
||||
<a href="?page=<?=basename($page, ".md")?>"><?=$yaml["title"]?></a><br>
|
||||
|
||||
<?php }
|
||||
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue