Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add x twitter #46

Merged
merged 4 commits into from
Jun 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 20 additions & 12 deletions readme.md → README.md
Original file line number Diff line number Diff line change
@@ -1,41 +1,49 @@
# openela.org website

The openela.org website is managed using `Hugo`. You can install it using your favorite package manager.
The openela.org website is managed using `Hugo`. You can install it using
your favorite package manager.

## Setup

Ensure you have the "Extended" version of Hugo, which includes features required by this repository.
Ensure you have the "Extended" version of Hugo, which includes features
required by this repository.

### Linux

Hugo is available in many package managers (but not EPEL, yet). Downloading the latest release binary from github is an easy option.
Hugo is available in many package managers (but not EPEL, yet). Downloading
the latest release binary from github is an easy option.

### Mac

`brew install go`
`brew install hugo`
`brew install sass/sass/sass`
`brew install go`
`brew install hugo`
`brew install sass/sass/sass`

## Building locally

To build the static site to the `public/` folder (i.e., for release) run `hugo`.
To build the static site to the `public/` folder (i.e., for release) run
`hugo`.

To run hugo in server mode and view the site in real time on your computer as you make updates, run `hugo server`
To run hugo in server mode and view the site in real time on your computer as
you make updates, run `hugo server`

By default this will run the service locally on http://localhost:1313/
By default this will run the service locally on http://localhost:1313/

## Adding Content

To add new content to the site, decide what type of content it is (announcement, blog, news), and run
To add new content to the site, decide what type of content it is
(announcement, blog, news), and run

```
hugo new content content/<type>/Post-Title-Separated-By-Dashes.md
```

For example, to create a new Blog post titled "My First Blog" with the url /blog/my-first-blog, you'd run
For example, to create a new Blog post titled "My First Blog" with the url
/blog/my-first-blog, you'd run

```
hugo new content content/blog/my-first-blog.md
```

Then, open the file and edit as required. Make sure to set the post to *not* be a draft before publishing it.
Then, open the file and edit as required. Make sure to set the post to *not*
be a draft before publishing it.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module openelf
module org.openela

go 1.20

Expand Down
4 changes: 2 additions & 2 deletions hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ params:
- link: https://github.com/openela
icon: brands fa-github
target: _blank
- link: https://twitter.com/@openelaorg
icon: brands fa-twitter
- link: https://x.com/@openelaorg
icon: brands fa-x-twitter
target: _blank
- link: https://fosstodon.org/@openela
icon: brands fa-mastodon
Expand Down
6 changes: 3 additions & 3 deletions static/fontawesome/css/brands.min.css

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions static/fontawesome/css/fontawesome.min.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions static/fontawesome/css/solid.min.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com
* Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
* Copyright 2023 Fonticons, Inc.
* Copyright 2024 Fonticons, Inc.
*/
:host,:root{--fa-style-family-classic:"Font Awesome 6 Free";--fa-font-solid:normal 900 1em/1 "Font Awesome 6 Free"}@font-face{font-family:"Font Awesome 6 Free";font-style:normal;font-weight:900;font-display:block;src:url(../webfonts/fa-solid-900.woff2) format("woff2"),url(../webfonts/fa-solid-900.ttf) format("truetype")}.fa-solid,.fas{font-weight:900}
4 changes: 2 additions & 2 deletions static/fontawesome/css/v4-font-face.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading