forked from sunainapai/makesite
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature: Add meta keyword, robot options and new theme
* Add support for meta keywords #15 * Add support for meta robot options #16 * Add support for tags #15 * Add grey/blue theme #14
- Loading branch information
Showing
8 changed files
with
166 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
body { | ||
background-color: #3d3d3d; | ||
} | ||
|
||
img { | ||
max-width: 100%; | ||
height: auto; | ||
} | ||
|
||
a:link, a:visited { | ||
color: #6082B6; | ||
text-decoration: underline dotted; | ||
} | ||
|
||
a:hover, a:active { | ||
color: #6082B6; | ||
text-decoration: underline dotted; | ||
} | ||
|
||
header section, footer section, manpage { | ||
color: #6082B6; | ||
font-size: 14px; | ||
font-family: "Courier New", monospace; | ||
margin-left: 0%; | ||
max-width: 40em; | ||
} | ||
|
||
main, nav section, name section { | ||
color: #6082B6; | ||
max-width: 60em; | ||
font-size: 14px; | ||
font-family: "Courier New", monospace; | ||
margin-left: 5%; | ||
margin-right: auto; | ||
padding: 0 0.5em; | ||
} | ||
|
||
code { | ||
color: #6082B6; | ||
max-width: 60em; | ||
font-size: 14px; | ||
font-style: italic; | ||
font-family: "Courier New", monospace; | ||
margin-left: 10%; | ||
margin-right: auto; | ||
padding: 0 0.5em; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<title>{{ title }} | {{ subtitle }}</title> | ||
<meta name="description" content="{{ meta_description }}"/> | ||
<meta name="keywords" content="{{ keywords }}"/> | ||
<meta name="robots" content="{{ robots }}"> | ||
<meta property="og:image" content="{{ image_url }}"/> | ||
<meta property="og:title" content="{{ title }}"/> | ||
<meta property="og:description" content="{{ meta_description }}"/> | ||
<meta property="og:image:width" content="{{ image_width }}"/> | ||
<meta property="og:image:height" content="{{ image_height }}"/> | ||
<meta name="twitter:card" content="summary" /> | ||
<meta name="twitter:site" content="{{ profile_twitter }}" /> | ||
<meta name="twitter:title" content="{{ title }}" /> | ||
<meta name="twitter:description" content="{{ meta_description }}" /> | ||
<meta name="twitter:image" content="{{ image_url }}" /> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width"> | ||
<meta name="robots" content="INDEX,FOLLOW"> | ||
<meta name="generator" content="manpageblog {{ _version }}" /> | ||
<link rel="stylesheet" type="text/css" href="{{ base_path }}/assets/css/{{ theme }}.css"> | ||
<link rel="shortcut icon" type="image/png" href="{{ logo_favicon }}"/> | ||
<link rel="icon" type="image/png" href="{{ logo_favicon }}"/> | ||
<link rel="apple-touch-icon" href="{{ logo_apple_touch }}"/> | ||
<link href="{{ profile_mastodon }}" rel="me"> | ||
</head> | ||
|
||
<body id="{{ slug }}"> | ||
|
||
<manpage> | ||
<b>NAME</b><br> | ||
</manpage> | ||
|
||
<name> | ||
<section> | ||
<span class="name"> | ||
{{ name }} | ||
</span> | ||
</section> | ||
</name> | ||
|
||
<manpage> | ||
<br><b>OPTIONS</b><br> | ||
</manpage> | ||
|
||
|
||
<nav> | ||
<section> | ||
<span class="home"> | ||
<a href="{{ base_path }}/">[home]</a> | ||
<a href="{{ base_path }}/blog/">[blog]</a> | ||
<a href="{{ base_path }}/about/">[about]</a> | ||
<a href="{{ base_path }}/contact/">[contact]</a> | ||
</span> | ||
</section> | ||
</nav> | ||
|
||
<manpage> | ||
<br><b>CONTENT</b><br> | ||
</manpage> | ||
|
||
<main> | ||
{{ content }} | ||
</main> | ||
|
||
<manpage> | ||
<br><b>TAGS</b><br> | ||
</manpage> | ||
|
||
<main> | ||
{{ keywords }} | ||
</main> | ||
|
||
<footer> | ||
<section> | ||
<p>© {{ current_year }} {{ copyright }}</p> | ||
</section> | ||
</footer> | ||
|
||
</body> | ||
</html> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<!-- title: manpageblog released in version 1.3 --> | ||
<!-- meta_description: Initial release of manpageblog 1.3. A simple and static blog generator in manpage design written in Python. --> | ||
<!-- image_url: https://cdn.gyptazy.ch/images/manpageblog.jpg --> | ||
<!-- keywords: manpageblog, version, version 1.3, 1.3, features, release, meta, keyword, robots, support, robot, blue, grey, theme --> | ||
|
||
<a href="https://github.com/gyptazy/manpageblog">manpageblog</a> just got released in version 1.3 Version 1.3 comes along with | ||
several bug fixes and some new features.<br><br> | ||
|
||
<b>Features</b><br> | ||
* Add meta keyword support <br> | ||
* Add tag support<br> | ||
* Add robot support<br> | ||
* Add blue/grey theme<br> | ||
<br> | ||
<b>Fixes</b><br> | ||
* Fixed rendering issue<br> | ||
|
||
<br> | ||
Now, you can start blogging. More information can be found on <a href="https://github.com/gyptazy/manpageblog">manpageblog</a>.<br> | ||
<b>Download</b>: <a href="https://github.com/gyptazy/manpageblog">manpageblog</a> |
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