forked from 2factorauth/twofactorauth
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix up Notes Pages (2factorauth#3242)
* Remove generic text to move to Secondary layout itself * move generic header to layout * remove duplicate header text * remove duplicate header text * remove duplicate header text * remove duplicate header text * Merged layouts and made the notes overview page dynamically show the available notes * defaults for title of page * set defaults that make sense * Fix SEO so tags indicate the URL you're actually linking to * Use the dynamic tag where possible. Help with debugging forked copies. * missed one * compressed the schwab logo * Updates based on PR Feedback * Small revision to fix issue with additional self-referencing link being shown.
- Loading branch information
Showing
11 changed files
with
57 additions
and
102 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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,60 +1,29 @@ | ||
--- | ||
layout: secondary | ||
--- | ||
|
||
<div id="note-header" class="ui center aligned icon header"> | ||
<i class="circular file outline icon"></i> | ||
|
||
<h2>Notes</h2> | ||
</div> | ||
|
||
<div class="ui stackable grid container"> | ||
<div class="three column row"> | ||
{%- assign row_count = 0 -%} | ||
{%- for related_page in site.pages -%} | ||
{%- if related_page.layout == 'secondary' and related_page.name != 'index.html' -%} | ||
{%- assign row_count = row_count | plus: 1 -%} | ||
<div class="column"> | ||
<div class="ui card"> | ||
<a class="image" href="/notes/chase"> | ||
<img src="img/chase.svg" alt="Chase"> | ||
</a> | ||
|
||
<div class="content"> | ||
<a class="header" href="/notes/chase">Chase</a> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="column"> | ||
<div class="ui card"> | ||
<a class="image" href="/notes/fidelity"> | ||
<img src="img/fidelity.png" alt="Fidelity"> | ||
<a class="image" href="{{related_page.url}}"> | ||
<img src="img/{{related_page.img}}" alt="{{related_page.company}}"> | ||
</a> | ||
|
||
<div class="content"> | ||
<a class="header" href="/notes/fidelity">Fidelity Investments</a> | ||
<a class="header" href="{{related_page.url}}">{{related_page.company}}</a> | ||
</div> | ||
</div> | ||
</div> | ||
{%- endif -%} | ||
{%- if row_count == 3 -%} | ||
{%- assign row_count = 0 -%} | ||
</div> | ||
<div class="three column row"> | ||
<div class="column"> | ||
<div class="ui card"> | ||
<a class="image" href="/notes/gree"> | ||
<img src="img/gree.png" alt="GREE"> | ||
</a> | ||
|
||
<div class="content"> | ||
<a class="header" href="/notes/gree">GREE</a> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="column"> | ||
<div class="ui card"> | ||
<a class="image" href="/notes/internetbs"> | ||
<img src="img/internetbs.png" alt="Internet.bs"> | ||
</a> | ||
|
||
<div class="content"> | ||
<a class="header" href="/notes/internetbs">Internet.bs</a> | ||
</div> | ||
</div> | ||
</div> | ||
{%- endif -%} | ||
{%- endfor -%} | ||
</div> | ||
</div> |
This file contains 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 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 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