mirror of
https://github.com/Noettore/cocoa-eh-hugo-theme.git
synced 2025-10-15 03:36:41 +02:00
Update example site
This commit is contained in:
8
exampleSite/content/about-this-site.html
Normal file
8
exampleSite/content/about-this-site.html
Normal file
@@ -0,0 +1,8 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="canonical" href="/colophon"/>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
|
||||
<meta http-equiv="refresh" content="0;url=/colophon"/>
|
||||
</head>
|
||||
</html>
|
8
exampleSite/content/blog.html
Normal file
8
exampleSite/content/blog.html
Normal file
@@ -0,0 +1,8 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="canonical" href="/posts"/>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
|
||||
<meta http-equiv="refresh" content="0;url=/posts"/>
|
||||
</head>
|
||||
</html>
|
@@ -5,13 +5,14 @@ title = "About"
|
||||
|
||||
+++
|
||||
|
||||
TODO: Page not complete yet.
|
||||
I'm a software engineer and student at UT Austin. I primarily program in JavaScript. I currently work at Evernote. I also teach a web development class as part of <a href="//cs.utexas.edu/users/mad">MAD</a>, a computer science campus organization.
|
||||
|
||||
Information about you.
|
||||
I love soccer and mediterranean food. You can find recent open source work on <a target="_blank" href="//github.com/nishanths">GitHub</a>.
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
|
||||
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
|
||||
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
|
||||
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
|
||||
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
|
||||
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
||||
Please feel free to get in touch at <a href="mailto:nishanths@utexas.edu">nishanths@utexas.edu</a>.
|
||||
|
||||
<img src="//s.gravatar.com/avatar/9e766e4880d9a79fd1244c1b04dc31fe?size=4096&default=retro" class="profile">
|
||||
|
||||
<br />
|
||||
|
||||
<a href="colophon/">About this site</a>
|
||||
|
@@ -5,11 +5,16 @@ title = "Code"
|
||||
|
||||
+++
|
||||
|
||||
TODO: Page not complete yet.
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
|
||||
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
|
||||
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
|
||||
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
|
||||
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
|
||||
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
||||
* [iterators.js](https://github.com/nishanths/iterators.js): Useful functional iterators for node and the browser
|
||||
* [Spitfire](https://github.com/nishanths/spitfire-live): HackTX 2015, Winner – a real-time rhyming assistant
|
||||
* [markdown-viewer-component](https://github.com/nishanths/markdown-viewer-component): Web Component that renders Markdown placed inside an element as HTML
|
||||
* [cocoa-hugo-theme](https://github.com/nishanths/cocoa-hugo-theme): Distraction-free reading theme for Hugo, the static site generator
|
||||
* [slack-texts](https://github.com/nishanths/slack-texts): Important channel messages also sent to your phone via SMS
|
||||
* [YWeatherAPI](https://github.com/nishanths/YWeatherAPI): Powerful Yahoo! Weather API wrapper for Mac and iOS
|
||||
* [uMAD 2015](https://github.com/utcsmad/umad-website-2015): Website for the student developer conference built with Middleman
|
||||
* [What's Playing](https://github.com/nishanths/what-s-playing): Desktop notifications for online music playback changes
|
||||
* [QuickCal](https://github.com/nishanths/QuickCal): Highlight and add dates from any website to Google Calendar
|
||||
* [YouTube Pause](https://github.com/nishanths/youtube-pause-chrome): Spacebar pauses the video instead of scrolling down the page. [CNET](http://www.cnet.com/how-to/chrome-pause-youtube-videos-with-the-spacebar/)
|
||||
* [ISBN Search](https://duckduckgo.com/?q=ISBN+number+0-06-250217-4&ia=books): DuckDuckGo module to lookup book information by ISBN
|
||||
* [HTML Entities Encoder &](https://duckduckgo.com/?q=html+encode+the+paragraph+sign&ia=answer) [Decoder](https://duckduckgo.com/?q=decoded+html+for+%26%23x00a5%3B&ia=answer): Encode and decode HTML entities on DuckDuckGo using natural queries
|
||||
* [Auto-Browser](https://github.com/nishanths/auto-browser): HackTX 2014, Top 10
|
||||
|
15
exampleSite/content/fixed/colophon.md
Normal file
15
exampleSite/content/fixed/colophon.md
Normal file
@@ -0,0 +1,15 @@
|
||||
+++
|
||||
date = "2015-08-22T06:28:26-07:00"
|
||||
draft = false
|
||||
title = "colophon"
|
||||
heading = "About This Site"
|
||||
|
||||
+++
|
||||
|
||||
This website is the place where I write about JavaScript, git, and tech. It is also a personal homepage.
|
||||
|
||||
The site is built with <a target="_blank" href="//gohugo.io">Hugo</a>—a static site generator made with Go and is hosted on GitHub Pages. The website <a target="_blank" href="//github.com/nishanths/nishanths.me">source code</a> is available on GitHub. It uses the <a target="_blank" href="//github.com/nishanths/cocoa-hugo-theme">cocoa</a> theme. The posts are written in Markdown.
|
||||
|
||||
The primary font face is Proxima Nova and the monospace font face is Ubuntu Mono. The social icons are from the Ionicons font set. CSS classes for code syntax highlighting are inserted during compile-time by Hugo using Pygments.
|
||||
|
||||
If you find errors, [please let me know](https://github.com/nishanths/nishanths.me/issues/new).
|
29
exampleSite/content/posts/use-at-instead-of-head.md
Normal file
29
exampleSite/content/posts/use-at-instead-of-head.md
Normal file
@@ -0,0 +1,29 @@
|
||||
+++
|
||||
date = "2015-08-25T17:09:14-05:00"
|
||||
draft = false
|
||||
title = "Use @ instead of HEAD"
|
||||
slug = 'use-at-instead-of-head'
|
||||
|
||||
+++
|
||||
|
||||
I recently discovered that from git version [1.8.5](https://github.com/git/git/blob/master/Documentation/RelNotes/1.8.5.txt#L100) onwards, `@` can replace `HEAD`:
|
||||
|
||||
{{< highlight bash >}}
|
||||
$ git reset --hard @~2
|
||||
$ git rebase -i @~10
|
||||
$ git diff @~2..@~3
|
||||
{{</highlight>}}
|
||||
|
||||
And also in most scenarios `HEAD` can be left out completely, so you can say:
|
||||
|
||||
{{< highlight bash >}}
|
||||
$ git reset -- @{2}
|
||||
{{</highlight>}}
|
||||
|
||||
instead of:
|
||||
|
||||
{{< highlight bash >}}
|
||||
$ git reset -- HEAD@{2}
|
||||
{{</highlight>}}
|
||||
|
||||
It takes some getting used to, but it's definitely faster than typing `HEAD`.
|
8
exampleSite/content/projects.html
Normal file
8
exampleSite/content/projects.html
Normal file
@@ -0,0 +1,8 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="canonical" href="/code"/>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
|
||||
<meta http-equiv="refresh" content="0;url=/code"/>
|
||||
</head>
|
||||
</html>
|
7
exampleSite/content/resume.html
Normal file
7
exampleSite/content/resume.html
Normal file
@@ -0,0 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
|
||||
<meta http-equiv="refresh" content="0;url=//cl.ly/0v2m3E0c0p2t/shanmugham-resume.pdf"/>
|
||||
</head>
|
||||
</html>
|
8
exampleSite/content/writing.html
Normal file
8
exampleSite/content/writing.html
Normal file
@@ -0,0 +1,8 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="canonical" href="/posts"/>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
|
||||
<meta http-equiv="refresh" content="0;url=/posts"/>
|
||||
</head>
|
||||
</html>
|
Reference in New Issue
Block a user