README.md 1.18 KB
Newer Older
lislis's avatar
lislis committed
1
2
# F.U.C.K. map

lislis's avatar
lislis committed
3
4
![screenshot](screenshot.png)

lislis's avatar
lislis committed
5
6
## Add a F.U.C.K. space

lislis's avatar
lislis committed
7
Add an entry to `static/fucks.json`.
lislis's avatar
lislis committed
8
9
10

You can have multiple contacts, they are free-form. Just add multiple objects to the array.

lislis's avatar
lislis committed
11
There is an empty marker at `static/markers/marker.png` and the GIMP file at `static/markers/marker-all.xcf` that you can use to make your own marker, or reference the standard `static/markers/marker-fuck.png`.
lislis's avatar
lislis committed
12
13
14
15
16
17
18
19
20

You can figure out the coordinates to your city [with this service](https://www.latlong.net/). Please note that in the JSON they are `[long, lat]`.


``` json
{
  "name": "Name of the space",
  "city": "city of space",
  "coords": [11.58639, 50.92722],
lislis's avatar
lislis committed
21
  "img": "static/markers/marker-fuck.png",
lislis's avatar
lislis committed
22
23
24
25
26
27
28
29
30
31
  "contacts": [
      {
        "title": "Used in title attribute",
        "url": "https://url.tld",
        "value": "visible link"
      }
  ]
}
```

lislis's avatar
lislis committed
32
33
## Install dependencies

lislis's avatar
lislis committed
34
35
36
This is a Hugo page.

Get Hugo form the [GitHub release page](https://github.com/gohugoio/hugo/releases) or via your package manager.
lislis's avatar
lislis committed
37
38
39
40

## Dev server

``` bash
lislis's avatar
lislis committed
41
$ hugo serve
lislis's avatar
lislis committed
42
43
```

lislis's avatar
lislis committed
44
## Build site
lislis's avatar
lislis committed
45
46

``` bash
lislis's avatar
lislis committed
47
$ hugo
lislis's avatar
lislis committed
48
```
lislis's avatar
lislis committed
49
The build step outputs a `public/` folder which contains the entire site. This is also what happens during CI.