Initial Checkin of Beautiful Hugo Theme

Initial Checkin of Beautiful Hugo Theme
This commit is contained in:
Michael Romero 2016-03-08 02:43:08 -08:00
commit ff7cd6fd91
42 changed files with 10950 additions and 0 deletions

View file

@ -0,0 +1,17 @@
---
title: Code Sample
description: Using Pygments
date: 2016-03-08
---
The following is a code sample using the "highlight" shortcode provided in Hugo.
<!--more-->
{{< highlight javascript >}}
var num1, num2, sum
num1 = prompt("Enter first number")
num2 = prompt("Enter second number")
sum = parseInt(num1) + parseInt(num2) // "+" means "add"
alert("Sum = " + sum) // "+" means combine into a string
{{</ highlight >}}