Skip to content

Updates for ancillary service #50

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config/_default/hugo.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
languageCode: "en"
title: "RAISE"
title: "Openstax Algebra 1"
enableRobotsTXT: true
minify:
minifyOutput: true
4 changes: 2 additions & 2 deletions content/teachers/2e/_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
- /index.html
---
<section>
<img src="https://k12.openstax.org/contents/raise/resources/c2341a199132c97f4e9fa2b46af32f93effa291b" width="300px">
<img src="https://k12.openstax.org/contents/raise/resources/7504026b90378638d14b54d11fcc427990ef23b1" width="300px">
<br>
<br>
<br>
Expand Down Expand Up @@ -131,7 +131,7 @@ <h4 class="os-raise-indent">Amy Baldwin, University of Central Arkansas
<br>
<br>
<br>
<img src="https://k12.openstax.org/contents/raise/resources/516d37019ca8eaf96d6172d1c65546d06aec5d87"
<img src="https://k12.openstax.org/contents/raise/resources/31c4e500907526a6a7228ac9fcddc8fff15c9bdb"
class="os-raise-media-responsive">


Expand Down
9 changes: 5 additions & 4 deletions layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@
<!DOCTYPE html>
<html lang="en">
<head>
<base href="<%= baseURI %>/">
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" type="image/svg" href="/images/favicon.svg">
<link rel="stylesheet" href="{{ $cssBundle.RelPermalink }}">
<link rel="icon" type="image/svg" href="images/favicon.svg">
<link rel="stylesheet" href='{{ strings.TrimPrefix "/" $cssBundle.RelPermalink }}'>
<link rel="stylesheet" href="https://k12.openstax.org/apps/raise/index.C-se0_9E.css">
<script src="{{ $jsBundle.RelPermalink }}" integrity="{{ $jsBundle.Data.Integrity }}" defer></script>
<script src='{{strings.TrimPrefix "/" $jsBundle.RelPermalink }}' integrity="{{ $jsBundle.Data.Integrity }}" defer></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/uikit.min.js" defer></script>
<script type="module" crossorigin src="https://k12.openstax.org/apps/raise/index.DEmUcmVP.js"></script>
<script type="module" crossorigin src="https://k12.openstax.org/apps/raise/index.BYAT3G2y.js"></script>
<title>{{ with .Title }}{{ . }} | {{ end }}{{ .Site.Title }}</title>
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/header_student.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<header>
<a href="/"><img src="/images/openstax-logo.png" alt="Openstax logo"></a>
<a href="<%= baseURI %>/"><img src="images/openstax-logo.png" alt="Openstax logo"></a>
</header>
6 changes: 3 additions & 3 deletions layouts/partials/header_teacher.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<header>
<a href="/"><img src="/images/openstax-logo.png" alt="Openstax logo"></a>
<a class="student-link-button" href="https://students.raiselearning.org/" target="_blank">
<a href="<%= baseURI %>/"><img src="images/openstax-logo.png" alt="Openstax logo"></a>
<a class="student-link-button" href="https://openstax.org/details/books/algebra-1/" target="_blank">
Access the student version
<img src="/images/external-link.svg">
<img src="images/external-link.svg">
</a>

</header>
4 changes: 2 additions & 2 deletions layouts/partials/nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ <h2>Table of Contents</h2>
<ul uk-accordion class="uk-accordion-content">
{{- range .items -}}
<li class="{{ if eq $.Slug .slug }}active{{ end }}">
{{- $url := printf "/%s/%s" $.Section .slug -}}
{{- $url := printf "%s/%s" $.Section .slug -}}
<a class="uk-accordion-title uk-accordion-link nested" href="{{ $url }}">{{ .title }}</a>
</li>
{{- end -}}
</ul>
</li>
{{- else -}}
<li class="{{ if eq $.Slug .slug }}active{{ end }}">
{{- $url := printf "/%s/%s" $.Section .slug -}}
{{- $url := printf "%s/%s" $.Section .slug -}}
<a class="uk-accordion-title uk-accordion-link" href="{{ $url }}">{{ .title }}</a>
</li>
{{- end -}}
Expand Down