README.md 2.78 KB
Newer Older
Vitor Lopes's avatar
Vitor Lopes committed
1
# manjaro.org
Oğuz Kağan EREN's avatar
fix #97  
Oğuz Kağan EREN committed
2

Vitor Lopes's avatar
Vitor Lopes committed
3
This readme is a work in progress if anything is missing let us know.
Oğuz Kağan EREN's avatar
fix #97  
Oğuz Kağan EREN committed
4

Vitor Lopes's avatar
Vitor Lopes committed
5
## Built With
Oğuz Kağan EREN's avatar
fix #97  
Oğuz Kağan EREN committed
6

Vitor Lopes's avatar
Vitor Lopes committed
7
* [Hugo](https://gohugo.io/getting-started/) - Static Website Generator
Oğuz Kağan EREN's avatar
fix #97  
Oğuz Kağan EREN committed
8

Vitor Lopes's avatar
Vitor Lopes committed
9
### Installing and running localy 
Oğuz Kağan EREN's avatar
fix #97  
Oğuz Kağan EREN committed
10

Vitor Lopes's avatar
Vitor Lopes committed
11 12 13 14 15 16 17 18
* Install on Manjaro with `pacman -S hugo, git`
* clonning repo on local machine `git clone https://gitlab.manjaro.org/tools/maintenance-tools/manjaro-homepage`
* `cd /manjaro-homepage/site`
* Test run `hugo server -wDEFv --disableFastRender --noHTTPCache`
* Preview at `http://localhost:1313/`

### Testing in a diferent language
* (TODO)
Oğuz Kağan EREN's avatar
fix #97  
Oğuz Kağan EREN committed
19

Vitor Lopes's avatar
Vitor Lopes committed
20 21 22 23 24 25
### libraries used, get familiar with them. ( needs update ) 
* [Bootstrap 4](https://getbootstrap.com/docs/4.3/getting-started/introduction/)
* [Isotope](https://isotope.metafizzy.co/)
* [Jquery](https://jquery.com/)
* [Fontawesome](https://fontawesome.com/)

Vitor Lopes's avatar
Vitor Lopes committed
26 27
## Content creation
* Adding/Editing menus
Vitor Lopes's avatar
Vitor Lopes committed
28 29 30

Menus can be edited by opening (/site/config.toml), more examples can be found inside the file.

Vitor Lopes's avatar
Vitor Lopes committed
31
`weight` - link order in the menu.
Vitor Lopes's avatar
Vitor Lopes committed
32

Vitor Lopes's avatar
Vitor Lopes committed
33 34 35 36
`parent` - submenu the link belongs to.

If only a link is needed, ignore submenu, set link in `url` field.

Vitor Lopes's avatar
Vitor Lopes committed
37 38 39 40 41 42 43 44
```
[[menu.main]]
    name = "Features"
    url = "#"
    pre = ""
    weight = 2
    identifier = "features"
```
Vitor Lopes's avatar
Vitor Lopes committed
45
Submenu
Vitor Lopes's avatar
Vitor Lopes committed
46 47 48 49 50 51 52 53 54

```
[[menu.main]]
    name = "Under your control"
    url = "/features/under-your-control/"
    pre = "<i class='now-ui-icons objects_spaceship'></i>"
    weight = 2
    parent = "features"
```
Oğuz Kağan EREN's avatar
fix #97  
Oğuz Kağan EREN committed
55

Vitor Lopes's avatar
Vitor Lopes committed
56
* Adding a Edition
Vitor Lopes's avatar
Vitor Lopes committed
57

Vitor Lopes's avatar
Vitor Lopes committed
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81
Editions can be added by creating an markdown file in (/site/content/download/my-edition.md), supported edition category, in the `Tags` field ( official, community, arm, 32bit ).

```
+++
Download_x64 = "https://osdn.net/dl/manjaro/manjaro-gnome-18.0.4-stable-x86_64.iso"
Download_x64_Checksum = "c7ce6949197a42b285425ae5c6c5203c883530c4"
Download_x64_Sig = "https://osdn.net/dl/manjaro/manjaro-gnome-18.0.4-stable-x86_64.iso.sig"
Download_x64_Torrent = ""
Download_x86 = ""
Download_x86_Checksum = ""
Download_x86_Sig = ""
Download_x86_Torrent = ""
Name = "GNOME"
Screenshot = "gnome-full.jpg"
Youtube = "OjyfrFWaLDM"
Tags = [ "official" ]
shortDescription = "For people who want a very modern and simple desktop"
Thumbnail = "gnome.jpg"
Version = "18.0.4"
date = "12.03.2019T12:37:00+01:00"
title = "Gnome Stable"
type="download-edition"
weigth = "3"
+++
Vitor Lopes's avatar
Vitor Lopes committed
82 83 84 85

This edition is supported by the Manjaro team and comes with the GNOME 3 desktop that breaks with traditional concepts and allows users to focus on their tasks. Desktop-specific applications are crafted with care and clearly defined by guidelines that make them more consistent to use.

If you are looking for older images check the [GNOME](https://osdn.net/projects/manjaro/storage/z_release_archive/gnome) archive.
Vitor Lopes's avatar
Vitor Lopes committed
86 87 88 89 90
```

### Adding pages
(TODO)

Oğuz Kağan EREN's avatar
fix #97  
Oğuz Kağan EREN committed
91 92
## License

Oğuz Kağan EREN's avatar
Oğuz Kağan EREN committed
93
This project is licensed under the MIT License - see the [LICENSE.md](LICENSE) file for details
Oğuz Kağan EREN's avatar
fix #97  
Oğuz Kağan EREN committed
94