diff options
author | Freya Murphy <freya@freyacat.org> | 2024-12-12 10:14:46 -0500 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2024-12-12 10:14:46 -0500 |
commit | 859f31065da728fcb1387645ab1c92390b372412 (patch) | |
tree | 29457dce1cd2269ac0446a59f3fe601476895f29 /src/web/_views/projects/main.php | |
parent | switch to POST for posting comments (diff) | |
download | website-859f31065da728fcb1387645ab1c92390b372412.tar.gz website-859f31065da728fcb1387645ab1c92390b372412.tar.bz2 website-859f31065da728fcb1387645ab1c92390b372412.zip |
refactor _views folder
Diffstat (limited to 'src/web/_views/projects/main.php')
-rw-r--r-- | src/web/_views/projects/main.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/web/_views/projects/main.php b/src/web/_views/projects/main.php new file mode 100644 index 0000000..6137942 --- /dev/null +++ b/src/web/_views/projects/main.php @@ -0,0 +1,11 @@ +<?=aria_section('projects', lang('title'))?> + <?php + foreach($projects as $project) { + $meta = $project['meta']; + $content = $project['content']; + $link = CONFIG['git_url'] . '/' . $meta['repo']; + echo '<a href="' . $link . '"><h3>' . $meta['name'] . '</h3></a>'; + echo $content; + } + ?> +</div> |