diff --git a/website_generator/DESCRIPTION b/website_generator/DESCRIPTION index 886c946..4721446 100644 --- a/website_generator/DESCRIPTION +++ b/website_generator/DESCRIPTION @@ -15,4 +15,5 @@ Imports: magrittr (>= 2.0.3), purrr (>= 0.3.4), rmarkdown (>= 2.14), - yaml (>= 2.3.5) + yaml (>= 2.3.5), + stringr (>= 1.5.1) diff --git a/website_generator/generate_source.R b/website_generator/generate_source.R index 25d08cd..ac529a1 100644 --- a/website_generator/generate_source.R +++ b/website_generator/generate_source.R @@ -2,6 +2,7 @@ library(magrittr) #library(kableExtra) library(DT) library(git2r) +library(stringr) repo_path <- ".." @@ -47,7 +48,7 @@ nassa_table <- purrr::map_dfr( badge_series(nassa_yml$modellingKeywords, type = 'badgeModelling'), badge_series(nassa_yml$programmingKeywords, type = 'badgeProgramming'), collapse = ' '), - `View` = paste0(""), + `View` = paste0(""), ) } ) diff --git a/website_generator/website_source/_site.yml b/website_generator/website_source/_site.yml index 8e98913..691c886 100644 --- a/website_generator/website_source/_site.yml +++ b/website_generator/website_source/_site.yml @@ -2,19 +2,22 @@ name: "nassa-modules" navbar: # title: "NASSA Library Web User Interface" left: - - text: "Module list" + - text: "Main" icon: fa-list href: index.html - text: "About" icon: fa-book href: https://archaeology-abm.github.io/NASSA-hub/library - - text: "NASSA Hub" - icon: fa-home - href: https://archaeology-abm.github.io/NASSA-hub - right: + - text: "Guide for submissions" + icon: fa-map + href: https://archaeology-abm.github.io/NASSA-hub/guide - text: "Repository" icon: fa-github href: https://github.com/Archaeology-ABM/NASSA-modules + right: + - text: "NASSA Hub" + icon: fa-home + href: https://archaeology-abm.github.io/NASSA-hub output: html_document: theme: spacelab diff --git a/website_generator/website_source/css/styles.css b/website_generator/website_source/css/styles.css index da4a5d9..c57969c 100644 --- a/website_generator/website_source/css/styles.css +++ b/website_generator/website_source/css/styles.css @@ -1,14 +1,19 @@ body .main-container { - max-width: 1000px; + max-width: 1100px; + min-width: 850px; +} + +#header { + display: none; } #nassa_table_container { - width: 90%; + width: 87%; float: left; z-index: -10; } #customsidebar { - width: 9%; + width: 12%; float: right; z-index: -10; padding: 0px; @@ -107,4 +112,4 @@ a { button { min-height: 30px; -} \ No newline at end of file +} diff --git a/website_generator/website_source/index.Rmd b/website_generator/website_source/index.Rmd index f7b97eb..d921abe 100644 --- a/website_generator/website_source/index.Rmd +++ b/website_generator/website_source/index.Rmd @@ -1,5 +1,5 @@ --- -#title: NASSA modules +title: NASSA Library ---