Skip to the content.

Logo

SiteG - A static site generator

Create and manage your site easily!
Home

View Demo · Report Bug


Table of Contents

Note: Go through this page: click me before moving forward because you will only learn some important rules and procedures available in SiteG.
Some Rules:

1. Home Banner

Home Banner Subtitle

Hiting Enter will result in break of line.
Example: Screenshot Result:
Screenshot

2. About Me

Your introduction

Hiting Enter will result change in paragraph.
Example: Screenshot Result:
Screenshot

3. Contact Form

SiteG supports google form. So to include google form, you will need to follow some steps. Let’s see how.

  1. Open this link. Google Forms
  2. Click Blank to get a new form. Screenshot
  3. First input should be like this. Screenshot
  4. The whole form should look like this. Screenshot
  5. Now get the link of the form. Click the send button.
    Screenshot
  6. Copy the link from here. Screenshot
    Replace /viewform to /formResponse in the link. It should look like https://docs.google.com/forms/d/e/<form-id>/formResponse. Paste it in the action input of contact section Screenshot
  7. For rest of inputs, paste the copied link in new tab of browser and Hit Ctrl+Shift+I to open inspector and Focus on search HTML as shown in red box.
    Screenshot Now, search for “entry.” and you will see like this. Screenshot

    First one is for name
    Second one is for email
    Third one is for message

Hurray! Form can now be submitted from your site.

4. Posts

Screenshot

Click Go to Posts to post or edit articles. After clicking it, you will go to Category section. Category is here just to tell people what kind of posts you are writing.

Screenshot

Add a category and click it to go to post section.

Screenshot

If you want to delete or rename it, just right-click the category folder.

Screenshot See!! Its that simple. Now, Let’s add new post.

Screenshot

Click it and you will see a window like below: Screenshot

In Post Setup, you can write short descriptions and keywords about the post.

Next is Image for the post. Here, you have to add the images you want to add in the post article.

Third is Markdown Editor. You can write post in markdown format. Also enabling Allow HTML will allow you to write in html format. You can learn to write markdown from Common Mark. As it supports syntax from Common Mark, I would recommend learning from there. It’s so easy and interesting than writing normal documents. :happy:

A demo file is already loaded in the editor to help you.

Things you need to know while writing markdown:

  1. Heading: Do not use Heading 1. Start from Heading 2 and so on.
  2. Image: For uploading image from your PC, First upload the image in Image for the post. Then, copy the link generated below the added image and paste the link with image syntax in markdown. I will show a demo.

    • Upload the image
      Screenshot
    • Get File Path
      Screenshot
    • Go to Markdown Editor below and hit Ctrl+SPACE to get image snippet.
      Screenshot
    • Now hitting Enter will produce a img code like this.
      Screenshot
    • Replace alttext with image description and press TAB. and give post id and image id. In this example, post-id is 1 and image-id is 1. Now it should look like this.
        ![Chair made on blender](/posts/images/1/1-1.jpg "Chair 3D model")
      

5. For modification

If you want to edit the site layout, go to the siteg location and navigate to:

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Amrit Aryal - @amritaryal44 - [email protected]

Project Link: https://github.com/amritaryal44/siteG