Software Alternatives & Reviews

Building a flat-file CMS with Angular

Unsplash Bulma
  1. Unsplash is a website with high-quality free HD images. It has a catalog of more than three hundred thousand striking images that are neatly organized with tags. Read more about Unsplash.
    Pricing:
    • Open Source
    Since I wanted to have thumbnails for each post (the file it uses is defined by the thumbnail field in the front matter), I decided to add some code that copies the files from our posts folder to the assets folder in Angular. This way, we can easily reference them in our Angular code. However, some of the image files I would download from Unsplash.com (fantastic public domain images btw) were huge and would take a few seconds to load in the browser. So, I delegated this task to gulp, where the files would first be piped to imagemin and then copied to the assets folder. This optimized the images for faster load times. My gulpfile.mjs looks like this:.

    #Photos & Graphics #Image Marketplace #Vector Art 487 social mentions

  2. 2
    Bulma is an open source CSS framework based on Flexbox and built with Sass. It's 100% responsive, fully modular, and available for free.
    Pricing:
    • Open Source
    So, our post.component.html component is the generic page where all posts will have their content loaded. Here, the classes are from the Bulma CSS framework, and the template looks like this:.

    #CSS Framework #Development Tools #Design Tools 109 social mentions

Discuss: Building a flat-file CMS with Angular

Log in or Post with