diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 00000000..4453853b --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,20 @@ +The MIT License (MIT) + +Copyright (c) 2016 George Cushen + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/README.md b/README.md index 831d4ade..579513f1 100644 --- a/README.md +++ b/README.md @@ -1 +1,55 @@ -# hugo-academic \ No newline at end of file +# Hugo Academic + +A personal academic theme for [Hugo](https://gohugo.io). + +[](https://github.com/gcushen/hugo-academic/) + +Key features: +- Suitable for academic staff, students, or general personal use +- Sections for Biography, Publications, Blog/News, Teaching, and Contact +- Responsive and mobile friendly +- Simple one page design +- Clean and refreshing theme +- Easy to customize + +## Quick start + + 1. Install with `git`: + +```sh +git clone git@github.com:gcushen/hugo-academic.git themes/hugo-academic +``` + +Or alternatively, install by downloading from [Github](https://github.com/gcushen/hugo-academic/) into a `themes/hugo-academic` folder within your Hugo website. + +2. If you are creating a new website, copy the contents of the `exampleSite` folder to your website root folder to get started, overwriting existing files if necessary. The `exampleSite` folder contains an example config file and content to help you get started. + +3. Start the Hugo server from your website root folder: +``` sh +hugo server --watch +``` +Now you can go to [localhost:1313](http://localhost:1313) and your new Academic themed website should appear. + +## Customization + +To change the biography text, edit `content/home/about.md` and/or the `param` variables in `config.toml`. + +To create a new publication: + + hugo new publications/my-paper-name.md + +Then edit the default variables at the top of `publications/my-paper-name.md` to include the details of your publication. Note that the `date` variable for publications is the publish date in the format `2016-01-01`. + +To create a blog/news article: + + hugo new blog/my-article-name.md + +To remove content, simply delete the relevant file from your `content/blog` or `content/publications` folder. If you wish to remove the Teaching section from the home page, simply delete the `content/home/teaching.md` file. Then rebuild and view the updated website with the `hugo` and `hugo server --watch` commands. + +To enable Google Analytics, add your tracking code to `config.toml` similarly to `googleAnalytics = "UA-12345678-9"`. + +## Upgrading + +Improvements to the theme will be recorded in the Github releases changelog. Feel free to star the project on [Github](https://github.com/gcushen/hugo-academic/) and monitor the progress for updates. + +Created by [George Cushen](http://www.cushen.me). diff --git a/archetypes/blog.md b/archetypes/blog.md new file mode 100644 index 00000000..e496e775 --- /dev/null +++ b/archetypes/blog.md @@ -0,0 +1,3 @@ ++++ +tags = [""] ++++ diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 00000000..ac36e062 --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,2 @@ ++++ ++++ diff --git a/archetypes/publications.md b/archetypes/publications.md new file mode 100644 index 00000000..c8c14596 --- /dev/null +++ b/archetypes/publications.md @@ -0,0 +1,10 @@ ++++ +abstract = "" +authors = [""] +publication = "" +url_pdf = "" +url_image = "" +url_code = "" +url_dataset = "" +url_project = "" ++++ \ No newline at end of file diff --git a/exampleSite/content/blog/another-post.md b/exampleSite/content/blog/another-post.md new file mode 100644 index 00000000..e4ef1893 --- /dev/null +++ b/exampleSite/content/blog/another-post.md @@ -0,0 +1,16 @@ ++++ +date = "2016-04-20T00:00:00" +draft = false +tags = ["test"] +title = "Another example news post" ++++ + +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis posuere tellus ac convallis placerat. Proin tincidunt magna sed ex sollicitudin condimentum. Sed ac faucibus dolor, scelerisque sollicitudin nisi. Cras purus urna, suscipit quis sapien eu, pulvinar tempor diam. Quisque risus orci, mollis id ante sit amet, gravida egestas nisl. Sed ac tempus magna. Proin in dui enim. Donec condimentum, sem id dapibus fringilla, tellus enim condimentum arcu, nec volutpat est felis vel metus. Vestibulum sit amet erat at nulla eleifend gravida. + +Nullam vel molestie justo. Curabitur vitae efficitur leo. In hac habitasse platea dictumst. Sed pulvinar mauris dui, eget varius purus congue ac. Nulla euismod, lorem vel elementum dapibus, nunc justo porta mi, sed tempus est est vel tellus. Nam et enim eleifend, laoreet sem sit amet, elementum sem. Morbi ut leo congue, maximus velit ut, finibus arcu. In et libero cursus, rutrum risus non, molestie leo. Nullam congue quam et volutpat malesuada. Sed risus tortor, pulvinar et dictum nec, sodales non mi. Phasellus lacinia commodo laoreet. Nam mollis, erat in feugiat consectetur, purus eros egestas tellus, in auctor urna odio at nibh. Mauris imperdiet nisi ac magna convallis, at rhoncus ligula cursus. + +Cras aliquam rhoncus ipsum, in hendrerit nunc mattis vitae. Duis vitae efficitur metus, ac tempus leo. Cras nec fringilla lacus. Quisque sit amet risus at ipsum pharetra commodo. Sed aliquam mauris at consequat eleifend. Praesent porta, augue sed viverra bibendum, neque ante euismod ante, in vehicula justo lorem ac eros. Suspendisse augue libero, venenatis eget tincidunt ut, malesuada at lorem. Donec vitae bibendum arcu. Aenean maximus nulla non pretium iaculis. Quisque imperdiet, nulla in pulvinar aliquet, velit quam ultrices quam, sit amet fringilla leo sem vel nunc. Mauris in lacinia lacus. + +Suspendisse a tincidunt lacus. Curabitur at urna sagittis, dictum ante sit amet, euismod magna. Sed rutrum massa id tortor commodo, vitae elementum turpis tempus. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean purus turpis, venenatis a ullamcorper nec, tincidunt et massa. Integer posuere quam rutrum arcu vehicula imperdiet. Mauris ullamcorper quam vitae purus congue, quis euismod magna eleifend. Vestibulum semper vel augue eget tincidunt. Fusce eget justo sodales, dapibus odio eu, ultrices lorem. Duis condimentum lorem id eros commodo, in facilisis mauris scelerisque. Morbi sed auctor leo. Nullam volutpat a lacus quis pharetra. Nulla congue rutrum magna a ornare. + +Aliquam in turpis accumsan, malesuada nibh ut, hendrerit justo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Quisque sed erat nec justo posuere suscipit. Donec ut efficitur arcu, in malesuada neque. Nunc dignissim nisl massa, id vulputate nunc pretium nec. Quisque eget urna in risus suscipit ultricies. Pellentesque odio odio, tincidunt in eleifend sed, posuere a diam. Nam gravida nisl convallis semper elementum. Morbi vitae felis faucibus, vulputate orci placerat, aliquet nisi. Aliquam erat volutpat. Maecenas sagittis pulvinar purus, sed porta quam laoreet at. diff --git a/exampleSite/content/blog/example-post.md b/exampleSite/content/blog/example-post.md new file mode 100644 index 00000000..f6725cab --- /dev/null +++ b/exampleSite/content/blog/example-post.md @@ -0,0 +1,22 @@ ++++ +date = "2016-04-20T00:00:00" +draft = false +tags = ["test"] +title = "An example news post" ++++ + +**Lorem ipsum** dolor sit amet, consectetur adipiscing elit. Duis posuere tellus ac convallis placerat. Proin tincidunt magna sed ex sollicitudin condimentum. Sed ac faucibus dolor, scelerisque sollicitudin nisi. Cras purus urna, suscipit quis sapien eu, pulvinar tempor diam. Quisque risus orci, mollis id ante sit amet, gravida egestas nisl. Sed ac tempus magna. Proin in dui enim. Donec condimentum, sem id dapibus fringilla, tellus enim condimentum arcu, nec volutpat est felis vel metus. Vestibulum sit amet erat at nulla eleifend gravida. + +~~~python +# Example of code highlighting +input_string_var = input("Enter some data: ") +print("You entered: {}".format(input_string_var)) +~~~ + +Nullam vel molestie justo. Curabitur vitae efficitur leo. In hac habitasse platea dictumst. Sed pulvinar mauris dui, eget varius purus congue ac. Nulla euismod, lorem vel elementum dapibus, nunc justo porta mi, sed tempus est est vel tellus. Nam et enim eleifend, laoreet sem sit amet, elementum sem. Morbi ut leo congue, maximus velit ut, finibus arcu. In et libero cursus, rutrum risus non, molestie leo. Nullam congue quam et volutpat malesuada. Sed risus tortor, pulvinar et dictum nec, sodales non mi. Phasellus lacinia commodo laoreet. Nam mollis, erat in feugiat consectetur, purus eros egestas tellus, in auctor urna odio at nibh. Mauris imperdiet nisi ac magna convallis, at rhoncus ligula cursus. + +Cras aliquam rhoncus ipsum, in hendrerit nunc mattis vitae. Duis vitae efficitur metus, ac tempus leo. Cras nec fringilla lacus. Quisque sit amet risus at ipsum pharetra commodo. Sed aliquam mauris at consequat eleifend. Praesent porta, augue sed viverra bibendum, neque ante euismod ante, in vehicula justo lorem ac eros. Suspendisse augue libero, venenatis eget tincidunt ut, malesuada at lorem. Donec vitae bibendum arcu. Aenean maximus nulla non pretium iaculis. Quisque imperdiet, nulla in pulvinar aliquet, velit quam ultrices quam, sit amet fringilla leo sem vel nunc. Mauris in lacinia lacus. + +Suspendisse a tincidunt lacus. Curabitur at urna sagittis, dictum ante sit amet, euismod magna. Sed rutrum massa id tortor commodo, vitae elementum turpis tempus. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean purus turpis, venenatis a ullamcorper nec, tincidunt et massa. Integer posuere quam rutrum arcu vehicula imperdiet. Mauris ullamcorper quam vitae purus congue, quis euismod magna eleifend. Vestibulum semper vel augue eget tincidunt. Fusce eget justo sodales, dapibus odio eu, ultrices lorem. Duis condimentum lorem id eros commodo, in facilisis mauris scelerisque. Morbi sed auctor leo. Nullam volutpat a lacus quis pharetra. Nulla congue rutrum magna a ornare. + +Aliquam in turpis accumsan, malesuada nibh ut, hendrerit justo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Quisque sed erat nec justo posuere suscipit. Donec ut efficitur arcu, in malesuada neque. Nunc dignissim nisl massa, id vulputate nunc pretium nec. Quisque eget urna in risus suscipit ultricies. Pellentesque odio odio, tincidunt in eleifend sed, posuere a diam. Nam gravida nisl convallis semper elementum. Morbi vitae felis faucibus, vulputate orci placerat, aliquet nisi. Aliquam erat volutpat. Maecenas sagittis pulvinar purus, sed porta quam laoreet at. diff --git a/exampleSite/content/home/about.md b/exampleSite/content/home/about.md new file mode 100644 index 00000000..a28647df --- /dev/null +++ b/exampleSite/content/home/about.md @@ -0,0 +1,11 @@ ++++ +date = "2016-04-20T00:00:00" +draft = false +title = "about" ++++ + +## Biography + +Lena Smith is a professor of artificial intelligence at the Stanford AI Lab. Her research interests include distributed robotics, mobile computing and programmable matter. She leads the Robotic Neurobiology group, which develops self-reconfiguring robots, systems of self-organizing robots, and mobile sensor networks. + +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed neque elit, tristique placerat feugiat ac, facilisis vitae arcu. Proin eget egestas augue. Praesent ut sem nec arcu pellentesque aliquet. Duis dapibus diam vel metus tempus vulputate. Etiam iaculis libero hendrerit ipsum tempus accumsan. Praesent ex justo, aliquam bibendum nulla in, vehicula rhoncus massa. Fusce gravida mattis tellus vel commodo. Etiam molestie non ligula ac venenatis. Integer semper diam at fringilla dapibus. Nunc tincidunt lacinia nisi, sed blandit purus fermentum vel. Morbi tempus dolor dolor. Phasellus scelerisque est elit, et porttitor mauris faucibus sit amet. Phasellus sollicitudin bibendum sem eu blandit. Curabitur congue felis eu velit faucibus porta. Curabitur a pharetra diam. diff --git a/exampleSite/content/home/teaching.md b/exampleSite/content/home/teaching.md new file mode 100644 index 00000000..d1168ed9 --- /dev/null +++ b/exampleSite/content/home/teaching.md @@ -0,0 +1,17 @@ ++++ +date = "2016-04-20T00:00:00" +draft = false +title = "teaching" ++++ + +## Teaching + +I am a teaching instructor for the following courses at University X: + +- CS101: An intro to computer science +- CS102: An intro to computer science +- CS103: An intro to computer science +- CS104: An intro to computer science +- CS105: An intro to computer science +- CS106: An intro to computer science +- CS107: An intro to computer science diff --git a/exampleSite/content/publications/clothing-search.md b/exampleSite/content/publications/clothing-search.md new file mode 100644 index 00000000..4c83cbd9 --- /dev/null +++ b/exampleSite/content/publications/clothing-search.md @@ -0,0 +1,18 @@ ++++ +abstract = "We present a mobile visual clothing search system whereby a smart phone user can either choose a social networking photo or take a new photo of a person wearing clothing of interest and search for similar clothing in a retail database. From the query image, the person is detected, clothing is segmented, and clothing features are extracted and quantized. The information is sent from the phone client to a server, where the feature vector of the query image is used to retrieve similar clothing products from online databases. The phone's GPS location is used to re-rank results by retail store location. State of the art work focuses primarily on the recognition of a diverse range of clothing offline and pays little attention to practical applications. Evaluated on a challenging dataset, the system is relatively fast and achieves promising results." +authors = ["GA Cushen", "MS Nixon"] +date = "2013-07-01" +publication = "In *IEEE International Conference on Multimedia and Expo Workshops (ICMEW)*" +title = "Mobile visual clothing search" +url_code = "#" +url_dataset = "#" +url_image = "" +url_pdf = "http://eprints.soton.ac.uk/352095/1/Cushen-IMV2013.pdf" +url_project = "#" + +[[url_custom]] +name = " Custom Link" +url = "http://www.example.org" ++++ + +More detail can easily be written here using *Markdown*. diff --git a/exampleSite/content/publications/person-re-identification.md b/exampleSite/content/publications/person-re-identification.md new file mode 100644 index 00000000..64ac8a02 --- /dev/null +++ b/exampleSite/content/publications/person-re-identification.md @@ -0,0 +1,15 @@ ++++ +abstract = "Person re-identification is a critical security task for recognizing a person across spatially disjoint sensors. Previous work can be computationally intensive and is mainly based on low-level cues extracted from RGB data and implemented on a PC for a fixed sensor network (such as traditional CCTV). We present a practical and efficient framework for mobile devices (such as smart phones and robots) where high-level semantic soft biometrics are extracted from RGB and depth data. By combining these cues, our approach attempts to provide robustness to noise, illumination, and minor variations in clothing. This mobile approach may be particularly useful for the identification of persons in areas ill-served by fixed sensors or for tasks where the sensor position and direction need to dynamically adapt to a target. Results on the BIWI dataset are preliminary but encouraging. Further evaluation and demonstration of the system will be available on our website." +authors = ["GA Cushen"] +date = "2015-09-01" +publication = "In *Signal Image Technology & Internet Systems (SITIS)*" +title = "A Person Re-Identification System For Mobile Devices" +url_code = "" +url_dataset = "" +url_image = "" +url_pdf = "http://arxiv.org/pdf/1512.04133v1" +url_project = "" + ++++ + +More detail can easily be written here using *Markdown*. diff --git a/images/screenshot.png b/images/screenshot.png new file mode 100644 index 00000000..c02c55a7 Binary files /dev/null and b/images/screenshot.png differ diff --git a/images/tn.png b/images/tn.png new file mode 100644 index 00000000..7f013ad7 Binary files /dev/null and b/images/tn.png differ diff --git a/layouts/404.html b/layouts/404.html new file mode 100644 index 00000000..c79659f1 --- /dev/null +++ b/layouts/404.html @@ -0,0 +1,24 @@ +{{ partial "header.html" . }} +{{ partial "navbar.html" . }} +
Maybe you were looking for one of these?
+ +{{ .course }}, {{ .year }}
+{{ .institution }}
++ {{ if .Truncated }} + {{ .Summary }} + Read More + {{ else }} + {{ .Content }} + {{ end }} +
+