Skip to content

robsel118/RobertSeligmann

Repository files navigation

Logo

robert.seligmann.dev

Third version of robert.seligmann.dev built using Gatsby.js, styled-components, and remark. Hosted on GitHub Pages.


Github Page Status

preview

🔧 Quick start

  1. Install the Gatsby CLI

    npm install -g gatsby-cli
  2. Install dependencies

    yarn
  3. Start the development server

    yarn develop

🚀 Building and Running for Production

  1. Generate a full static production build

    yarn build
  2. Preview the site as it will appear once deployed

    yarn serve

📝 How to use this repository (Please read)

👉 Feel free to fork and use this repo for your own website, but with the proper attribution. As you know plagiarism is bad, I have spend quite some time on it (and still plan to improve it) and I am quite happy with it, so it would be saddening to see someone else claiming this work as their own work.

TL;DR => Use it as you will, but please give me proper credit by linking back to robert.seligmann.dev. Thanks!

Editing Content

All the content in the project can be changed by editing the MD files located in the content folder.

Adding New Content

New content can be added by creating a new MD file in the appropriate folder. For example to add a new article:

  1. Create a new folder inside content/articles
  2. Create a new index.md file, and add the frontmatter (see below)
  3. Add an image to the created folder (from step 1)
  4. Reference this image as your cover in the frontmatter
  5. Write your content below the frontmatter using Markdown (see this documentation to see how it is converted to HTML)

Frontmatter reference:

---
title: 'New adventure'
slug: '/path' 
bannerImage: './path-to-image.jpg'
bannerTitle: 'Center title displayed inside the image'
bannerSubTitle: 'Center subtitle displayed inside the image'
isBannerDark: true # set a different text color depending on if the background image is dark or not
---

# This markdown text will be converted to an HTML <h1> tag. 

Sample files have been created when appropriate, e.g. just duplicate the index.md.sample file in the folder, remove the .sample extension and edit the file.

Change your static folder

The static folder contains static files such as a resume other document you may want to share. These are then accessed via the url: www.your-website.com/static-file.extension. Don't forget to change these files, too!

🤔 Questions or problems?

If you come across any bugs or if you have any suggestions, please open up an issue on the main repository: robsel118/RobertSeligman. Thanks!


About

The third iteration of my personal website

Resources

License

Stars

Watchers

Forks