Repository navigation
Educators' Corner and Pedagogies: author portraits, wide figures and a plain editor's note #1243
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
Merged
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
8a7d783
Articles: a newsletter issue as its own brick, Educators' Corner port…
LukasWallrich 658c1f2
Articles: authors found by their profile's name, role and bio in the …
LukasWallrich 1a26b56
Rebrand checks: allow the 17 descriptions that lose the stray space b…
LukasWallrich 70a4e1b
Rebrand checks: a description that only lost a space inside a bracket…
LukasWallrich 3de62b2
compare_builds: a description cut a word later counts as unchanged on…
LukasWallrich ce36865
Merge rebrand-doors into hc/articles2
LukasWallrich 65be9e7
Merge rebrand-doors into PR #1243
LukasWallrich b251b8f
Articles: no underline under the byline's icons
LukasWallrich 46ae7db
Articles: wide figures end at the page's edge
LukasWallrich 1ee7483
Articles: wide figures reach the page's edge from 1241 px
LukasWallrich f31c7cb
Articles: keep Reviewer Zero's logo, and FORRT's own logo stays small
LukasWallrich 25aafaa
Move the doors folders' contents into their parents, as on rebrand-doors
LukasWallrich b498526
Merge rebrand-doors
LukasWallrich 281cde2
Merge remote-tracking branch 'origin/rebrand-doors' into HEAD
LukasWallrich f0ba25a
Leave newsletter posts as they are
LukasWallrich f4ae73e
Merge remote-tracking branch 'origin/rebrand-doors' into HEAD
LukasWallrich 6898d62
Merge remote-tracking branch 'origin/rebrand-doors' into HEAD
LukasWallrich b303a54
Articles: keep short openings plain, the author card on phones to Edu…
LukasWallrich ab4b568
Articles: figures and notes follow the 640 px text measure
LukasWallrich File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,6 @@ | ||
| {{- /* A Hugo Markdown render hook to parse links, opening external links in new tabs. Trimmed so no whitespace is emitted before the link. */ -}} | ||
| <a href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if or (strings.HasPrefix .Destination "http://") (strings.HasPrefix .Destination "https://") (strings.HasPrefix .Destination "//") }} target="_blank" rel="noopener"{{ end }}>{{ .Text | safeHTML }}</a> | ||
| {{- /* Markdown links, opening other sites in new tabs; a link to forrt.org itself (site.Params.doors.host, with or | ||
| without www.) stays in the tab, as in booklet_contents. Overrides the theme's hook, whose comment line left a | ||
| line break before every link: rendered as a space, it split "(" from a link that follows it. */ -}} | ||
| {{- $host := strings.TrimPrefix "www." (urls.Parse .Destination).Host -}} | ||
| {{- $away := and $host (ne $host site.Params.doors.host) -}} | ||
| <a href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if $away }} target="_blank" rel="noopener"{{ end }}>{{ .Text | safeHTML }}</a> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| {{/* The profile page (/authors/<slug>/) for a name as written in a page's `authors`, or false. The slug is usually the | ||
| name made into a URL; a title such as "Dr." in front, or a profile whose folder differs from the credited name | ||
| ("Patrick Forscher" at patrick-s-forscher), is found by the profile's own name. Call it with partialCached and | ||
| the name as the key. */}} | ||
| {{ $raw := . }} | ||
| {{ $found := site.GetPage (printf "/authors/%s" (urlize $raw)) }} | ||
| {{ if not $found }} | ||
| {{ $plain := replaceRE `(?i)^(dr|prof|professor)\.?\s+` "" (trim $raw " ") }} | ||
| {{ $found = site.GetPage (printf "/authors/%s" (urlize $plain)) }} | ||
| {{ if not $found }} | ||
| {{ with site.GetPage "/authors" }}{{ range .Sections }} | ||
| {{ if and (not $found) (eq (lower (.Params.name | default .Title)) (lower $plain)) }}{{ $found = . }}{{ end }} | ||
| {{ end }}{{ end }} | ||
| {{ end }} | ||
| {{ end }} | ||
| {{ return $found }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.