Code Monkey home page Code Monkey logo

rockylinux.org-hugo's Introduction

rockylinux.org

Website Translation status pre-commit.ci status

The Rocky Linux landing page, built using Hugo and TailwindCSS.

Requirements

Installing Dependencies

Dependencies can be installed for you by simpling running npm install within the repo directory.

Start the Development Server

hugo server

Build site

hugo

Contributing

We welcome your contributions! Please refer to our contributing policies prior to submitting pull requests.

rockylinux.org-hugo's People

Contributors

aerfanr avatar bittin avatar c2s avatar cberyellowstone avatar cho2 avatar danieltharp avatar dmarmelo avatar domingoruiz avatar enmanuelmoreira avatar fabaff avatar florisbrunet avatar foggymtndrifter avatar g3vxy avatar hbjydev avatar heinkhantzaw avatar migueldiez avatar mrteam avatar nicrame avatar opera7133 avatar pre-commit-ci[bot] avatar pwtsai avatar raven-kg avatar rbouikila avatar rlhennig avatar sckn avatar sergecroise avatar sherifnagy avatar thorian93 avatar valentinouberti avatar wusung avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rockylinux.org-hugo's Issues

promote link to forums in the top navbar

Is your feature request related to a problem? Please describe.

dscoverability of forums

Describe the solution you'd like

Place Forums link in the navbar with Posts and Documentation

Describe alternatives you've considered

N/A, exists in bottom icon navbar

Additional context

Screenshot from 2021-01-04 20-01-10

Comment system implementation

Is your feature request related to a problem? Please describe.

For our post system we need a system that manages comments. Ideally, look for an alternative that does not require a server or maintenance on our part.

Describe the solution you'd like
I propose Disqus. It is very easy to implement, with only a few lines, and the result is very good.

Screenshot 2020-12-25 at 11 10 05

Sponsor bar colour incorrect

Describe the bug

The sponsors bar is the same on light theme as it is on dark theme.

Expected behavior

The sponsors bar should be the same colour as the "What is the Rocky Linux Project?" section

Screenshots

image

Device Information

Desktop (please complete the following information):

  • OS: Windows
  • Browser: Edge (Chromium)
  • Version: 88.0.705.50

Language Picker Dropdown Doesn't Work

Describe the bug

When trying to change the language via the dropdown at the bottom of the page, nothing happens.

To Reproduce

Steps to reproduce the behavior:

  1. Select an option from the dropdown

Expected behavior

To switch the language on the site.

Screenshots

image

Add Issue + PR templates

I guess there should be templates for opening issues and creating pull requests as it enhances the workflow of the repository.

Static Content

Is your feature request related to a problem? Please describe.

We're reaching a point where we need to start having other pages and a blog of some sort.

Describe the solution you'd like

We need to implement a static content section of the page for blog posts, pages, etc. that Hugo will build for us with each release.

Describe alternatives you've considered

  • A separate blog site that isn't statically generated. (problem -- Security team don't think it's worth the trouble, and I agree)
  • A headless CMS we can connect to from our frontend (problem -- would require JavaScript)

Additional context

There were discussions in our core channel about wanting a microblog or blog system of sorts for status updates, but being the core channel I can't link to that here.

Social media icon colors

Social media icons in light mode are a little bit too light and washed out. We might want to make them slightly darker.

license issue

since it is linux it cannot be BSD 3 clause it has to be only GPLv2 Only since it forks from Linux Kernel

WeblateOrg for translations

Hi. I have been searching the internet and I have found a free application that could help us with translations. This is WeblateOrg and I think it would be worth taking a look at it.
https://github.com/WeblateOrg/weblate

@domingoruiz

I think weblate could be a way to go as the Fedora Project is using it and Fedora is the upstream. I mentioned some projects in the forum which are using different solutions.
The Fedora Project started with cvs and intltool, went to Transifex, Zanata and is using weblate now.

@fabaff


This should be investigated. If it works well for Fedora, I'm interested in seeing how it works and if it would benefit us.

I'm not putting a deadline or anything on this, but it should be look into relatively soon because we're rapidly approaching a point where maintaining language files for every piece of text on our site is going to become unsustainable.

i18n Megathread

This is a meta-issue for adding new langues to keep the organizational overhead to a minimum.

The Contributing guidelines says to open an issue before creating a PR. If you want to add a new language then please link to this issue.

Multilanguage site

Hi. I think we need to make our website multilanguage to reach more people. We could adapt the site to be multilanguage, and then ask the community to provide us with translations. I could take care of managing it, in case it is so, assign me the issue.

Thanks you.

Bye

Icon improvements for RTL

Currently, the social icons in the footer have some spacing issues when in RTL, I'm creating this issue for tracking while I work on improvements.

Portuguese translation needs new PR to be re-tested

After testing before making new changes live, we discovered that the Portuguese language resulted in a 404 error and wasn't immediately resolvable. Hugo gave the error, WARN 2020/12/13 10:32:33 Failed to get translated string for language "pt". If you want to get this re-tested @dmarmelo, please do a new pull request to the develop branch with the translations so we can check it out.

