page-now.php 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  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 mb-3 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 pulled in from various notes. 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 workflow. My favorite list here is <b><i>ToDo(ne)</i></b>.</p>
  17. <p><b>23/07/17</b> - I made this page because ig was too 🔥 outside last weekend. I also wanted to simplify my navigation and make my markdown files first class citizens on this website because I update them more often.</p>
  18. </div>
  19. <div class="col-lg-4 offset-1">
  20. <h5 class="fw-bold mt-2">Posts</h5>
  21. <ul style="margin:0">
  22. <?php $recentposts = get_posts(array( 'numberposts' => 11, 'offset' => 0 ) ); foreach ($recentposts as $post) : setup_postdata($post); ?>
  23. <li style="color:#777"><?php echo get_the_date('y/m/d'); ?> - <a href="<?php the_permalink() ?>"><?php the_title(); ?></a></li>
  24. <?php endforeach; ?>
  25. </ul>
  26. </div>
  27. </div>
  28. <div class="row mt-3">
  29. <div class="col-lg-4">
  30. <h5 class="fw-bold mt-2">Today I Learned</h5>
  31. <ul style="margin:0">
  32. <?php til(); ?>
  33. </ul>
  34. </div>
  35. <div class="col-lg-4">
  36. <h5 class="fw-bold mt-2">Bookmarks</h5>
  37. <ul style="margin:0">
  38. <?php bookmarks(); ?>
  39. </ul>
  40. </div>
  41. <div class="col-lg-4">
  42. <h5 class="fw-bold mt-2">Projects</h5>
  43. <ul style="margin:0">
  44. <?php $recentposts = get_posts(array( 'category_name' => 'studio', 'numberposts' => 9, 'offset' => 0 ) ); foreach ($recentposts as $post) : setup_postdata($post); ?>
  45. <li style="color:#777"><?php echo get_the_date('y/m/d'); ?> - <a href="<?php the_permalink() ?>"><?php the_title(); ?></a></li>
  46. <?php endforeach; ?>
  47. </ul>
  48. </div>
  49. </div>
  50. <div class="row mt-3">
  51. <div class="col-lg-4">
  52. <h5 class="fw-bold mt-2">Docs</h5>
  53. <ul style="margin:0">
  54. <?php docs(); ?>
  55. </ul>
  56. </div>
  57. <div class="col-lg-4">
  58. <h5 class="fw-bold mt-2">Lists</h5>
  59. <ul style="margin:0">
  60. <?php lists(); ?>
  61. </ul>
  62. </div>
  63. <div class="col-lg-4">
  64. <h5 class="fw-bold mt-2">Notes</h5>
  65. <ul style="margin:0">
  66. <?php notes(); ?>
  67. </ul>
  68. </div>
  69. </div>
  70. <div class="row mt-3">
  71. <div class="col-lg-4">
  72. <h5 class="fw-bold mt-2">Work</h5>
  73. <ul style="margin:0">
  74. <?php work(); ?>
  75. </ul>
  76. </div>
  77. <div class="col-lg-4">
  78. <h5 class="fw-bold mt-2">ToDo</h5>
  79. <ul style="margin:0">
  80. <?php todo(); ?>
  81. </ul>
  82. </div>
  83. <div class="col-lg-4">
  84. <h5 class="fw-bold mt-2">ToDo(ne)</h5>
  85. <ul style="margin:0">
  86. <?php todone(); ?>
  87. </ul>
  88. </div>
  89. </div>
  90. <div class="row mt-3">
  91. <div class="col-lg-4">
  92. <h5 class="fw-bold mt-2">Play</h5>
  93. <ul style="margin:0">
  94. <?php playing(); ?>
  95. </ul>
  96. </div>
  97. <div class="col-lg-4">
  98. <h5 class="fw-bold mt-2">Watch</h5>
  99. <ul style="margin:0">
  100. <?php watching(); ?>
  101. </ul>
  102. </div>
  103. <div class="col-lg-4">
  104. <h5 class="fw-bold mt-2">Listen</h5>
  105. <ul style="margin:0 0 10px">
  106. <?php listening(); ?>
  107. </ul>
  108. More @ <a href="/studio/music/">/studio/music/</a>
  109. </div>
  110. </div>
  111. <div class="row mt-3 mb-5">
  112. <div class="col-lg-4">
  113. <h5 class="fw-bold mt-2">Read</h5>
  114. <ul style="margin:0">
  115. <?php reading(); ?>
  116. </ul>
  117. </div>
  118. <div class="col-lg-4">
  119. <h5 class="fw-bold mt-2">Learn</h5>
  120. <ul style="margin:0">
  121. <?php learning(); ?>
  122. </ul>
  123. </div>
  124. <div class="col-lg-4">
  125. <h5 class="fw-bold mt-2">Elsewhere</h5>
  126. <p>I'll figure this out another hot weekend this summer. I'll use the ActivityPub spec through a self hosted solution. I also need to revisit commenting, pinging, liking, and sharing.
  127. <ul style="margin:0">
  128. </ul>
  129. </div>
  130. </div>
  131. </div>
  132. </div>
  133. </div>
  134. <?php get_footer(); ?>