Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
content
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ok1kvk.cz
content
Commits
a7b8f218
Verified
Commit
a7b8f218
authored
8 years ago
by
Isabella Skořepová
Browse files
Options
Downloads
Patches
Plain Diff
MathJax
Implements
#26
parent
ed3da471
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
theme/templates/article.html.nunj
+28
-0
28 additions, 0 deletions
theme/templates/article.html.nunj
theme/templates/partials/base.html.nunj
+2
-1
2 additions, 1 deletion
theme/templates/partials/base.html.nunj
with
30 additions
and
1 deletion
theme/templates/article.html.nunj
+
28
−
0
View file @
a7b8f218
{% extends "partials/base.html.nunj" %}
{% block head %}
{{ super() }}
{{ metadata.headerextra | safe }}
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
extensions: ["tex2jax.js"],
jax: ["input/TeX", "output/HTML-CSS"],
tex2jax: {
inlineMath: [ ['$','$'], ["\\(","\\)"] ],
displayMath: [ ['$$','$$'], ["\\[","\\]"] ],
processEscapes: true
},
elements: $("#content article"),
"HTML-CSS": { availableFonts: ["TeX"] },
locale: "cs",
menuSettings: {
zoom: "Hover"
},
MathEvents: {
hover: 0
}
});
</script>
<script type="text/javascript" async
src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_CHTML&">
</script>
{% endblock %}
{% block bodyattr %} class="type-article"{% endblock %}
{% block content %}
...
...
This diff is collapsed.
Click to expand it.
theme/templates/partials/base.html.nunj
+
2
−
1
View file @
a7b8f218
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
{% block head %}
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
/>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, maximum-scale=1.0"
/>
<title>
{% if metadata.title %}{{ metadata.title }}{%else%}Radioklub OK1KVK{%endif%}
</title>
...
...
@@ -35,7 +36,7 @@
{% if config.devel %}
<script
src=
"{{ config.baseurl }}/theme/js/socket.io-1.4.5.js"
></script>
{% endif %}
{{ metadata.headerextra | safe }
}
{% endblock %
}
</head>
<body
{%
block
bodyattr
%}{%
endblock
%}
>
{% import "partials/svgs.html.nunj" as svgs %}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment