12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- <?php
- /*
- Template Name: Now
- */
- get_header(); ?>
- <div class="container leader">
- <div class="row">
- <div class="col-md-12">
- <h1 id="now" class="cm-sans fs-2 dw-light animate__animated animate__fadeInLeft">Now</h1>
- </div>
- </div>
- <div class="desk" role="main">
- <div class="entry-content">
- <div class="row mt-3">
- <div class="col-lg-7">
- <p class="fs-5 mb-3 lh-base"><span class="mt-1 firstcharacter">A</span> <b><em>NOW</em></b> page... some idea I ran across at some point which made sense. It's basically what I've been doing pulled in from various files. I've developed a habit of keeping notes while working. It started with my work notes and has expanded to items like my grocery lists because they fit right into the same workflow. I just sync a set of files to a server and viola, it's here.</p>
- <p><b>23/07/17</b> - I made this page because it was 🔥 outside last weekend that I found myself in front of the computer looking at my own website. I also wanted to simplify the navigation to make my markdown files first class citizens on this website because I update them more often.</p>
- </div>
- <div class="col-lg-4 offset-md-1">
- <h5 class="fw-bold mt-2">Posts</h5>
- <ul style="margin:0">
- <?php $recentposts = get_posts(array( 'numberposts' => 11, 'offset' => 0 ) ); foreach ($recentposts as $post) : setup_postdata($post); ?>
- <li style="color:#777"><?php echo get_the_date('y/m/d'); ?> - <a href="<?php the_permalink() ?>"><?php the_title(); ?></a></li>
- <?php endforeach; ?>
- </ul>
- </div>
- </div>
- <div class="row mt-3">
- <div class="col-lg-4">
- <h5 class="fw-bold mt-2">Today I Learned</h5>
- <ul style="margin:0">
- <?php til(); ?>
- </ul>
- </div>
- <div class="col-lg-4">
- <h5 class="fw-bold mt-2">Bookmarks</h5>
- <ul style="margin:0">
- <?php bookmarks(); ?>
- </ul>
- </div>
- <div class="col-lg-4">
- <h5 class="fw-bold mt-2">Projects</h5>
- <ul style="margin:0">
- <?php $recentposts = get_posts(array( 'category_name' => 'studio', 'numberposts' => 9, 'offset' => 0 ) ); foreach ($recentposts as $post) : setup_postdata($post); ?>
- <li style="color:#777"><?php echo get_the_date('y/m/d'); ?> - <a href="<?php the_permalink() ?>"><?php the_title(); ?></a></li>
- <?php endforeach; ?>
- </ul>
- </div>
- </div>
- <div class="row mt-3 mb-5 pb-2">
- <div class="col-lg-4">
- <h5 class="fw-bold mt-2">Docs</h5>
- <ul style="margin:0">
- <?php docs(); ?>
- </ul>
- </div>
- <div class="col-lg-4">
- <h5 class="fw-bold mt-2">Lists</h5>
- <ul style="margin:0">
- <?php lists(); ?>
- </ul>
- </div>
- <div class="col-lg-4">
- <h5 class="fw-bold mt-2">Notes</h5>
- <ul style="margin:0">
- <?php notes(); ?>
- </ul>
- </div>
- </div>
- </div>
- </div>
- </div>
- <?php get_footer(); ?>
|