| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127 | 
							- <?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 $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); ?>
 
-                 <li>Recently Edited</li>
 
-                 <?php foreach ($stickyposts as $post) : setup_postdata($post); ?>
 
-                   <li style="color:#777"><?php echo get_the_modified_date('y/m/d'); ?> - <a href="<?php the_permalink() ?>"><?php the_title(); ?></a></li>
 
-                 <?php endforeach; ?>
 
-               <br>
 
-               <?php } ?>
 
- 							<?php $recentposts = get_posts(array( '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">
 
- 					<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><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(); ?>
 
 
  |