Giter Site home page Giter Site logo

conservationcolorado / conservationcolorado.github.io Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 44.78 MB

Conservation Colorado's technology blog, an inclusive, free, and trustworthy space!

Home Page: https://tech.conservationco.org/

License: GNU General Public License v3.0

JavaScript 9.00% SCSS 40.31% HTML 50.69%
blog html-css-javascript hugo inclusive nonprofit-organizations

conservationcolorado.github.io's Introduction

Node.js CI Build and deploy tech.conservationco.org

Conservation Colorado's Technology Blog

Image preview of tech.conservationco.org open on multiple devices

Welcome! This repository contains code for Conservation Colorado's technology blog, tech.conservationco.org.

We use this inclusive, free, and trustworthy space to share ways you can better use technology in your work. We also showcase ways we solve problems within the organization using software engineering and technology!

This site is built using HTML, SCSS, JavaScript, and Hugo (Doks starter theme).

Running the site locally

There are a few ways to get a local copy of this repository. You can use the git command in your terminal, if you have it installed:

git clone [email protected]:ConservationColorado/conservationcolorado.github.io      # over SSH
git clone https://github.com/ConservationColorado/conservationcolorado.github.io  # over HTTPS

You can also use wget:

wget -Q https://github.com/ConservationColorado/conservationcolorado.github.io/archive/refs/heads/main.zip && unzip -q main.zip

Alternatively, you can download a .zip file containing of the main branch at this link, then extract the contents with your operating system's file explorer.

Then, you'll want to install dependencies using npm:

npm install

Finally, to start the server locally on http://localhost:1313, use the npm start script:

npm run start

Note If you already have a server listening on :1313, Hugo will select another random available port. Check your console output for more details.

Deployment

The latest revision of the site is built and deployed automatically on push to main. It's available online at tech.conservationco.org!

Creating pages

Blog posts

To create a blog post, run the npm create script:

npm run create blog/your-post-title/index.md

All English blog posts are stored in the ./content/en/blog/ directory.

Glossary entries

To create a glossary entry, run the npm create script:

npm run create glossary/your-glossary-entry.md

All English glossary entries are stored in the ./content/en/glossary/ directory

To include that glossary entry with a hoverable tooltip in text, use the following shortcode in a Markdown file:

{{< glossary-tooltip id=your-glossary-entry >}}

conservationcolorado.github.io's People

Contributors

dependabot[bot] avatar oliverabdulrahim avatar

conservationcolorado.github.io's Issues

Make images the same aspect ratio

Issue

Images appear unevenly when rendered in cards because of differing aspect ratios. This looks OK on larger screens but can look jarring on a medium-sized display before the cards flow into a vertical format for smaller displays.

Image of the issue on a small screen

image

Image of the same place on a larger screen

image

Solution

Enforce a standard image aspect ratio; easiest would be to just crop the images themselves.

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.