hugo-academic-mirror/README.md

111 lines
6.4 KiB
Markdown
Raw Normal View History

2018-01-04 01:54:24 +00:00
# Academic: the website designer for [Hugo](https://gohugo.io)
2016-04-27 12:26:40 +01:00
2018-01-04 01:54:24 +00:00
**Academic** is a framework to help you create a beautiful website quickly. Perfect for personal sites, blogs, or business/project sites. [Check out the latest demo](https://themes.gohugo.io/theme/academic/) of what you'll get in less than 10 minutes. Then head on over to the [Quick Start guide](https://sourcethemes.com/academic/docs/) or take a look at the [Release Notes](https://sourcethemes.com/academic/updates/).
2016-04-27 12:26:40 +01:00
2017-01-29 18:52:25 +00:00
[![Screenshot](https://raw.githubusercontent.com/gcushen/hugo-academic/master/academic.png)](https://github.com/gcushen/hugo-academic/)
2016-04-27 12:26:40 +01:00
Key features:
2018-01-04 01:54:24 +00:00
- Easily manage various content including homepage, blog posts, publications, talks, and projects
- Extensible via **color themes** and **widgets/plugins**
2017-11-28 23:59:13 +00:00
- Write in [Markdown](https://sourcethemes.com/academic/docs/writing-markdown-latex/) for easy formatting and code highlighting, with [LaTeX](https://en.wikibooks.org/wiki/LaTeX/Mathematics) for mathematical expressions
2017-01-20 18:01:52 +00:00
- Social/academic network linking, [Google Analytics](https://analytics.google.com), and [Disqus](https://disqus.com) comments
2016-04-27 12:26:40 +01:00
- Responsive and mobile friendly
2016-05-07 02:00:31 +01:00
- Simple and refreshing one page design
2017-09-28 01:24:08 +01:00
- Multilingual and easy to customize
2016-04-27 12:26:40 +01:00
2017-10-04 01:05:21 +01:00
## Color Themes
Academic is available in different color themes and font themes.
2017-11-28 23:59:13 +00:00
| `default` | `ocean` | `dark` |
| --- | --- | --- |
| ![default theme](https://raw.githubusercontent.com/gcushen/hugo-academic/master/images/theme-default.png) | ![ocean theme](https://raw.githubusercontent.com/gcushen/hugo-academic/master/images/theme-ocean.png) | ![dark theme](https://raw.githubusercontent.com/gcushen/hugo-academic/master/images/theme-dark.png) |
2017-10-04 01:05:21 +01:00
| `forest` | `coffee` + `playfair` font | `1950s` |
2017-11-28 23:59:13 +00:00
| --- | --- | --- |
| ![forest theme](https://raw.githubusercontent.com/gcushen/hugo-academic/master/images/theme-forest.png) | ![coffee theme](https://raw.githubusercontent.com/gcushen/hugo-academic/master/images/theme-coffee-playfair.png) | ![1950s theme](https://raw.githubusercontent.com/gcushen/hugo-academic/master/images/theme-1950s.png) |
2018-01-04 01:54:24 +00:00
## Install
2016-04-27 12:26:40 +01:00
2018-01-04 01:54:24 +00:00
You can choose from one of the following four methods to install:
2018-01-20 15:11:28 +00:00
2018-01-04 01:54:24 +00:00
* one-click install using your web browser (recommended)
* install on your computer using Git with the Command Prompt/Terminal app
* install on your computer by downloading the ZIP files
* install on your computer with RStudio
2016-04-27 17:34:01 +01:00
2017-11-24 02:25:31 +00:00
### Quick install using your web browser
2016-04-27 17:34:01 +01:00
1. [Install Academic with Netlify](https://app.netlify.com/start/deploy?repository=https://github.com/sourcethemes/academic-kickstart)
* Netlify will provide you with a customizable URL to access your new site
2. On GitHub, go to your newly created `academic-kickstart` repository and edit `config.toml` to personalize your site. Shortly after saving the file, your site will automatically update
3. Read the [Quick Start Guide](https://sourcethemes.com/academic/docs/) to learn how to add Markdown content. For inspiration, refer to the [Markdown content](https://github.com/gcushen/hugo-academic/tree/master/exampleSite) which powers the [Demo](https://themes.gohugo.io/theme/academic/)
2016-04-27 12:26:40 +01:00
2018-01-04 01:54:24 +00:00
### Install with Git
2016-05-13 00:50:16 +01:00
2017-11-24 02:25:31 +00:00
Prerequisites:
2016-04-27 12:26:40 +01:00
2017-11-24 02:25:31 +00:00
* [Download and install Git](https://git-scm.com/downloads)
* [Download and install Hugo](https://gohugo.io/getting-started/installing/#quick-install)
2016-04-27 17:34:01 +01:00
2018-01-04 01:54:24 +00:00
1. [Fork](https://github.com/sourcethemes/academic-kickstart#fork-destination-box) the *Academic Kickstart* repository and clone your fork with Git:
2017-11-24 02:25:31 +00:00
git clone https://github.com/sourcethemes/academic-kickstart.git My_Website
2018-01-04 01:54:24 +00:00
*Note that if you forked Academic Kickstart, the above command should be edited to clone your fork, i.e. replace `sourcethemes` with your GitHub username.*
2017-11-30 09:16:25 +00:00
2. Initialize the theme:
2016-04-27 17:34:01 +01:00
2017-11-24 02:25:31 +00:00
cd My_Website
2017-11-30 09:16:25 +00:00
git submodule update --init --recursive
2018-01-04 01:54:24 +00:00
### Install with ZIP
2017-11-24 02:25:31 +00:00
2018-01-04 01:54:24 +00:00
1. [Download](https://github.com/sourcethemes/academic-kickstart/archive/master.zip) and extract *Academic Kickstart*
2. [Download](https://github.com/gcushen/hugo-academic/archive/master.zip) and extract the *Academic theme* to the `themes/academic/` folder from the above step
2016-04-27 12:26:40 +01:00
2018-01-04 01:54:24 +00:00
### Install with RStudio
2018-01-04 01:54:24 +00:00
[View the guide to installing Academic with RStudio](https://sourcethemes.com/academic/docs/install/#install-with-rstudio)
2016-04-27 12:26:40 +01:00
2018-01-04 01:54:24 +00:00
## Quick start
2016-05-13 00:50:16 +01:00
2018-01-04 01:54:24 +00:00
1. If you installed on your computer, view your new website by running the following command:
hugo server
2016-05-13 00:50:16 +01:00
2018-01-04 01:54:24 +00:00
Now visit [localhost:1313](http://localhost:1313) and your new Academic powered website will appear. Otherwise, if using Netlify, they will provide you with your URL.
2. Read the [Quick Start Guide](https://sourcethemes.com/academic/docs/) to learn how to add Markdown content, customize your site, and deploy it. For inspiration, refer to the [Markdown content](https://github.com/gcushen/hugo-academic/tree/master/exampleSite) which powers the [Demo](https://themes.gohugo.io/theme/academic/)
2016-05-13 00:50:16 +01:00
2018-01-04 01:54:24 +00:00
3. Build your site by running the `hugo` command. Then [host it for free using Github Pages](https://georgecushen.com/create-your-website-with-hugo/) or Netlify (refer to the first installation method). Alternatively, copy the generated `public/` directory (by FTP, Rsync, etc.) to your production web server (such as a university's hosting service).
2016-05-13 00:50:16 +01:00
2018-01-04 01:54:24 +00:00
## Updating
2016-05-13 00:50:16 +01:00
2018-01-20 15:19:35 +00:00
Feel free to *star* the project on [Github](https://github.com/gcushen/hugo-academic/) to help keep track of updates and check out the [release notes](https://sourcethemes.com/academic/updates) prior to updating your site.
2016-05-13 00:50:16 +01:00
2018-01-04 01:54:24 +00:00
Before updating the framework, it is recommended to make a backup of your entire website directory (or at least your `themes/academic` directory) and record your current version number.
2016-05-13 00:50:16 +01:00
2018-01-04 01:54:24 +00:00
By default, Academic is installed as a Git submodule which can be updated by running the following command:
2016-05-13 00:50:16 +01:00
2018-01-04 01:54:24 +00:00
```bash
git submodule update --remote --merge
```
2016-05-13 00:50:16 +01:00
2018-01-04 01:54:24 +00:00
[Check out the update guide](https://sourcethemes.com/academic/docs/update/) for full instructions and alternative methods.
2016-04-27 23:53:39 +01:00
2016-10-18 03:15:55 +01:00
## Feedback & Contributing
2016-04-27 23:53:39 +01:00
Please use the [issue tracker](https://github.com/gcushen/hugo-academic/issues) to let me know about any bugs or feature requests, or alternatively make a pull request.
2016-04-27 12:26:40 +01:00
2018-01-04 01:54:24 +00:00
For support, head over to the [Hugo discussion forum](http://discuss.gohugo.io).
2016-10-18 03:15:55 +01:00
2016-05-07 02:00:31 +01:00
## License
2018-01-04 01:54:24 +00:00
Copyright 2016-present [George Cushen](https://georgecushen.com).
2016-05-07 02:00:31 +01:00
Released under the [MIT](https://github.com/gcushen/hugo-academic/blob/master/LICENSE.md) license.
2016-10-18 03:15:55 +01:00
[![Analytics](https://ga-beacon.appspot.com/UA-78646709-2/hugo-academic/readme?pixel)](https://github.com/igrigorik/ga-beacon)