Comments (6)
My suggestion, therefore, is to modify the HTML template such that the page title (same as nav entry) is omitted and only the Markdown title is rendered. Such an approach has the advantage, that the nav entry and the page title must not be identical.
from cevi-tools-webpage.
Currently, both titles are h1 but with different CSS style properties. This is bad practice anyway and should be changed. When you look into the HTML template it gets lear that the first h1 (the bigger one) is the "page title", i.g. the entry from the navigation, the second h1 (the smaller one) gets rendered out of the Markdown file.
Cevi-Tools-Webpage/_layouts/page.html
Lines 6 to 12 in 5f6d6fa
Therefore a page, e.g.:
---
layout: page
title: In Entwicklung
permalink: /entwicklung/
weight: 2
---
# Webtools in Entwicklung
gets rendered as:
<article class="post">
<header class="post-header">
<h1 class="post-title">In Entwicklung</h1>
</header>
<div class="post-content">
<h1 id="webtools-in-entwicklung">Webtools in Entwicklung</h1>
<p>Hier zeigen wir euch bald, an welchen neuen spannenden Projekten wir arbeiten.</p>
</div>
</article>
from cevi-tools-webpage.
I will create a PR that does this.
from cevi-tools-webpage.
Well... this does not fix the issue.
The H1 title from the markdown file is smaller than the H2.
Maybe we keep the title from the site however remove the ones in the markdown files?
from cevi-tools-webpage.
Just update the CSS as well. By copy past the style for the h1
Cevi-Tools-Webpage/_sass/minima/_layout.scss
Lines 219 to 227 in 5f6d6fa
into the section for rendering the markdown file
Cevi-Tools-Webpage/_sass/minima/_layout.scss
Lines 229 to 255 in 5f6d6fa
from cevi-tools-webpage.
I still prefer separating page titles and navigation entries
from cevi-tools-webpage.
Related Issues (14)
- Design: Project Entry layout HOT 2
- Favicon HOT 1
- Landing page has no h1
- Link cevi.tools in Cevi Wiki HOT 1
- Add Impressum
- Change DNS-records of cevi.tools HOT 1
- Add onlinemat to "In Entwicklung"
- Cevi.Tools is down --> fixed HOT 2
- Add existing applications of Cevi Dürnten as shareing for other "groups" (abteilungen) HOT 2
- Titel "Tools für Abteilungen" HOT 2
- Create CL Pipeline for preview builds on PR to gh-pages branch
- Replace build in build with Github Action HOT 4
- Incorporate KuTo HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cevi-tools-webpage.