Browse Source

Update to Hugo 0.17; Support emojis; Fix #54

George Cushen 8 years ago
parent
commit
5696cf411a

+ 3 - 2
exampleSite/config.toml

@@ -1,11 +1,12 @@
-baseurl = "http://replace-this-with-your-website-url.com/"
+baseurl = "https://example.com"
 title = "Academic Theme"
 copyright = "© 2016 Your Name"
 languageCode = "en-us"
 theme = "academic"
+enableEmoji = true
 
 # Enable comments by entering your Disqus shortname
-disqusShortname = "spf13"
+disqusShortname = ""
 
 # Enable analytics by entering your Google Analytics tracking ID
 googleAnalytics = ""

+ 3 - 3
exampleSite/content/post/getting-started.md

@@ -5,11 +5,13 @@ image = "banners/getting-started.png"
 tags = ["academic", "hugo"]
 title = "Getting started with the Academic theme for Hugo"
 math = true
+summary = """
+Create a beautifully simple academic or personal website in under 10 minutes. 
+"""
 +++
 
 The Academic theme enables you to easily create a beautifully simple academic or personal website using the [Hugo](https://gohugo.io) static site generator.
 
-
 Key features:
 
 - Designed for personal and academic staff/student use
@@ -19,8 +21,6 @@ Key features:
 - Responsive and mobile friendly
 - Simple and refreshing one page design
 
-<!--more-->
-
 ## Installation
 
 1. [Install Hugo](https://georgecushen.com/create-your-website-with-hugo/#installing-hugo) and create a new website by typing the following commands in your *Terminal* or *Command Prompt* app:

+ 13 - 5
exampleSite/content/post/writing-markdown-latex.md

@@ -10,11 +10,11 @@ Content can be written using [Markdown](https://github.com/adam-p/markdown-here/
 
 ## Sub-headings
 
-    ## H2
-    ### H3
-    #### H4
-    ##### H5
-    ###### H6
+    ## Heading 2
+    ### Heading 3
+    #### Heading 4
+    ##### Heading 5
+    ###### Heading 6
 
 ## Emphasis
 
@@ -56,6 +56,14 @@ A numbered figure with caption:
     [A project]({{</* ref "project/hi.md" */>}})
     [Another section]({{</* relref "hi.md#who" */>}})
 
+## Emojis
+
+See the [Emoji cheat sheet](http://www.webpagefx.com/tools/emoji-cheat-sheet/) for available emoticons. The following serves as an example, but you should remove the spaces between each emoji name and pair of semicolons:
+
+    I : heart : Academic : smile :
+    
+I :heart: Academic :smile:
+
 ## Blockquote
 
     > This is a blockquote.

+ 2 - 2
theme.toml

@@ -1,9 +1,9 @@
 name = "Academic"
 license = "MIT"
 licenselink = "https://github.com/gcushen/hugo-academic/blob/master/LICENSE.md"
-description = "A one page personal theme for academic staff and students."
+description = "Easily create beautifully simple academic or personal sites"
 homepage = "https://github.com/gcushen/hugo-academic"
-min_version = 0.16
+min_version = 0.17
 tags = ["academic",
         "portfolio",
         "responsive",