Skip to content

Commit 7e5fb20

Browse files
authored
Merge pull request #170 from dotkernel/issue-167
updated header - added markdown alt
2 parents 55b17a7 + e8b1fb7 commit 7e5fb20

11 files changed

Lines changed: 23 additions & 0 deletions

File tree

‎src/App/templates/layout/blog-post.html.twig‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44

55
{% block title %}{{ article.title }}{% endblock %}
66

7+
{% block head_links %}
8+
<link rel="alternate" type="text/markdown" href="{{ url('app::markdown-article', {categorySlug: article.category.slug, slug: article.slug}) }}">
9+
{% endblock %}
10+
711
{% block page_title %}
812
{{ include('@partial/title-section.html.twig', {
913
back_href: url('page::blog'),

‎src/App/templates/layout/default.html.twig‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
<link rel="icon" type="image/png" sizes="32x32" href="{{ asset('images/app/favicon/favicon-32x32.png') }}">
1515
<link rel="icon" type="image/png" sizes="16x16" href="{{ asset('images/app/favicon/favicon-16x16.png') }}">
1616
<link rel="alternate" type="application/rss+xml" title="RSS Feed" href="{{ url('app::feed') }}" />
17+
{% block head_links %}{% endblock %}
1718
<link href="https://use.fontawesome.com/releases/v5.0.6/css/all.css" rel="stylesheet" />
1819
<link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,500,600" rel="stylesheet">
1920
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600" rel="stylesheet">

‎src/Page/templates/page/about.html.twig‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
{% block title %}About Us{% endblock %}
1212

13+
{% block head_links %}<link rel="alternate" type="text/markdown" href="/md-pages/about.md">{% endblock %}
14+
1315
{% block stylesheets %}
1416
<style>
1517
/* Pyramid layout in the hero - scoped to this page. */

‎src/Page/templates/page/admin.html.twig‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
{% block title %}Dotkernel Admin{% endblock %}
1212

13+
{% block head_links %}<link rel="alternate" type="text/markdown" href="/md-pages/admin.md">{% endblock %}
14+
1315
{% block stylesheets %}
1416
<style>
1517
/* Requirements table - scoped to this page, uses the shared theme tokens. */

‎src/Page/templates/page/api.html.twig‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
{% block title %}Dotkernel API{% endblock %}
1212

13+
{% block head_links %}<link rel="alternate" type="text/markdown" href="/md-pages/api.md">{% endblock %}
14+
1315
{% block stylesheets %}
1416
<style>
1517
/* Comparison table - scoped to this page, uses the shared theme tokens. */

‎src/Page/templates/page/architecture.html.twig‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
{% block title %}Architecture{% endblock %}
1212

13+
{% block head_links %}<link rel="alternate" type="text/markdown" href="/md-pages/architecture.md">{% endblock %}
14+
1315
{% block stylesheets %}
1416
<style>
1517
/* Middleware and library flow diagrams - scoped to this page, uses the shared theme tokens. */

‎src/Page/templates/page/dotboost.html.twig‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
{% block title %}dotboost{% endblock %}
1212

13+
{% block head_links %}<link rel="alternate" type="text/markdown" href="/md-pages/dotboost.md">{% endblock %}
14+
1315
{% block stylesheets %}
1416
<style>
1517
/* Command, skill and guardrail tables - scoped to this page, uses the shared theme tokens. */

‎src/Page/templates/page/frontend.html.twig‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
{% block title %}Dotkernel Frontend{% endblock %}
1212

13+
{% block head_links %}<link rel="alternate" type="text/markdown" href="/md-pages/frontend.md">{% endblock %}
14+
1315
{% block stylesheets %}
1416
<style>
1517
/* Requirement and reference tables - scoped to this page, uses the shared theme tokens. */

‎src/Page/templates/page/light.html.twig‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
{% block title %}Dotkernel Light{% endblock %}
1212

13+
{% block head_links %}<link rel="alternate" type="text/markdown" href="/md-pages/light.md">{% endblock %}
14+
1315
{% block stylesheets %}
1416
<style>
1517
/* Lifecycle and requirement tables - scoped to this page, uses the shared theme tokens. */

‎src/Page/templates/page/queue.html.twig‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
{% block title %}Dotkernel Queue{% endblock %}
1212

13+
{% block head_links %}<link rel="alternate" type="text/markdown" href="/md-pages/queue.md">{% endblock %}
14+
1315
{% block stylesheets %}
1416
<style>
1517
/* Config and command tables - scoped to this page, uses the shared theme tokens. */

0 commit comments

Comments
 (0)