diff options
author | Thedro Neely <thedroneely@gmail.com> | 2019-05-13 00:25:27 -0400 |
---|---|---|
committer | Thedro Neely <thedroneely@gmail.com> | 2019-05-13 00:25:27 -0400 |
commit | 054b6f137c7dced16869613a638d3b54b17ee846 (patch) | |
tree | 64ace56213b5e628eb7e9815c0e00a496a464520 /app/views/index.view.php | |
parent | 324e167984d5efbffa3df7404775249075d93511 (diff) | |
download | thedroneely.com-054b6f137c7dced16869613a638d3b54b17ee846.tar.gz thedroneely.com-054b6f137c7dced16869613a638d3b54b17ee846.tar.bz2 thedroneely.com-054b6f137c7dced16869613a638d3b54b17ee846.zip |
app/views/index: Add archive page margin notes
Diffstat (limited to 'app/views/index.view.php')
-rw-r--r-- | app/views/index.view.php | 31 |
1 files changed, 24 insertions, 7 deletions
diff --git a/app/views/index.view.php b/app/views/index.view.php index acbf5cb..9cebe1c 100644 --- a/app/views/index.view.php +++ b/app/views/index.view.php @@ -48,7 +48,15 @@ <div class="recent__article"> - <h1 class="title is-4 has-text-weight-normal">Recent Posts</h1> + <label for="posts" class="title is-inline-block is-4 has-text-weight-normal marginnote-toggle marginnote-mark"> + Recent Posts + </label> + + <input type="checkbox" id="posts" class="marginnote-toggle"> + + <span class="marginnote rightnote"> + See an archive of all posts <a class="underline" href="/posts/archive/">here.</a> + </span> <?php $recentPosts = new DOMExtract(); @@ -56,9 +64,9 @@ echo $recentPosts->getInnerHTML('recent-article'); ?> - <a href="/posts/" - class="front__more is-block has-text-right has-text-centered-mobile"> - See All Posts + <a href="/posts/page/2/" + class="front__more is-block has-text-centered"> + See More Posts <?php echo file_get_contents( $_SERVER['DOCUMENT_ROOT'] . '/..' @@ -68,7 +76,16 @@ <br> - <h1 class="title is-4 has-text-weight-normal">Recent Projects</h1> + + <label for="projects" class="title is-inline-block is-4 has-text-weight-normal marginnote-toggle marginnote-mark"> + Recent Projects + </label> + + <input type="checkbox" id="projects" class="marginnote-toggle"> + + <span class="marginnote rightnote"> + See an archive of all projects <a class="underline" href="/projects/archive/">here.</a> + </span> <?php $recentProjects = new DOMExtract(); @@ -78,8 +95,8 @@ </div> <a href="/projects/" - class="front__more is-block has-text-right has-text-centered-mobile"> - See All Projects + class="front__more is-block has-text-centered"> + See More Projects <?php echo file_get_contents( $_SERVER['DOCUMENT_ROOT'] . '/..' |