doyouspeakrowing
v1.0.2
Published
Creative is a stylish one page HTML theme built with Bootstrap.
Downloads
4
Maintainers
Readme
Bootstrap - Multilingual glossary
Multilingual glossary is a one page, website theme built with Bootstrap to present a glossary in multiple languages
Preview
Status
Download and Installation
To begin using this template, choose one of the following options to get started:
- Install using npm:
npm i doyouspeakrowing
- Clone the repo:
git clone https://github.com/DoYouSpeakRowing/doyouspeakrowing.github.io.git
- Fork, Clone, or Download on GitHub
Usage
Basic Usage
After downloading, simply edit the HTML and CSS files included with dist
directory. These are the only files you need to worry about, you can ignore everything else! To preview the changes you make to the code, you can open the index.html
file in your web browser.
Advanced Usage
Clone the source files of the theme and navigate into the theme's root directory. Run npm install
and then run npm start
which will open up a preview of the template in your default browser, watch for changes to core template files, and live reload the browser when changes are saved. You can view the package.json
file to see which scripts are included.
npm Scripts
npm run build
builds the project - this builds assets, HTML, JS, and CSS intodist
npm run build:assets
copies the files in thesrc/assets/
directory intodist
npm run build:pug
compiles the Pug located in thesrc/pug/
directory intodist
npm run build:scripts
brings thesrc/js/scripts.js
file intodist
npm run build:scss
compiles the SCSS files located in thesrc/scss/
directory intodist
npm run clean
deletes thedist
directory to prepare for rebuilding the projectnpm run start:debug
runs the project in debug modenpm start
ornpm run start
runs the project, launches a live preview in your default browser, and watches for changes made to files insrc
You must have npm installed in order to use this build environment.
Adding new languages
It is very easy to add new languages in this glossary simply add a .csv file in the src folder. here are examples of this file for english or french. Note that the file naming convention is either dico-<language>-<country>.csv or dico-<language>.csv (based on iso 639 language codes and iso 3166 country codes). Use the former (e.g dico-en-gb.csv) when country and language code differ and the latter when they are the same (e.g dico-fr.csv). The country code is used to detemine the flag in language selection dropdown.
Bugs and Issues
Have a bug or an issue with this template? Open a new issue here on GitHub.
About
This theme is an open source library and is released under the MIT license, which means you can use it for any purpose, even for commercial projects.
It is based on the Bootstrap framework created by Mark Otto and Jacob Thorton. It was derived from StartBootstrap creative created by David Miller The csv to json conversion code in js is re-used from Flatfile
Rowing glossary content
The rowing terms published in this theme have been consolidated from the following sources:
- source1
- source 2 ...
Copyright and License
Copyright 2022 DoyouspeakRowing. Code released under the MIT license.