Coder Social home page Coder Social logo

froggyflox / rockstor-website Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rockstor/rockstor-website

0.0 1.0 0.0 4.53 MB

Main rockstor.com webpage. As a community endeavour we welcome contributions / corrections. Be sure to add your name to the AUTHORS file when submitting changes.

License: Other

HTML 13.20% CSS 86.80%

rockstor-website's Introduction

Contributions

This repo is periodically published to:

rockstor.com

For contribution guidelines, see: Contributing to Rockstor documentation. For content additions/changes please stick to one sentence per line as this helps with translations and reviews of changes. Really long sentences may be broken at punctuation points. See Semantic Linefeeds which sites Brian W. Kernighan (1974). Our EULA content is the one exception: to aid in tracking upstream.

Our privacy_policy has "... no cookies are used." for this site. So we cannot include such things as for example the Hugo YouTube embed build-in shortcode. Even with "privacyEnhanced = true" our visitors will still incur cookies. Instead use "See YouTube video-title-as-watch-link". See: https://gohugo.io/about/hugo-and-gdpr/

Debug build

The minimum version of Hugo required is indicated in the top level config file "config.toml". Be sure to increase this value if a newer Hugo feature is used. See the Install Hugo doc section for how to run Hugo locally. You can then build and test your changes locally by running (in the top directory of this repo):

hugo server -D

The local http site generated is usually at: http://localhost:1313/ and the baseURL config is ignored for this preview.

Adding new content via archetypes

Hugo has archetypes intended to ease the initial creation (primarily of front-matter) of new content. Example:

hugo new partners/zulip.md

Results in a new content/partners/zulip.md file complete with the appropriate front matter.

Sizing partner icons

Borrowing from the excellent guidelines provided by Zulip, an existing Partner, we have:

rsvg-convert -h 60 zulip-org-logo.svg -o zulip-org-logo-60.png

Final build

The production build is generated by the following command:

hugo

Which creates and populates the intended document root content under ./public/. Note that pre-existing files in ./public are not removed. So it is best to first delete any prior ./public directory before running this command.

Current State

The contents represents our Hugo re-do our our prior existing web-site, and is a work in progress. There is no additional theme requirement as we have our own custom layout for all elements; developed from scratch. If you see any anomalies or Hugo inelegancies/errors then please consider contributing a pull request.

History

This website was initially developed using a Python based static site generator believed to be hyde. Things happened and likely required modifications out grew the generator and we were left with a semi machine generated mess. In time we then transitioned to Hugo using our own layout files, i.e. no external theme. This was done primarily to aid maintenance/use and to include our website development in our community endeavours.

Hopes

We want to add French & European Portuguese etc translations. But we must first enable and configure Hugo's built-in multi lingual capabilities. This is to be tackled in a dedicated GitHub issue. If you are game to offer any translations then please be patient as we work towards this capability.

rockstor-website's People

Contributors

phillxnet avatar

Watchers

 avatar

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.