Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
isomeradmin committed Apr 17, 2024
0 parents commit a4b1ec4
Show file tree
Hide file tree
Showing 26 changed files with 639 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
*.gem
.bundle
.sass-cache
_site
Gemfile.lock
*.DS_Store
.DS_Store
node_modules
.jekyll-cache
.jekyll-metadata
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source "https://rubygems.org"

gem "isomer-jekyll", group: :jekyll_plugins
9 changes: 9 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Except for any logos, trade marks, service marks, names, insignias, emblems, the Singapore state crest and Singapore national coat of arms, as well as any other graphic, image or sound which is used to identify any Singapore public sector agency or is associated with any Singapore public sector agency, all contents of this repository are provided under the MIT License.

Copyright 2018 Government Technology Agency.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Welcome to Isomer Pages!

## Why Markdown and YAML?

Traditionally, in order to edit a website, one had to write in pure HTML. This is challenging for website administrators who had limited experience with HTML as it is not immediately readable or intuitive to non-experienced users.

Our team decided to go with Markdown (.md) – more human readable syntax – so as to empower non-technical website administrators.

While Markdown is appropriate for writing long segments of text, it alone does not allow users to edit small details of the website (e.g. change the hero-banner image) without diving into the HTML.

We therefore chose to supplement the Markdown syntax with YAML (.yml) – yet another human readable syntax.
48 changes: 48 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
title: Title
url: "" # the base hostname & protocol for your site, e.g. http://example.com
favicon: /images/favicon-isomer.ico

# Site colors
colors:
primary-color: '#6031b6'
secondary-color: '#4372d6'
media-colors:
- title: media-color-one
color: '#49759a'
- title: media-color-two
color: '#744d9f'
- title: media-color-three
color: '#00838f'
- title: media-color-four
color: '#00838f'
- title: media-color-five
color: '#00838f'

description: An Isomer site of the Singapore Government

##################################################################################################################
# Everything below this line is Isomer-specific configuration. There should not be a need to edit these settings #
##################################################################################################################
permalink: none
baseurl: ""
exclude: [travis-script.js, .travis.yml, README.md, package.json, package-lock.json, node_modules, vendor/bundle/, vendor/cache/, vendor/gems/, vendor/ruby/, Gemfile, Gemfile.lock]
include: [_redirects]
defaults:
- scope:
path: ""
values:
layout: "page"
# Custom CSS file path
custom_css_path: "/misc/custom.css"
custom_print_css_path: "/assets/css/print.css"
paginate: 12
remote_theme: isomerpages/isomerpages-template@next-gen
safe: false
plugins:
- jekyll-feed
- jekyll-assets
- jekyll-paginate
- jekyll-sitemap
- jekyll-remote-theme
staging: https://site-creation-base2-staging.netlify.app
prod: https://site-creation-base2-prod.netlify.app
10 changes: 10 additions & 0 deletions _data/footer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
contact_us: /contact-us/
show_reach: true
feedback:
faq: /faq/
social_media:
facebook: https://www.facebook.com/YourFBPage
twitter: https://www.twitter.com/YourTwitter
youtube: https://www.youtube.com/YourYoutube
instagram: https://www.instagram.com/your.insta/
linkedin: https://www.linkedin.com/company/YourAgency
15 changes: 15 additions & 0 deletions _data/navigation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
##################################
# #
# Feel free to edit this file :) #
# #
##################################

logo: /images/isomer-logo.svg

links:
- title: Contact Us
url: /contact-us/
- title: Example Page
url: /example-page/
- title: Example Folder
collection: example-folder
7 changes: 7 additions & 0 deletions _example-folder/collection.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
collections:
example-folder:
output: true
order:
- folder-page.md
- example-subfolder/.keep
- example-subfolder/subfolder-page.md
Empty file.
5 changes: 5 additions & 0 deletions _example-folder/example-subfolder/subfolder-page.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: Subfolder Page
permalink: /example-folder/example-subfolder/subfolder-page
third_nav_title: Example Subfolder
---
4 changes: 4 additions & 0 deletions _example-folder/folder-page.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: Folder Page
permalink: /example-folder/folder-page
---
1 change: 1 addition & 0 deletions files/.keep
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions images/.keep
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Binary file added images/favicon-isomer.ico
Binary file not shown.
Binary file added images/hero-banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
41 changes: 41 additions & 0 deletions images/isomer-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 32 additions & 0 deletions index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
layout: homepage
title: Isomer Site
description: Brief site description here
image: /images/isomer-logo.svg
permalink: /
notification: Here's a notification bar you can use!
sections:
- hero:
title: Hero title
subtitle: Hero subtitle
background: /images/hero-banner.png
button: Contact Us
url: /contact-us/
key_highlights:
- title: Highlight A
description: Important highlight A is important
url: https://google.com
- title: Highlight B
description: Important highlight B is equally important
url: https://gmail.com
- title: Page A
description: Page A is important too
url: /privacy/
- infobar:
title: Infobar title
subtitle: Subtitle
description: About a sentence worth of description here
button: Button text
url: /faq/
---

26 changes: 26 additions & 0 deletions misc/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
layout: skeleton
title: 404 Error
permalink: /404.html
---

<style type="text/css" media="screen">
.container {
margin: 10px auto;
max-width: 600px;
text-align: center;
}
h1 {
margin: 30px 0;
font-size: 4em;
line-height: 1;
letter-spacing: -1px;
}
</style>

<div class="container">
<h1>404</h1>

<p><strong>Page not found :(</strong></p>
<p>The requested page could not be found.</p>
</div>
Loading

0 comments on commit a4b1ec4

Please sign in to comment.