From 2883741c21876ee276afea0c9da5b227dbfb8f54 Mon Sep 17 00:00:00 2001 From: Chris Cummer Date: Wed, 9 May 2018 23:50:32 -0700 Subject: [PATCH] Add syntax highlighting --- _site/config.toml | 2 + _site/content/posts/modules/git.md | 6 +- _site/content/posts/modules/github.md | 4 +- _site/themes/hyde-hyde/layouts/index.html | 6 +- .../hyde-hyde/layouts/partials/header.html | 1 + .../hyde-hyde/layouts/partials/sidebar.html | 2 + _site/themes/hyde-hyde/static/css/syntax.css | 104 +++++++++--------- docs/404.html | 3 + docs/categories/index.html | 3 + docs/css/syntax.css | 104 +++++++++--------- docs/index.html | 9 +- docs/index.xml | 47 ++++---- docs/posts/configuration/index.html | 8 +- docs/posts/glossary/index.html | 3 + docs/posts/index.html | 3 + docs/posts/index.xml | 47 ++++---- docs/posts/modules/bamboohr/index.html | 27 ++--- docs/posts/modules/clocks/index.html | 57 +++++----- docs/posts/modules/git/index.html | 41 ++++--- docs/posts/modules/github/index.html | 39 +++---- docs/posts/modules/index.html | 3 + docs/posts/modules/newrelic/index.html | 31 +++--- docs/posts/modules/opsgenie/index.html | 27 ++--- docs/posts/modules/security/index.html | 27 ++--- docs/posts/modules/textfile/index.html | 29 +++-- docs/posts/modules/weather/index.html | 49 ++++----- docs/tags/index.html | 3 + 27 files changed, 349 insertions(+), 336 deletions(-) diff --git a/_site/config.toml b/_site/config.toml index 1e3e4c0e..5dbcdf00 100644 --- a/_site/config.toml +++ b/_site/config.toml @@ -1,5 +1,7 @@ baseURL = "http://wtfutil.com/" languageCode = "en-us" +pygmentsCodeFences = true +pygmentsUseClasses = true publishDir = "../docs" sectionPagesMenu = "main" theme = "hyde-hyde" diff --git a/_site/content/posts/modules/git.md b/_site/content/posts/modules/git.md index 63f79c0f..c87153b4 100644 --- a/_site/content/posts/modules/git.md +++ b/_site/content/posts/modules/git.md @@ -13,16 +13,16 @@ files, and recent commits. #### Branch -Displays the of the currently-active git branch. +The name of the currently-active git branch. #### Changed Files -Displays a list of all the files that have changed since the last +A list of all the files that have changed since the last commit, and their status. #### Recent Commits -Displays a list of `n` recent commits, who committed it, and when. +A list of `n` recent commits, who committed it, and when. ## Source Code diff --git a/_site/content/posts/modules/github.md b/_site/content/posts/modules/github.md index 234ff3f5..550411db 100644 --- a/_site/content/posts/modules/github.md +++ b/_site/content/posts/modules/github.md @@ -13,11 +13,11 @@ review requests, and open pull requests. #### Open Review Requests -Displays all open code review requests assigned to you. +All open code review requests assigned to you. #### Open Pull Requests -Displays all open pull requests created by you. +All open pull requests created by you. ## Source Code diff --git a/_site/themes/hyde-hyde/layouts/index.html b/_site/themes/hyde-hyde/layouts/index.html index 72002de3..2ad5fadf 100644 --- a/_site/themes/hyde-hyde/layouts/index.html +++ b/_site/themes/hyde-hyde/layouts/index.html @@ -11,11 +11,11 @@

WTF is a personal information dashboard for your - terminal, made for those who spend most of their days in the command line. + terminal, developed for those who spend most of their day in the command line.

- It provides a framework for rapidly viewing important at-a-glance information quickly. + It provides a framework for rapidly viewing important at-a-glance information easily.

@@ -32,7 +32,7 @@

- It even has weather. And emoji. Just enough emoji. + It even has weather. And clocks. And emoji.

Github diff --git a/_site/themes/hyde-hyde/layouts/partials/header.html b/_site/themes/hyde-hyde/layouts/partials/header.html index 8cf8d42e..b1ce65de 100644 --- a/_site/themes/hyde-hyde/layouts/partials/header.html +++ b/_site/themes/hyde-hyde/layouts/partials/header.html @@ -20,6 +20,7 @@ + {{ "" | safeHTML }} {{ if .Site.Params.highlightjs -}} diff --git a/_site/themes/hyde-hyde/layouts/partials/sidebar.html b/_site/themes/hyde-hyde/layouts/partials/sidebar.html index d87588b0..bad78844 100644 --- a/_site/themes/hyde-hyde/layouts/partials/sidebar.html +++ b/_site/themes/hyde-hyde/layouts/partials/sidebar.html @@ -10,9 +10,11 @@

Content

+