Browse Source

Specify post excerpts with comment separator

Tyler Hallada 6 years ago
parent
commit
0ebb6e4268

+ 1 - 0
_config.yml

@@ -22,6 +22,7 @@ defaults:
22 22
 markdown: kramdown
23 23
 kramdown:
24 24
     syntax_highlighter: rouge
25
+excerpt_separator: "<!--excerpt-->"
25 26
 paginate: 10
26 27
 paginate_path: "blog/page:num"
27 28
 gems:

+ 1 - 0
_posts/2012-12-03-hello-world.md

@@ -13,6 +13,7 @@ and was pretty familiar with it and I was beginning to get familiar with
13 13
 was what I was working with at [Valti](https://www.valti.com), and I was really
14 14
 liking making websites with it. It took what made Python awesome and applied
15 15
 that to web development.
16
+<!--excerpt-->
16 17
 
17 18
 I started from a blank Django project and built it up from there. Django's
18 19
 Object-Relational Mapper (ORM) can be boiled down to this: python classes

+ 1 - 0
_posts/2013-04-02-blog-or-not-blog.md

@@ -11,6 +11,7 @@ you can tell, there hasn't been any posts since my first ["Hello,
11 11
 World!"](/2012/12/03/hello-world) post. Sure, I've been working on projects, but I
12 12
 just haven't gotten to the point in any of those projects where I felt like I
13 13
 could blog in detail about it.
14
+<!--excerpt-->
14 15
 
15 16
 Then I watched this great talk that [Brian
16 17
 Jones](http://pyvideo.org/speaker/352/brian-k-jones) gave at

+ 1 - 0
_posts/2013-04-09-visualizing-laundry-usage.md

@@ -11,6 +11,7 @@ keeps track of the status of every machine and displays it on a
11 11
 [website](http://gmu.esuds.net/) so students can check how full the machines
12 12
 are before making the trek down to the laundry rooms. The system emails each
13 13
 student when their laundry is finished as well.
14
+<!--excerpt-->
14 15
 
15 16
 The only problem is that their user interface is pretty atrocious. I wrote up a
16 17
 [usability analysis](https://gist.github.com/thallada/5351114) of the site for

+ 1 - 0
_posts/2013-04-18-how-download-rtmp-video.md

@@ -12,6 +12,7 @@ streamed to the user's Flash player (in their browser) bit-by-bit, the full
12 12
 video file is never given to the user for them to keep. This is desirable to a
13 13
 lot of media companies because then they can force you to watch through ads to
14 14
 see their content and can charge you to download the full video.
15
+<!--excerpt-->
15 16
 
16 17
 However, [RTMPDump](http://rtmpdump.mplayerhq.hu/), an open-source tool
17 18
 designed to intercept RTMP streams, can download the full video. 

+ 1 - 0
_posts/2013-04-26-hackers.md

@@ -11,6 +11,7 @@ met since the past two internships I've had at [Valti](https:/www.valti.com/)
11 11
 and [Humbug](https://humbughq.com/) in Cambridge, Massachusetts. Seeing as it
12 12
 encapsulated what I've learned culturally since then, I decided to post it here
13 13
 as well.*
14
+<!--excerpt-->
14 15
 
15 16
 Hackers -- not your malicious meddling Hollywood-style speed-typists -- but the
16 17
 type who sees a toaster and turns it into a computer capable of etching emails

+ 1 - 0
_posts/2013-05-19-gmu-bookstore-homepage-concept.md

@@ -12,6 +12,7 @@ to create a homepage for the University's bookstore website, applying all of the
12 12
 usability principles we had learned over the semester. I ended up working on it
13 13
 when I wanted to procrastinate on assignments in my other classes, so I put
14 14
 quite a bit of effort into it.
15
+<!--excerpt-->
15 16
 
16 17
 See it here: [swe205.hallada.net](http://swe205.hallada.net)
17 18
 <div style="text-align: center">

+ 1 - 0
_posts/2013-06-04-w3m-reddit.md

@@ -10,6 +10,7 @@ includes redditing. I probably spend far too much time on
10 10
 way to view reddit through the command-line.  [w3m](http://w3m.sourceforge.net/)
11 11
 could render reddit okay, but I couldn't view my personal front-page because
12 12
 that required me to login to my profile.
13
+<!--excerpt-->
13 14
 
14 15
 The solution was [cortex](http://cortex.glacicle.org/), a CLI app for viewing
15 16
 reddit.

+ 1 - 0
_posts/2013-07-10-quick-command-line-search-search-pane.md

@@ -17,6 +17,7 @@ customizability and compatibility with other programs. There's nothing more
17 17
 powerful than being able to whip up a small python or bash script that interacts
18 18
 with a couple of other programs to achieve something instantly that optimizes my
19 19
 work flow.
20
+<!--excerpt-->
20 21
 
21 22
 I use the [Awesome](http://awesome.naquadah.org/) window manager, which works
22 23
 great for tiling up terminal windows right up next to browser windows. However,

+ 1 - 0
_posts/2013-08-24-on-chromebooks.md

@@ -9,6 +9,7 @@ just glorified browsers, right? What if I wanted to do anything outside of the
9 9
 browser?  Why would you spend [$1299 or $1449 for a
10 10
 computer](https://www.google.com/intl/en/chrome/devices/chromebooks.html#pixel)
11 11
 that can only run a browser?
12
+<!--excerpt-->
12 13
 
13 14
 While I know a lot of people who buy expensive MacBooks only to just use a web
14 15
 browser and iTunes, I’m a bit more of a power user and I need things like

+ 1 - 0
_posts/2013-10-03-publishing-draft-docs-to-my-blog.md

@@ -13,6 +13,7 @@ features, one of its best being a version control system that allows you to
13 13
 send a draft to other people and accept or reject any changes they suggest. It
14 14
 also has a minamilistic iA Writer type interface, which focuses on the actual
15 15
 writing and nothing more.
16
+<!--excerpt-->
16 17
 
17 18
 One of my most favorite features that I have just discovered, though, is that
18 19
 it allows publishing any Draft document to any arbitrary

+ 1 - 0
_posts/2014-07-30-new-website.md

@@ -9,6 +9,7 @@ development knowledge had exceeded what it was showing off. The main thing that
9 9
 annoyed me about my last website was that I was hosting what essentially was a
10 10
 static website on a web framework meant for dynamic websites. It was time for a
11 11
 update.
12
+<!--excerpt-->
12 13
 
13 14
 I decided to go with [Jekyll](http://jekyllrb.com/) which had everything I
14 15
 wanted:

+ 1 - 0
_posts/2015-06-03-midnight-desktop.md

@@ -7,6 +7,7 @@ I tend to use Linux (Ubuntu) on my desktop late at night in a dark room. To
7 7
 protect my eyes from the blinding light of my monitors I've tooled my desktop
8 8
 environment over the course of a few months to be as dark as possible. It has
9 9
 gotten complex enough that I thought it would be worth sharing now.
10
+<!--excerpt-->
10 11
 
11 12
 ### dotfiles
12 13
 

+ 1 - 0
_posts/2016-01-06-neural-style.md

@@ -7,6 +7,7 @@ I've been doing a lot of experimenting with [neural-style](https://github.com/jc
7 7
 the last month. I think I've discovered a few exciting applications of the
8 8
 technique that I haven't seen anyone else do yet. The true power of this
9 9
 algorithm really shines when you can see concrete examples.
10
+<!--excerpt-->
10 11
 
11 12
 Skip to the **Applications** part of this post to see the outputs from my
12 13
 experimentation if you are already familiar with DeepDream, Deep Style, and all

+ 1 - 0
_posts/2017-06-20-how-to-install-tensorflow-on-ubuntu-16-04.md

@@ -8,6 +8,7 @@ documentation](https://www.tensorflow.org/install/install_linux) rather lacking
8 8
 for installation instructions, especially in regards to getting GPU support.
9 9
 I'm going to write down my notes from wrangling with the installation here for
10 10
 future reference and hopefully this helps someone else too.
11
+<!--excerpt-->
11 12
 
12 13
 This will invariably go out-of-date at some point, so be mindful of the publish
13 14
 date of this post. Make sure to cross-reference other documentation that has

+ 1 - 0
_posts/2017-07-11-generating-random-poems-with-python.md

@@ -15,6 +15,7 @@ notebook](https://github.com/thallada/nlp/blob/master/edX%20Lightning%20Talk.ipy
15 15
 
16 16
 You might not realize it, but you probably use an app everyday that can generate
17 17
 random text that sounds like you: your phone keyboard.
18
+<!--excerpt-->
18 19
 
19 20
 ![Suggested next words UI feature on the iOS
20 21
 keyboard](/img/blog/phone_keyboard.jpg)

+ 1 - 0
_posts/2017-08-07-proximity-structures.md

@@ -14,6 +14,7 @@ this project, I mostly just used a small portion of it to create [WebGL (GPU
14 14
 accelerated) primitive
15 15
 shapes](http://www.goodboydigital.com/pixi-webgl-primitives/) (lines and
16 16
 circles).
17
+<!--excerpt-->
17 18
 
18 19
 **Play with it here**: [http://proximity.hallada.net](http://proximity.hallada.net)
19 20
 

+ 1 - 0
_posts/2017-08-30-making-mailing-list-jekyll-blog-using-sendy.md

@@ -16,6 +16,7 @@ noticed that I still follow some small infrequent blogs through mailing lists
16 16
 that they offer. I'm really happy to see an email sign up on blogs I like,
17 17
 because it means I'll know when they post new content in the future. I check my
18 18
 email regularly unlike my RSS feeds.
19
+<!--excerpt-->
19 20
 
20 21
 Even though I'm sure my blog is still too uninteresting and unheard of to get
21 22
 many signups, I still wanted to know what it took to make a blog mailing list.

+ 1 - 0
_posts/2017-11-15-isso-comments.md

@@ -9,6 +9,7 @@ my [old Django personal site](https://github.com/thallada/personalsite). While I
9 9
 enjoyed working on it at the time, it was a lot of work, especially to fight the
10 10
 spam. Now that my blog is hosted statically on Github's servers, I have no way
11 11
 to host something dynamic like comments.
12
+<!--excerpt-->
12 13
 
13 14
 [Disqus](http://disqus.com/) seems to be the popular solution to this problem
14 15
 for other people that host static blogs. The way it works is that you serve a