page-now.php 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. <?php
  2. /*
  3. Template Name: Now
  4. */
  5. get_header(); ?>
  6. <div class="container leader">
  7. <div class="row">
  8. <div class="col-md-12">
  9. <h1 id="now" class="cm-sans fs-2 dw-light animate__animated animate__fadeInLeft">Now</h1>
  10. </div>
  11. </div>
  12. <div class="desk" role="main">
  13. <div class="entry-content">
  14. <div class="row mt-3">
  15. <div class="col-lg-7">
  16. <p class="fs-5 lh-base"><span class="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. It's pulled in from various public things I keep notes on. Since I'm already working in a text editor, I've developed a habit of making markdown and text files which I just sync a set of files to a server and viola, it's here. It started with my notes and has expanded to menial things like my grocery lists because they fit right into my day to day workflow. My favorite list here is <b><i>ToDo(ne)</i></b>.</p>
  17. </div>
  18. <div class="col-lg-4 offset-1">
  19. <h5 class="fw-bold mt-2">Posts</h5>
  20. <ul style="margin:0">
  21. <?php $recentposts = get_posts(array( 'numberposts' => 9, 'offset' => 0 ) ); foreach ($recentposts as $post) : setup_postdata($post); ?>
  22. <li style="color:#777"><?php echo get_the_date('y/m/d'); ?> - <a href="<?php the_permalink() ?>"><?php the_title(); ?></a></li>
  23. <?php endforeach; ?>
  24. </ul>
  25. </div>
  26. </div>
  27. <div class="row mt-3">
  28. <div class="col-lg-4">
  29. <h5 class="fw-bold mt-2">Today I Learned</h5>
  30. <ul style="margin:0">
  31. <?php til(); ?>
  32. </ul>
  33. </div>
  34. <div class="col-lg-4">
  35. <h5 class="fw-bold mt-2">Bookmarks</h5>
  36. <ul style="margin:0">
  37. <?php bookmarks(); ?>
  38. </ul>
  39. </div>
  40. <div class="col-lg-4">
  41. <h5 class="fw-bold mt-2">Projects</h5>
  42. <ul style="margin:0">
  43. <?php $recentposts = get_posts(array( 'category_name' => 'studio', 'numberposts' => 9, 'offset' => 0 ) ); foreach ($recentposts as $post) : setup_postdata($post); ?>
  44. <li style="color:#777"><?php echo get_the_date('y/m/d'); ?> - <a href="<?php the_permalink() ?>"><?php the_title(); ?></a></li>
  45. <?php endforeach; ?>
  46. </ul>
  47. </div>
  48. </div>
  49. <div class="row mt-3">
  50. <div class="col-lg-4">
  51. <h5 class="fw-bold mt-2">Docs</h5>
  52. <ul style="margin:0">
  53. <?php docs(); ?>
  54. </ul>
  55. </div>
  56. <div class="col-lg-4">
  57. <h5 class="fw-bold mt-2">Lists</h5>
  58. <ul style="margin:0">
  59. <?php lists(); ?>
  60. </ul>
  61. </div>
  62. <div class="col-lg-4">
  63. <h5 class="fw-bold mt-2">Notes</h5>
  64. <ul style="margin:0">
  65. <?php notes(); ?>
  66. </ul>
  67. </div>
  68. </div>
  69. <div class="row mt-3">
  70. <div class="col-lg-4">
  71. <h5 class="fw-bold mt-2">Work</h5>
  72. <ul style="margin:0">
  73. <?php photo(); ?>
  74. </ul>
  75. </div>
  76. <div class="col-lg-4">
  77. <h5 class="fw-bold mt-2">ToDo</h5>
  78. <ul style="margin:0">
  79. <?php todo(); ?>
  80. </ul>
  81. </div>
  82. <div class="col-lg-4">
  83. <h5 class="fw-bold mt-2">ToDo(ne)</h5>
  84. <ul style="margin:0">
  85. </ul>
  86. </div>
  87. </div>
  88. <div class="row mt-3">
  89. <div class="col-lg-4">
  90. <h5 class="fw-bold mt-2">Playing</h5>
  91. <ul style="margin:0">
  92. <?php playing(); ?>
  93. </ul>
  94. </div>
  95. <div class="col-lg-4">
  96. <h5 class="fw-bold mt-2">Watching</h5>
  97. <ul style="margin:0">
  98. </ul>
  99. </div>
  100. <div class="col-lg-4">
  101. <h5 class="fw-bold mt-2">Listening</h5>
  102. <ul style="margin:0 0 10px">
  103. <?php listening(); ?>
  104. </ul>
  105. More @ <a href="/studio/music/">/studio/music/</a>
  106. </div>
  107. </div>
  108. <div class="row mt-3 mb-5">
  109. <div class="col-lg-4">
  110. <h5 class="fw-bold mt-2">Reading</h5>
  111. <ul style="margin:0">
  112. <?php reading(); ?>
  113. </ul>
  114. </div>
  115. <div class="col-lg-4">
  116. <h5 class="fw-bold mt-2">Learning</h5>
  117. <ul style="margin:0">
  118. </ul>
  119. </div>
  120. <div class="col-lg-4">
  121. <h5 class="fw-bold mt-2">Elsewhere</h5>
  122. <ul style="margin:0">
  123. </ul>
  124. </div>
  125. </div>
  126. </div>
  127. </div>
  128. </div>
  129. <?php get_footer(); ?>