From 547310b0d524ecd7b1f2a552dd048e56f04b97ff Mon Sep 17 00:00:00 2001 From: James Friel Date: Thu, 28 Mar 2024 11:22:54 +0000 Subject: [PATCH] attempt to use template --- docs/_config.yml | 334 ++++++++++++++++++++++++++++--------- docs/_pages/spalsh-page.md | 67 ++++++++ 2 files changed, 325 insertions(+), 76 deletions(-) create mode 100644 docs/_pages/spalsh-page.md diff --git a/docs/_config.yml b/docs/_config.yml index 3da6a50c40..ea8b4109af 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -1,92 +1,174 @@ # Welcome to Jekyll! # -# This config file is meant for settings that affect your whole blog, values -# which you are expected to set up once and rarely edit after that. If you find -# yourself editing this file very often, consider using Jekyll's data files -# feature for the data you need to update frequently. -# +# This config file is meant for settings that affect your entire site, values +# which you are expected to set up once and rarely need to edit after that. # For technical reasons, this file is *NOT* reloaded automatically when you use -# 'bundle exec jekyll serve'. If you change this file, please restart the server process. - -# Site settings -# These are used to personalize your new site. If you look in the HTML files, -# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on. -# You can create any custom variable you would like, and they will be accessible -# in the templates via {{ site.myvariable }}. -title: MM -email: -description: >- # this means to ignore newlines until "baseurl:" - Write an awesome description for your new site here. You can edit this - line in _config.yml. It will appear in your document head meta (for - Google search results) and in your feed.xml site description. -twitter_username: username -github_username: username -minimal_mistakes_skin: default -search: true - -# Build settings -markdown: kramdown -remote_theme: mmistakes/minimal-mistakes -# Outputting -permalink: /:categories/:title/ -paginate: 5 # amount of posts to show -paginate_path: /page:num/ -timezone: # https://en.wikipedia.org/wiki/List_of_tz_database_time_zones +# `jekyll serve`. If you change this file, please restart the server process. -include: - - _pages +remote_theme : "mmistakes/minimal-mistakes@4.24.0" -# Exclude from processing. -# The following items will not be processed, by default. Create a custom list -# to override the default setting. -# exclude: -# - Gemfile -# - Gemfile.lock -# - node_modules -# - vendor/bundle/ -# - vendor/cache/ -# - vendor/gems/ -# - vendor/ruby/ +minimal_mistakes_skin : "default" # "air", "aqua", "contrast", "dark", "dirt", "neon", "mint", "plum", "sunrise" -# Plugins (previously gems:) -plugins: - - jekyll-paginate - - jekyll-sitemap - - jekyll-gist - - jekyll-feed - - jemoji - - jekyll-include-cache +# Site Settings +locale : "en-UK" +title : "RDMP" +# title_separator : "-" +# subtitle : "A Jekyll theme" +name : &name "RDMP" # &name is a YAML anchor which can be *referenced later +description : &description RDMP is a free, open source software application for cohort building, loading, linking, anonymisation and extraction of datasets stored in relational databases" +url : https://hicservices.github.io/RDMP/ # the base hostname & protocol for your site e.g. "https://mmistakes.github.io" +baseurl : "/minimal-mistakes" # the subpath of your site, e.g. "/blog" +repository : "hicservices/RDMP" +teaser : # path of fallback teaser image, e.g. "/assets/images/500x300.png" +logo : # path of logo image to display in the masthead, e.g. "/assets/images/88x88.png" +masthead_title : # overrides the website title displayed in the masthead, use " " for no title +# breadcrumbs : false # true, false (default) +words_per_minute : 200 +atom_feed: + path : # blank (default) uses feed.xml + +# search : true # true, false (default) +# search_full_content : true # true, false (default) +# search_provider : algolia # lunr (default), algolia +# algolia: +# application_id : QB6HVGBSBA # YOUR_APPLICATION_ID +# index_name : minimal_mistakes # YOUR_INDEX_NAME +# search_only_api_key : 9d5014e5bbc77372547bce778dfa5663 # YOUR_SEARCH_ONLY_API_KEY +# powered_by : true # true (default), false +# files_to_exclude: +# - _posts/2017-11-28-post-exclude-search.md + +# SEO Related +# google_site_verification : "UQj93ERU9zgECodaaXgVpkjrFn9UrDMEzVamacSoQ8Y" # Replace this with your ID, or delete +# bing_site_verification : +# naver_site_verification : +# yandex_site_verification : +# baidu_site_verification : + +# Social Sharing +twitter: + username : &twitter "Dataonamission" +og_image : "/assets/images/site-logo.png" # Open Graph/Twitter default site image +# For specifying social profiles, used in _includes/seo.html +# - https://developers.google.com/structured-data/customize/social-profiles +social: + type : # Person or Organization (defaults to Person) + name : # If the user or organization name differs from the site's name + links: # An array of links to social media profiles + - "https://twitter.com/Dataonamission" + +# Analytics +# analytics: +# provider : "google-universal" # false (default), "google", "google-universal", "google-gtag", "custom" +# google: +# tracking_id : "UA-2011187-3" # Replace this with your ID, or delete +# anonymize_ip : true -author: - name : "First Lastname" - avatar : "/assets/images/bio-photo.jpg" - bio : "My awesome biography constrained to a sentence or two goes here." - links: - - label: "Website" - icon: "fas fa-fw fa-link" - url: "https://" - - label: "Twitter" - icon: "fab fa-fw fa-twitter-square" - url: "https://twitter.com/" - - label: "GitHub" - icon: "fab fa-fw fa-github" - url: "https://github.com/" - - label: "Instagram" - icon: "fab fa-fw fa-instagram" - url: "https://instagram.com/" +# Site Author +# author: +# name : *name # *name is a YAML reference pointing to the &anchor earlier +# avatar : "/assets/images/michael-rose.jpg" +# bio : "Just another *boring*, *tattooed*, *time traveling*, *designer*." +# location : "Buffalo, NY" +# links: +# - label: "Made Mistakes" +# icon: "fas fa-fw fa-link" +# url: "https://mademistakes.com" +# - label: "Twitter" +# icon: "fab fa-fw fa-twitter-square" +# url: "https://twitter.com/mmistakes" +# - label: "GitHub" +# icon: "fab fa-fw fa-github" +# url: "https://github.com/mmistakes" +# - label: "Instagram" +# icon: "fab fa-fw fa-instagram" +# url: "https://instagram.com/mmistakes" + + +# Site Footer footer: links: - label: "Twitter" icon: "fab fa-fw fa-twitter-square" - url: "https://twitter.com/" - - label: "GitHub" - icon: "fab fa-fw fa-github" - url: "https://github.com/" - - label: "Instagram" - icon: "fab fa-fw fa-instagram" - url: "https://instagram.com/" + url: "https://twitter.com/dataonamission" + - label: "HIC Services" + icon: "fab fa-fw fa-link" + url: "https://www.dundee.ac.uk/hic" + + +# Reading Files +include: + - .htaccess + - _pages +exclude: + - "*.sublime-project" + - "*.sublime-workspace" + - vendor + - .asset-cache + - .bundle + - .jekyll-assets-cache + - .sass-cache + - assets/js/plugins + - assets/js/_main.js + - assets/js/vendor + - Capfile + - CHANGELOG + - config + - Gemfile + - Gruntfile.js + - gulpfile.js + - LICENSE + - log + - node_modules + - package.json + - Rakefile + - README + - tmp +keep_files: + - .git + - .svn +encoding: "utf-8" +markdown_ext: "markdown,mkdown,mkdn,mkd,md" + + +# Conversion +markdown: kramdown +highlighter: rouge +lsi: false +excerpt_separator: "\n\n" +incremental: false + + +# Markdown Processing +kramdown: + input: GFM + hard_wrap: false + auto_ids: true + footnote_nr: 1 + entity_output: as_char + toc_levels: 1..6 + smart_quotes: lsquo,rsquo,ldquo,rdquo + enable_coderay: false + +# Collections +collections: + docs: + output: true + permalink: /:collection/:path/ + recipes: + output: true + permalink: /:collection/:path/ + pets: + output: true + permalink: /:collection/:path/ + portfolio: + output: true + permalink: /:collection/:path/ + + +# Defaults defaults: # _posts - scope: @@ -106,10 +188,110 @@ defaults: values: layout: single author_profile: true + # _docs + - scope: + path: "" + type: docs + values: + layout: single + read_time: false + author_profile: false + share: false + comments: false + sidebar: + nav: "docs" + # _recipes + - scope: + path: "" + type: recipes + values: + layout: single + author_profile: true + share: true + comments: true + # _pets + - scope: + path: "" + type: pets + values: + layout: single + author_profile: true + share: true + comment: true + # _portfolio + - scope: + path: "" + type: portfolio + values: + layout: single + author_profile: false + share: true + + +# Sass/SCSS +sass: + sass_dir: _sass + style: compressed # http://sass-lang.com/documentation/file.SASS_REFERENCE.html#output_style + + +# Outputting +permalink: /:categories/:title/ +# paginate: 5 # amount of posts to show +# paginate_path: /page:num/ +timezone: America/New_York # https://en.wikipedia.org/wiki/List_of_tz_database_time_zones + +# Plugins (previously gems:) +plugins: + - jekyll-paginate + - jekyll-sitemap + - jekyll-gist + - jekyll-feed + - jemoji + - jekyll-include-cache + +# mimic GitHub Pages with --safe +whitelist: + - jekyll-paginate + - jekyll-sitemap + - jekyll-gist + - jekyll-feed + - jemoji + - jekyll-include-cache + + +# Archives +# Type +# - GitHub Pages compatible archive pages built with Liquid ~> type: liquid (default) +# - Jekyll Archives plugin archive pages ~> type: jekyll-archives +# Path (examples) +# - Archive page should exist at path when using Liquid method or you can +# expect broken links (especially with breadcrumbs enabled) +# - /tags/my-awesome-tag/index.html ~> path: /tags/ +# - /categories/my-awesome-category/index.html ~> path: /categories/ +# - /my-awesome-category/index.html ~> path: / category_archive: type: liquid path: /categories/ tag_archive: type: liquid path: /tags/ +# https://github.com/jekyll/jekyll-archives +# jekyll-archives: +# enabled: +# - categories +# - tags +# layouts: +# category: archive-taxonomy +# tag: archive-taxonomy +# permalinks: +# category: /categories/:name/ +# tag: /tags/:name/ + + +# HTML Compression +# - http://jch.penibelst.de/ +compress_html: + clippings: all + ignore: + envs: development \ No newline at end of file diff --git a/docs/_pages/spalsh-page.md b/docs/_pages/spalsh-page.md new file mode 100644 index 0000000000..f11bc0b073 --- /dev/null +++ b/docs/_pages/spalsh-page.md @@ -0,0 +1,67 @@ +--- +title: "Splash Page" +layout: splash +permalink: /splash-page/ +date: 2016-03-23T11:48:41-04:00 +header: + overlay_color: "#000" + overlay_filter: "0.5" + overlay_image: /assets/images/unsplash-image-1.jpg + actions: + - label: "Download" + url: "https://github.com/mmistakes/minimal-mistakes/" + caption: "Photo credit: [**Unsplash**](https://unsplash.com)" +excerpt: "Bacon ipsum dolor sit amet salami ham hock ham, hamburger corned beef short ribs kielbasa biltong t-bone drumstick tri-tip tail sirloin pork chop." +intro: + - excerpt: 'Nullam suscipit et nam, tellus velit pellentesque at malesuada, enim eaque. Quis nulla, netus tempor in diam gravida tincidunt, *proin faucibus* voluptate felis id sollicitudin. Centered with `type="center"`' +feature_row: + - image_path: assets/images/unsplash-gallery-image-1-th.jpg + alt: "placeholder image 1" + title: "Placeholder 1" + excerpt: "This is some sample content that goes here with **Markdown** formatting." + - image_path: /assets/images/unsplash-gallery-image-2-th.jpg + image_caption: "Image courtesy of [Unsplash](https://unsplash.com/)" + alt: "placeholder image 2" + title: "Placeholder 2" + excerpt: "This is some sample content that goes here with **Markdown** formatting." + url: "#test-link" + btn_label: "Read More" + btn_class: "btn--primary" + - image_path: /assets/images/unsplash-gallery-image-3-th.jpg + title: "Placeholder 3" + excerpt: "This is some sample content that goes here with **Markdown** formatting." +feature_row2: + - image_path: /assets/images/unsplash-gallery-image-2-th.jpg + alt: "placeholder image 2" + title: "Placeholder Image Left Aligned" + excerpt: 'This is some sample content that goes here with **Markdown** formatting. Left aligned with `type="left"`' + url: "#test-link" + btn_label: "Read More" + btn_class: "btn--primary" +feature_row3: + - image_path: /assets/images/unsplash-gallery-image-2-th.jpg + alt: "placeholder image 2" + title: "Placeholder Image Right Aligned" + excerpt: 'This is some sample content that goes here with **Markdown** formatting. Right aligned with `type="right"`' + url: "#test-link" + btn_label: "Read More" + btn_class: "btn--primary" +feature_row4: + - image_path: /assets/images/unsplash-gallery-image-2-th.jpg + alt: "placeholder image 2" + title: "Placeholder Image Center Aligned" + excerpt: 'This is some sample content that goes here with **Markdown** formatting. Centered with `type="center"`' + url: "#test-link" + btn_label: "Read More" + btn_class: "btn--primary" +--- + +{% include feature_row id="intro" type="center" %} + +{% include feature_row %} + +{% include feature_row id="feature_row2" type="left" %} + +{% include feature_row id="feature_row3" type="right" %} + +{% include feature_row id="feature_row4" type="center" %} \ No newline at end of file