|
@@ -17,8 +17,8 @@ get_header(); ?>
|
|
<div class="col-lg-7">
|
|
<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 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>
|
|
<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">
|
|
|
|
|
|
+ <h5 class="fw-bold mt-4 mb-1">Doing</h5>
|
|
|
|
+ <ul class="now-doing" style="margin:0">
|
|
<?php now(); ?>
|
|
<?php now(); ?>
|
|
</ul>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
@@ -27,13 +27,13 @@ get_header(); ?>
|
|
<ul style="margin:0">
|
|
<ul style="margin:0">
|
|
<?php $sticky = get_option('sticky_posts');?>
|
|
<?php $sticky = get_option('sticky_posts');?>
|
|
<?php if( !empty($sticky) ){ ?>
|
|
<?php if( !empty($sticky) ){ ?>
|
|
- <?php $args = array('post_type' => 'post','posts_per_page' => 5,'post__in' => $sticky);?>
|
|
|
|
|
|
+ <?php $args = array('post_type' => 'post', 'orderby' => 'modified','posts_per_page' => 5,'post__in' => $sticky);?>
|
|
<?php $stickyposts = get_posts($args); ?>
|
|
<?php $stickyposts = get_posts($args); ?>
|
|
<?php foreach ($stickyposts as $post) : setup_postdata($post); ?>
|
|
<?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>
|
|
|
|
|
|
+ <li style="color:#777"><?php echo get_the_modified_date('y/m/d'); ?> ( <sup>*</sup><?php echo get_the_date('y/m/d'); ?> )- <a href="<?php the_permalink() ?>"><?php the_title(); ?></a></li>
|
|
<?php endforeach; ?>
|
|
<?php endforeach; ?>
|
|
<?php } ?>
|
|
<?php } ?>
|
|
- <?php $recentposts = get_posts(array( 'numberposts' => 10, 'offset' => 0, 'post__not_in' => get_option( 'sticky_posts' )) ); foreach ($recentposts as $post) : setup_postdata($post); ?>
|
|
|
|
|
|
+ <?php $recentposts = get_posts(array( 'numberposts' => 13, '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>
|
|
<li style="color:#777"><?php echo get_the_date('y/m/d'); ?> - <a href="<?php the_permalink() ?>"><?php the_title(); ?></a></li>
|
|
<?php endforeach; ?>
|
|
<?php endforeach; ?>
|
|
</ul>
|
|
</ul>
|