Skip to content

Commit

Permalink
check school name.
Browse files Browse the repository at this point in the history
  • Loading branch information
andres-gimenez committed Sep 29, 2024
1 parent 1e77e4c commit 33c31e5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
5 changes: 2 additions & 3 deletions docs/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ source "https://rubygems.org"

gem "github-pages", group: :jekyll_plugins
gem "jekyll", "~> 4.3.4"
# This is the default theme for new Jekyll sites. You may change this to anything you like.
# gem "minima", "~> 2.5"
gem "just-the-docs", "~> 0.10.0" # pinned to the current release
gem "just-the-docs", "~> 0.10.0"

# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
# uncomment the line below. To upgrade, run `bundle update github-pages`.
# gem "github-pages", group: :jekyll_plugins
Expand Down
16 changes: 10 additions & 6 deletions src/g-exam.typ
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
align(left + top)[
#if(type(school) == "dictionary") [
#school.at("name", default : none) \
]
]
#exam-info.academic-period \
#exam-info.academic-level
],
Expand All @@ -161,7 +161,9 @@
columns: (auto, 1fr, auto),
gutter:0.3em,
align(left + top)[
#school.name \
#if type(school) == "dictionary" [
#school.at("name", default : none) \
]
#exam-info.academic-period \
#exam-info.academic-level
],
Expand All @@ -184,7 +186,9 @@
columns: (auto, 1fr, auto),
gutter:0.3em,
align(left + top)[
#school.name \
#if type(school) == "dictionary" [
#school.at("name", default : none) \
]
#exam-info.academic-period \
#exam-info.academic-level
],
Expand All @@ -209,10 +213,11 @@
#counter(page).display(__g-localization.final(loc).page-counter-display, both: true,
)
]
[----------------------]
grid(
columns: (1fr, 1fr, 1fr),
align(left)[#school.name],
if type(school) == "dictionary" {
align(left, school.at("name", default : none))
},
align(center)[#exam-info.academic-period],
align(right)[
Página
Expand All @@ -222,7 +227,6 @@
)
]
)
[----------------------]

__show-watermark(author: author, school: school, exam-info: exam-info, question-point-position:question-point-position)
}
Expand Down

0 comments on commit 33c31e5

Please sign in to comment.