GithubHelp home page GithubHelp logo

adoptium / blog.adoptium.net Goto Github PK

View Code? Open in Web Editor NEW
6.0 14.0 12.0 45.28 MB

The official Adoptium Blog

Home Page: https://blog.adoptium.net

License: Apache License 2.0

JavaScript 98.25% CSS 1.75%
gatsby blog adoptium eclipse openjdk

blog.adoptium.net's Introduction

⚠ DEPRECATION NOTICE ⚠

Development of this blog has now moved to adoptium/adoptium.net. This blog is no longer live at https://blog.adoptium.net and a redirect has been setup to direct existing traffic to https://adoptium.net/blog. No additional pull requests will be accepted in this repository.

Prerequisites

  1. Install dependencies, run npm install in the root directory of the repository.

Adding Content

  1. Create a folder in blog that is named after your post's title. Slugify the title if it's more than a single word. Example: hello-world.
  2. Create a file called index.md in the directory you just created (blog/hello-world).
  3. Add the required metadata at the beginning of the file
    ---
    title: Hello World
    date: "2020-04-21T12:20:00+00:00"
    author: janedoe
    featuredImage: "./featured_image.png" (optional)
    ---
    
    title is the title of your post as it appears on the website. date is the ISO 8601 timestamp of the publication date (date -u +"%Y-%m-%dT%H:%M:%SZ" generates that for you on the command line) and author the identifier of the author as specified in the authors.json. featuredImage (optional) the relative path to the featured image.
  4. Write your post in Markdown. Save any images in the folder of your post alongside the index.md. Put the biggest resolution in there that you have. Responsive images will automatically be generated for you.

To preview your post, start the local development server by running gatsby develop in the root directory of the repository.

WARNING: The RSS feed is only generated in production mode: gatsby build && gatsby serve.

Editing Conventions

Excerpts

On the front page, we only display excerpts and not full posts. By default, Gatsby will shorten your post automatically, which might yield unsatisfactory results. To control that behaviour, add a field description with the text you want to see on the front page in the frontmatter of your post (metadata delimited with --- at the beginning of your post).

Images with Captions

To add captions to your images, use the following structure:

![Alt text](./image.jpg)
*Your caption here* 

Our CSS will take care of rendering it correctly by looking for img + em.

Example:

![Photo depiciting a drop of water](./clean-drop-of-water-liquid.jpg)
*AQA v1.0  is a first drop in an on-going series of improvements.* 

Quotes

> Quote
> 
> <cite>Name of the person</cite>

Example:

> When the Well is Dry, We’ll Know the Worth of Water.
> 
> <cite>Benjamin Franklin</cite>

Guest Posts

Right after the front matter, add the following snippet to introduce the person that wrote the post:

<GuestPost>
    Some introductory text
</GuestPost>

This is going to render as:

<p className="guestpost">
    <em>Some introductory text – Adoptium Team</em>
</p>

Example:

<GuestPost>
    This a guest post by <a href="https://www.linkedin.com/in/weitzelm/">Mark Weitzel</a>, General Manager, New Relic One at New Relic.
</GuestPost>

Note: Markdown is not supported within <GuestPost/>. This is a limitation of MDX v1 and fixed in MDX v2 which is currently being developed.

Adding Authors

  1. Create an entry in content/authors.json. Structure:
    {
        "janedoe": {
            "name": "Jane Doe",
            "summary": "Some info about Jane",
            "twitter": "Jane's Twitter handle",
            "github": "Jane's GitHub username"
        }
    }
  2. Your profile picture comes from github but this can be changed by adding a profile picture in content/assets/authors. If the key in the authors.json is janedoe, name the image file janedoe.jpg.

blog.adoptium.net's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

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

blog.adoptium.net's Issues

Setup DNS

We are now ready to setup the DNS for the netlify app to point to blog.adoptium.net @chrisguindon please can you get this setup?

Linter failure. Error message: error Gatsby requires Node.js 18.0.0 or higher (you have v14.20.1).

Hello,

The Linter check of my recent PR #197 failed: https://github.com/adoptium/blog.adoptium.net/actions/runs/3457975148/jobs/5771930669

From the log, I think we need to bump the node version or lock the version of gatsby-cli in the workflow.

The 'Install Gatsby CLI' section shows the version of gatsby-cli is 5.0.0:

> [email protected] postinstall /opt/hostedtoolcache/node/14.20.1/x64/lib/node_modules/gatsby-cli
> node scripts/postinstall.js

According to the release note[1] of gatsby-cli 5.x, said users need to upgrade Node to 18.

Anyone can help this problem?

[1] https://www.gatsbyjs.com/docs/reference/release-notes/v5.0/

Write up a short EclipseCon trip report

Include a few notes on Community day, Adoptium panel and SBOM talk as well as links to the recorded material when it becomes available on the EF youtube channel

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.