123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129 |
- <?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-2 lh-base">A <b><em>NOW</em></b> page... <a href="https://sive.rs/now" target="_blank">an idea I ran across</a> at some point which made sense.</p>
- <p>23/07/17 - I made this page because it was hot outside last weekend and I found myself in front of the computer looking at my own website. I wanted to make my markdown files first class citizens on this website because I update them more often. I've developed a habit of keeping notes while working which started with technical notes and has expanded to other items because they fit into the same workflow. I just sync a set of files to a server and viola, it's here.</p>
- <h5 class="fw-bold mt-4">Currently</h5>
- <ul class="text-black" style="margin:0">
- <?php now(); ?>
- </ul>
- </div>
- <div class="col-lg-4 offset-md-1">
- <h5 class="fw-bold mt-2">Posts <span class="text-muted fw-light"><small>( <sup>*</sup> updated )</small></span></h5>
- <ul style="margin:0">
- <?php $sticky = get_option('sticky_posts');?>
- <?php if( !empty($sticky) ){ ?>
- <?php $args = array('post_type' => 'post','posts_per_page' => 5,'post__in' => $sticky);?>
- <?php $stickyposts = get_posts($args); ?>
- <?php foreach ($stickyposts as $post) : setup_postdata($post); ?>
- <li style="color:#777"><?php echo get_the_modified_date('y/m/d'); ?><sup>*</sup> - <a href="<?php the_permalink() ?>"><?php the_title(); ?></a></li>
- <?php endforeach; ?>
- <?php } ?>
- <?php $recentposts = get_posts(array( 'numberposts' => 10, 'offset' => 0, 'post__not_in' => get_option( 'sticky_posts' )) ); 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 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">Notes</h5>
- <ul style="margin:0">
- <?php notes(); ?>
- </ul>
- </div>
- <div class="col-lg-4">
- <h5 class="fw-bold mt-2">Lists</h5>
- <ul style="margin:0">
- <?php lists(); ?>
- </ul>
- </div>
- </div>
- <div class="row mt-3 pb-2">
- <div class="col-lg-4">
- <h5 class="fw-bold mt-2">Learning</h5>
- <ul style="margin:0">
- <?php learning(); ?>
- </ul>
- </div>
- <div class="col-lg-4">
- <h5 class="fw-bold mt-2">git Commits</h5>
- <ul style="margin:0">
- <?php commits(); ?>
- </ul>
- </div>
- <div class="col-lg-4">
- <h5 class="fw-bold mt-2">Listening <span class="text-muted fw-light"><small>( all @ <a href="https://davidawindham.com/studio/music/">/music )</a></small></span></h5>
- <ul style="margin:0">
- <?php listening(); ?>
- </ul>
- </div>
- </div>
- <div class="row mt-3 mb-5 pb-2">
- <div class="col-lg-4">
- <h5 class="fw-bold mt-2">Watching</h5>
- <ul style="margin:0">
- <?php watching(); ?>
- </ul>
- </div>
- <div class="col-lg-4">
- <h5 class="fw-bold mt-2">Reading</h5>
- <ul style="margin:0">
- <?php reading(); ?>
- </ul>
- </div>
- <div class="col-lg-4">
- <h5 class="fw-bold mt-2">Playing</h5>
- <ul style="margin:0">
- <?php playing(); ?>
- </ul>
- </div>
- </div>
- </div>
- </div>
- </div>
- <?php get_footer(); ?>
|