Welcome to mirror list, hosted at ThFree Co, Russian Federation.

README.md - github.com/nirocfz/arabica.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 72638f5d88724d12278446b2d9e61d6fdcfba470 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
This is a port of the [Arabica theme for Ghost](https://github.com/slunsford/arabica) to Hugo. You can find a live demo [here](https://arabica.netlify.com).

![Preview](https://raw.githubusercontent.com/nirocfz/arabica/master/images/screenshot.png)

## Quickstart

### Install

Inside the folder of your Hugo site run:

```
$ cd themes
$ git clone https://github.com/nirocfz/arabica
```

### Preview exampleSite

```
$ cd arabica/exampleSite
$ hugo server --themesDir ../..
```

### Configure Hugo

Add the following line to `config.toml` to use the theme

```
theme = "arabica"
```

This is the `config.toml` of [exampleSite](/exampleSite)

```
baseurl = "https://example.org/"
title = "Arabica"
author = "John Doe"
paginate = 3
theme = "arabica"

[params]
    description = "A minimal Hugo theme"
    dateFormatToUse = "2006-01-02"
    replaceGoogleFonts = "fonts.loli.net"
    twitter = "example"
    facebook = "example"
```

You can add `image` front matter to a post, see [example post](https://github.com/nirocfz/arabica/blob/master/exampleSite/content/post/creating-a-new-theme.md).

Thanks

* [Hugo](https://gohugo.io/)
* [slunsford/arabica](https://github.com/slunsford/arabica)
* [xianmin/hugo-theme-jane](https://github.com/xianmin/hugo-theme-jane)

## License

See [LICENSE](https://github.com/nirocfz/arabica/blob/master/LICENSE)