Language picker doesn`t work

Hi. My default language is Spanish, but when I change it for English the site appears in Spanish. I don't know what will be happening

Changing Language around CentOS

From @brianclemens:

@hbjydev: Small request for the www team: let's change the language from "shifted direction" to "effectively ended". I'd like to be clear about CentOS's fate and I don't want to propagate Red Hat's spin on it.

Assigning to @hbjydev since the message was targeted directly to him

UX - language switcher must use language-native names, and should have graphic indicator

Currently, language switcher uses English language names for language naming. It also has no visual indicator to indicate this is a language switcher.

For a non-English speaker there is no way to determine that "Language" selector is in fact designed to switch locale. The same issue is with the language names - not everyone is expected to know Russian stands for Russian language, because of use of the Cyrillic alphabet, where Russian and Русский is not that similar.

  1. Native language names should be used for language switcher - ex. "Français" for French.
  2. Language switcher should have an icon - for example, using http://www.languageicon.org or another similar visual indicator, such as globe icon, etc.

Incompatible small screen display in the donation page

Describe the bug

The page is not fit and also can not scroll from right to left and vice versa in small screen size in the portrait mode in but it looks good with the landscape option in the same mobile

To Reproduce

Steps to reproduce the behaviour:

  1. Go to https://rockylinux.z2systems.com/np/clients/rockylinux/donation.jsp
    Using a mobile phone
  2. Check the display on small screens size

Screenshots

image

image

Device Information

Smartphone (please complete the following information):

  • Device: iPhone11
  • OS: [e.g. iOS14.3
  • Browser: safari, firefox
  • Versions:latest on 1/20/2021

Implement CSP

Is your feature request related to a problem? Please describe.

It's been suggested to implement a content security policy on the site to protect against injections.

Describe the solution you'd like

While this rarely occurs on static sites, it wouldn't hurt to implement it.

RSS feed disoverability

Is your feature request related to a problem? Please describe.

The RSS feed for the News page is not easily accessible.

Describe the solution you'd like

Maybe, a classic RSS feed button could be added somewhere in the News page.

Describe alternatives you've considered

I think most RSS readers automatically extract the feed URL from a generic URL, but since that's not always the case I also think it's reasonable to make the RSS feed link easily discoverable within the website itself.

Right-to-Left support

There is no Right-to-Left support and currently, Persian and Arabic translations are not readable.
This is easily fixable by adding auto direction to HTML elements.
I have already done the fix in a forked repo and I am ready to submit a PR.

Hardcoded social links

Hi,
since #7 was only a quick and dirty minimalistic fix of #6 and is not treating the whole problem of hardcoded URLs in general I'm creating another issue.

The same issue exists with all the social links like: twitter, reddit, forum, etc.

In addition to that I really don't understand why #7 was preferred over #5 which seems much better to me.

BR Dennis

i18/de typo

Describe the bug

There are two typos in german language in the i18n de file:

Stragegie-Wechsel => Strategie-Wechsel
das zu 100% Bug-for-Bug-kompatibel => 100% Bug-für-Bug-kompatibel

I already fixed this in my fork. According to your contributing guide - let me know if I can create a PR against the development branch.

To Reproduce

Steps to reproduce the behavior:
Open the page and read:D

Expected behavior

See above.

Additional context (Please delete this if there's no additional context):
Add any other context about the problem here.

Some Japanese translation are unnatural

There are some unnatural japanese.
e.g.

  • "Forums" -> "フォーラム". But "Forums" is correct because of proprietary noun.
  • "So where does Rocky Linux come in?" -> "Rocky Linuxはどの場所に位置しますか?".
    This asks "Rocky Linux's location.", but correct meaning should be "Rocky Linux's role".

Internationalisation doesn't work on the static content system

Describe the bug

In the new static branch multilanguage does not work. The site starts up, and you can see the home page in all languages, but when you enter the post section, a 404 error appears in all languages ​​except English.

To Reproduce

Steps to reproduce the behavior:

  1. Hugo server
  2. Choose any language other than English.
  3. Click on post.

Add a sponsors page

A number of organizations are offering to sponsor or otherwise support Rocky (such as Naver, and Mattermost), and have requested a way for us to indicate that on the site. Potential example of what something like this might look like: https://mattermost.com/customers/

Can we please get something similar implemented over at https://rockylinux.org? Thank you

Installation instruction for landing page dependencies advises insecure behaviour

The README.md for the landing page features unsightly advice to just wget the dependencies and put them into /usr. While technically this works, it is neither secure nor elegant. Posting instructions like that will undermine credibility of the project.

First question that comes to mind, is: is it really necessary to manually download nodejs 14.15? Is the nodejs:14 module, currently present in RHEL/CentOS 8 and providing nodejs 14.11 not enough? That could be easily installed (and later updated) with dnf.

If 14.15 is really needed, then the instructions should advise to verify integrity of the archive at least.

Btw. /usr/bin is not the correct place for installation of third-party software.

Fix FR translation

This issue is related to #33. There is a little typo in i18n/fr.toml where a word is not correctly accorded:

...une distribution Linux de qualité professionnelle, prêt pour la production.

prêt should be accorded to distribution which is a feminine word (in French).

Accordingly to your contributing guidelines I didn't created a PR but everything is ready on my side.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.