From 19503b5fdb35d8e44614868b60c8fbdbad6db36e Mon Sep 17 00:00:00 2001 From: afermier Date: Tue, 16 May 2023 17:43:26 -0400 Subject: [PATCH] Initial Commit --- .frontmatter/database/mediaDb.json | 1 + .gitignore | 5 ++ .hugo_build.lock | 0 .vscode/settings.json | 3 + archetypes/default.md | 6 ++ config.toml | 126 ++++++++++++++++++++++++++++ content/_index.md | 15 ++++ frontmatter.json | 70 ++++++++++++++++ layouts/partials/custom-header.html | 13 +++ layouts/partials/logo.html | 1 + layouts/shortcodes/chart.html | 15 ++++ layouts/shortcodes/myiframe.html | 20 +++++ 12 files changed, 275 insertions(+) create mode 100644 .frontmatter/database/mediaDb.json create mode 100644 .gitignore create mode 100644 .hugo_build.lock create mode 100644 .vscode/settings.json create mode 100644 archetypes/default.md create mode 100644 config.toml create mode 100644 content/_index.md create mode 100644 frontmatter.json create mode 100644 layouts/partials/custom-header.html create mode 100644 layouts/partials/logo.html create mode 100644 layouts/shortcodes/chart.html create mode 100644 layouts/shortcodes/myiframe.html diff --git a/.frontmatter/database/mediaDb.json b/.frontmatter/database/mediaDb.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/.frontmatter/database/mediaDb.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..72141e3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +.Rproj.user +.Rhistory +.RData +.Ruserdata +public/ diff --git a/.hugo_build.lock b/.hugo_build.lock new file mode 100644 index 0000000..e69de29 diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..37a6623 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "frontMatter.dashboard.openOnStart": false +} \ No newline at end of file diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..00e77bd --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,6 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +draft: true +--- + diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..82f4d59 --- /dev/null +++ b/config.toml @@ -0,0 +1,126 @@ +# URL Configurations + +# baseURL is prepended to alias links when "/" is set: https://gohugo.io/content-management/urls/#aliases + +# baseURL = Hostname (and path) to the root +# https://gohugo.io/getting-started/configuration/#baseurl + +# base URL when running local - use this one when running local +baseURL = "" + + +# Enable to turn relative URLs into absolute. +# https://gohugo.io/getting-started/configuration/#canonifyurls +canonifyURLs = "TRUE" + +# Enable this to make all relative URLs relative to content root. Note that this does not affect absolute URLs. +#https://gohugo.io/getting-started/configuration/#relativeurls +# relativeURLs = "FALSE" + +languageCode = 'en-us' +title = 'Work Force of the Future' + +# Change the default theme to be use when building the site with Hugo +# Note - hugo-chart has to go first as per instructions for integrating chart.js - https://github.com/shen-yu/hugo-chart#usage +theme = ["hugo-theme-relearn"] + +# For search functionality +[outputs] +home = [ "HTML", "RSS", "JSON"] + +# Ugly URLs to try to get it to work on S3 +uglyurls = "false" + + +# Following guide from https://learn.netlify.app/en/basics/configuration/ + +[params] + # This controls whether submenus will be expanded (true), or collapsed (false) in the + # menu; if no setting is given, the first menu level is set to false, all others to true; + # this can be overridden in the pages frontmatter + alwaysopen = false + # Prefix URL to edit current page. Will display an "Edit" button on top right hand corner of every page. + # Useful to give opportunity to people to create merge request for your doc. + # See the config.toml file from this documentation site to have an example. + editURL = "C://work//git//hugo" + # Author of the site, will be used in meta information + author = "Adam Fermier" + # Description of the site, will be used in meta information + description = "Background of Hugo" + # Shows a checkmark for visited pages on the menu + showVisitedLinks = true + # Disable search function. It will hide search bar + disableSearch = false + # Disable search in hidden pages, otherwise they will be shown in search box + disableSearchHiddenPages = false + # Disables hidden pages from showing up in the sitemap and on Google (et all), otherwise they may be indexed by search engines + disableSeoHiddenPages = false + # Disables hidden pages from showing up on the tags page although the tag term will be displayed even if all pages are hidden + disableTagHiddenPages = false + # Javascript and CSS cache are automatically busted when new version of site is generated. + # Set this to true to disable this behavior (some proxies don't handle well this optimization) + disableAssetsBusting = false + # Set this to true if you want to disable generation for generator version meta tags of hugo and the theme; + # don't forget to also set Hugo's disableHugoGeneratorInject=true, otherwise it will generate a meta tag into your home page + disableGeneratorVersion = false + # Set this to true to disable copy-to-clipboard button for inline code. + disableInlineCopyToClipBoard = false + # A title for shortcuts in menu is set by default. Set this to true to disable it. + disableShortcutsTitle = false + # If set to false, a Home button will appear below the search bar on the menu. + # It is redirecting to the landing page of the current language if specified. (Default is "/") + disableLandingPageButton = true + # When using mulitlingual website, disable the switch language button. + disableLanguageSwitchingButton = false + # Hide breadcrumbs in the header and only show the current page title + disableBreadcrumb = false + # If set to true, hide table of contents menu in the header of all pages + disableToc = false + # If set to false, load the MathJax module on every page regardless if a MathJax shortcode is present + disableMathJax = false + # Specifies the remote location of the MathJax js + customMathJaxURL = "https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js" + # Initialization parameter for MathJax, see MathJax documentation + mathJaxInitialize = "{}" + + ### Mermaid + # If set to false, load the Mermaid module on every page regardless if a Mermaid shortcode or Mermaid codefence is present + disableMermaid = false + # Specifies the remote location of the Mermaid js + customMermaidURL = "https://unpkg.com/mermaid@8.8.0/dist/mermaid.min.js" + # Initialization parameter for Mermaid, see Mermaid documentation + mermaidInitialize = "{ \"theme\": \"default\" }" + # Enabling one to zoom a mermaid diagram + mermaidZoom = true + + # If set to false, load the Swagger module on every page regardless if a Swagger shortcode is present + disableSwagger = false + # Specifies the remote location of the RapiDoc js + customSwaggerURL = "https://unpkg.com/rapidoc/dist/rapidoc-min.js" + # Initialization parameter for Swagger, see RapiDoc documentation + swaggerInitialize = "{ \"theme\": \"light\" }" + # Hide Next and Previous page buttons normally displayed full height beside content + disableNextPrev = false + # Order sections in menu by "weight" or "title". Default to "weight"; + # this can be overridden in the pages frontmatter + ordersectionsby = "weight" + # Change default color scheme with a variant one. Eg. can be "auto", "red", "blue", "green" or an array like [ "blue", "green" ]. + themeVariant = "blue" + # Change the title separator. Default to "::". + titleSeparator = "-" + # If set to true, the menu in the sidebar will be displayed in a collapsible tree view. Although the functionality works with old browsers (IE11), the display of the expander icons is limited to modern browsers + collapsibleMenu = false + # If a single page can contain content in multiple languages, add those here + additionalContentLanguage = [ "en" ] + # If set to true, no index.html will be appended to prettyURLs; this will cause pages not + # to be servable from the file system + disableExplicitIndexURLs = false + # For external links you can define how they are opened in your browser; this setting will only be applied to the content area but not the shortcut menu + externalLinkTarget = "_blank" + +[markup] + [markup.highlight] + # if `guessSyntax = true`, there will be no unstyled code even if no language + # was given BUT Mermaid and Math codefences will not work anymore! So this is a + # mandatory setting for your site if you want to use Mermaid codefences + guessSyntax = false # see if this helps us run chartjs \ No newline at end of file diff --git a/content/_index.md b/content/_index.md new file mode 100644 index 0000000..bb41bdd --- /dev/null +++ b/content/_index.md @@ -0,0 +1,15 @@ +--- +title: Home +weight: 1 +chapter: true +--- + +# Welcome to Workforce of the Future + +## Purpose: + +Workforce of the Future (wfotf) is an initiative led by [Ferdinando Aspesi ](https://www.linkedin.com/in/ferdinando-aspesi-68816115/) and [Tony Moreira](https://cbee.umbc.edu/antonio-moreira/) which was built to help organize academic and industry goals to achieve mutual benefit of gainful employment and top talent seeking technology jobs in the pharmaceutical industry. + +## Status: + +We are working with three key Academic Partners ... diff --git a/frontmatter.json b/frontmatter.json new file mode 100644 index 0000000..6a0455b --- /dev/null +++ b/frontmatter.json @@ -0,0 +1,70 @@ +{ + "$schema": "https://frontmatter.codes/frontmatter.schema.json", + "frontMatter.taxonomy.contentTypes": [ + { + "name": "default", + "pageBundle": false, + "previewPath": null, + "fields": [ + { + "title": "Title", + "name": "title", + "type": "string" + }, + { + "title": "Description", + "name": "description", + "type": "string" + }, + { + "title": "Publishing date", + "name": "date", + "type": "datetime", + "default": "{{now}}", + "isPublishDate": true + }, + { + "title": "Content preview", + "name": "preview", + "type": "image" + }, + { + "title": "Is in draft", + "name": "draft", + "type": "draft" + }, + { + "title": "Tags", + "name": "tags", + "type": "tags" + }, + { + "title": "Categories", + "name": "categories", + "type": "categories" + }, + { + "title": "weight", + "name": "weight", + "type": "number" + }, + { + "title": "chapter", + "name": "chapter", + "type": "boolean" + } + ] + } + ], + "frontMatter.framework.id": "hugo", + "frontMatter.content.publicFolder": "static", + "frontMatter.preview.host": "http://localhost:1313", + "frontMatter.taxonomy.tags": [], + "frontMatter.taxonomy.categories": [], + "frontMatter.content.pageFolders": [ + { + "title": "content", + "path": "[[workspace]]/content" + } + ] +} \ No newline at end of file diff --git a/layouts/partials/custom-header.html b/layouts/partials/custom-header.html new file mode 100644 index 0000000..9abaec3 --- /dev/null +++ b/layouts/partials/custom-header.html @@ -0,0 +1,13 @@ + \ No newline at end of file diff --git a/layouts/partials/logo.html b/layouts/partials/logo.html new file mode 100644 index 0000000..e4c2be4 --- /dev/null +++ b/layouts/partials/logo.html @@ -0,0 +1 @@ +

Work Force of the Future

\ No newline at end of file diff --git a/layouts/shortcodes/chart.html b/layouts/shortcodes/chart.html new file mode 100644 index 0000000..53934ff --- /dev/null +++ b/layouts/shortcodes/chart.html @@ -0,0 +1,15 @@ +{{ $w := default "100" (.Get 0) }} +{{ $h := default "300" (.Get 1) }} +{{ $r := ( .Inner | chomp) }} +{{ $seed := "foo" }} +{{ $id := delimit (shuffle (split (md5 $seed) "" )) "" }} + +
+ +
+ + diff --git a/layouts/shortcodes/myiframe.html b/layouts/shortcodes/myiframe.html new file mode 100644 index 0000000..cb40164 --- /dev/null +++ b/layouts/shortcodes/myiframe.html @@ -0,0 +1,20 @@ + + + + + +