Skip to content

Commit

Permalink
Introducing further autocorrections
Browse files Browse the repository at this point in the history
  • Loading branch information
jrgriffiniii committed Nov 17, 2022
1 parent 97b8e72 commit 66c2c43
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 20 deletions.
2 changes: 0 additions & 2 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@

# pages/**/*html
browse_pages.html
search.json
pages/*.html
Expand Down
27 changes: 12 additions & 15 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ highlighter: rouge

markdown: kramdown
kramdown:
input: GFM
auto_ids: true
hard_wrap: false
syntax_highlighter: rouge
input: GFM
auto_ids: true
hard_wrap: false
syntax_highlighter: rouge

# filter used to process markdown. note that kramdown differs from github-flavored markdown in some subtle ways

Expand All @@ -74,17 +74,15 @@ collections:
# collections are declared here. this renders the content in _tooltips and processes it, but doesn't output it as actual files in the output unless you change output to true

defaults:
-
scope:
- scope:
path: ""
type: "pages"
values:
layout: "page"
comments: true
search: true
sidebar: home_sidebar
-
scope:
- scope:
path: ""
type: "tooltips"
values:
Expand All @@ -93,8 +91,7 @@ defaults:
search: true
tooltip: true

-
scope:
- scope:
path: ""
type: "posts"
values:
Expand All @@ -106,20 +103,20 @@ defaults:
# these are defaults used for the frontmatter for these file types

sidebars:
- home_sidebar
- home_sidebar

- other
- other

description: ""
# the description is used in the feed.xml file
url: http://samvera.github.io
production_url : https://samvera.github.io
BASE_PATH : https://samvera.github.io
production_url: https://samvera.github.io
BASE_PATH: https://samvera.github.io

theme: jekyll-theme-minimal

# needed for sitemap.xml file only
plugins:
- jekyll-sitemap

github_pages_save_generated_files: ['browse_pages.html']
github_pages_save_generated_files: ["browse_pages.html"]
2 changes: 1 addition & 1 deletion js/deck.core.js
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ that use the API provided by core.
if (indexInBounds(indexOrId)) {
index = indexOrId;
} else if (typeof indexOrId === "string") {
/* Id string index, search for it and set integer index */
/* Id string index, search for it and set integer index */
$.each(slides, function (i, $slide) {
if ($slide.attr("id") === indexOrId) {
index = i;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,11 @@ Next, find these lines:
devise :database_authenticatable, :registerable,
:recoverable, :rememberable, :trackable, :validatable


Replace them with:

devise :cas_authenticatable,
:recoverable, :rememberable, :trackable


Finally, add a function that takes extra attributes from your CAS server and maps them to fields in the Hyrax contributor profile. In this example, we will get the department name and email address.

def cas_extra_attributes=(extra_attributes)
Expand Down

0 comments on commit 66c2c43

Please sign in to comment.