├── .gitignore
├── LICENSE
├── Lipi.iml
├── META-INF
└── MANIFEST.MF
├── README.md
├── pom.xml
├── res
├── custom.css
├── hugo-res
│ ├── default-config.toml
│ ├── exampleBlog
│ │ └── content
│ │ │ └── post
│ │ │ ├── lipi-te-sagotom.md
│ │ │ └── welcome-to-lipi.md
│ └── themes
│ │ ├── anybodyhome
│ │ ├── LICENSE.md
│ │ ├── README.md
│ │ ├── archetypes
│ │ │ └── default.md
│ │ ├── images
│ │ │ ├── screenshot.png
│ │ │ └── tn.png
│ │ ├── layouts
│ │ │ ├── 404.html
│ │ │ ├── _default
│ │ │ │ ├── paginator.html
│ │ │ │ ├── single.html
│ │ │ │ └── summary.html
│ │ │ ├── index.html
│ │ │ ├── partials
│ │ │ │ ├── footer.html
│ │ │ │ ├── head.html
│ │ │ │ ├── header.html
│ │ │ │ └── paginator.html
│ │ │ └── summary.html
│ │ ├── static
│ │ │ └── css
│ │ │ │ └── styles.css
│ │ └── theme.toml
│ │ └── robust
│ │ ├── LICENSE.md
│ │ ├── README.md
│ │ ├── images
│ │ ├── screenshot.png
│ │ └── tn.png
│ │ ├── layouts
│ │ ├── _default
│ │ │ ├── grid.html
│ │ │ ├── li.html
│ │ │ ├── list.html
│ │ │ ├── single.html
│ │ │ └── terms.html
│ │ ├── index.html
│ │ ├── partials
│ │ │ ├── footer.html
│ │ │ ├── header_after.html
│ │ │ ├── header_before.html
│ │ │ ├── pagination.html
│ │ │ └── sidebar.html
│ │ └── rss.xml
│ │ ├── static
│ │ ├── css
│ │ │ ├── custom.css
│ │ │ └── styles.css
│ │ └── images
│ │ │ └── default.jpg
│ │ └── theme.toml
├── kalpurush.ttf
├── lipi-hmdeditor-icon.png
├── lipi-icon.png
└── material.css
├── src
├── Lipi.java
├── META-INF
│ └── MANIFEST.MF
├── model
│ ├── hugo
│ │ ├── HMDFileCreator.java
│ │ ├── HMDFileProcessor.java
│ │ └── Hugo.java
│ ├── toml
│ │ ├── TomlConfig.java
│ │ ├── TomlParser.java
│ │ ├── TomlString.java
│ │ └── TomlUtils.java
│ └── utility
│ │ ├── .directory
│ │ ├── CallbackVisitor.java
│ │ ├── FileHandler.java
│ │ ├── Ipc.java
│ │ ├── MarkdownFileUtils.java
│ │ └── Pandoc.java
├── tests
│ ├── RunTests.java
│ └── RunTestsJavaFX.java
└── view
│ ├── dashboard
│ ├── DashboardMain.java
│ └── dashboard_main.fxml
│ ├── filetree
│ ├── FileTreeTable.java
│ └── file_tree_table.fxml
│ ├── hugo
│ ├── hmd
│ │ ├── HMDPostEditor.fxml
│ │ ├── HMDPostEditorControl.java
│ │ ├── TabbedHMDPostEditor.fxml
│ │ └── TabbedHMDPostEditor.java
│ ├── markdown
│ │ └── MarkdownEditorControl.java
│ └── pane
│ │ ├── HostServicesProviderUtil.java
│ │ ├── HugoPane.java
│ │ └── hugo_pane.fxml
│ ├── toml
│ ├── TomlConfigEditor.java
│ ├── TomlEditorControl.java
│ └── TomlEntryEditor.java
│ ├── utils
│ ├── ExceptionAlerter.java
│ ├── TakeTwoInputsDialog.java
│ └── TimedUpdaterUtil.java
│ └── wizard
│ ├── BasicConfig.java
│ ├── WelcomeWizard.java
│ ├── basic_config.fxml
│ └── welcome_wizard.fxml
└── tests-res
├── a.html
├── a.md
├── test.html
├── test.md
├── tomlConfigTest.toml
└── tomlParserTest.md
/.gitignore:
--------------------------------------------------------------------------------
1 | # Package Files #
2 | *.directory
3 |
4 | # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
5 | #ide
6 | .idea/
7 |
8 | exec/
9 | lib/
10 | out/
11 |
12 | #maven output folder
13 | target/
14 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2016 Sohan Chowdhury
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/Lipi.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Manifest-Version: 1.0
2 | Main-Class: Lipi
3 |
4 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | Welcome to Lipi, a simple click and type static blog creator
2 | -------
3 | > Hugo is one of the most popular open-source static site generators.
4 | With its amazing speed and flexibility, Hugo makes building websites fun again.
5 |
6 | Lipi brings the the awesomeness of Hugo wrapped in a GUI, and tries make Hugo more easy to use day to day without having to remember any pesky commands.
7 |
8 | #### Notice October 2020
9 | > - I no longer maintain this project
10 | > - If you are interested in extending or helping out please reach out
11 | > - I have distant plans to completely rebuild Lipi as an Electron App(ReactJs based), if there is interest please let me know.
12 |
13 | #### Changelog
14 | > - Now images can be added to post using the Insert Image button on the editor.
15 | > - An option to auto open last opened blog has been added as well.
16 |
17 | #### Why ####
18 | - No need to remember or type commands so no distractions.
19 | - Just click buttons, write thoughts, and your blog is ready.
20 | - Upload anywhere that supports HTML (web server, github, even dropbox, etc) and the world can see it!
21 | - All the awesome benefits of static sites with dynamicity handled using Hugo.
22 |
23 | #### How ####
24 | Created with JavaFX8, using:
25 |
26 | - Hugo : https://github.com/gohugoio/hugo
27 | - Pandoc : https://github.com/jgm/pandoc
28 | - Toml4j : https://github.com/mwanji/toml4j
29 | - Gson : https://github.com/google/gson
30 |
31 | This is the second public beta release of Lipi, so there might be bugs!
32 | If you find a bug or need a feature, feel free to open an issue or email me sifat3d@gmail.com.
33 |
34 | #### Download ####
35 | For download and install instructions, visit the releases page:
36 | [https://github.com/SohanChy/Lipi/releases](https://github.com/SohanChy/Lipi/releases)
37 |
38 | Screenshots
39 | -------
40 | 
41 |
42 | 
43 |
44 | 
45 |
46 | 
47 |
--------------------------------------------------------------------------------
/pom.xml:
--------------------------------------------------------------------------------
1 |
2 | 4.0.0
3 |
4 | io.github.sohanchy
5 | lipi
6 | 0.7.0-beta
7 |
8 |
9 | Lipi
10 | https://github.com/SohanChy/Lipi
11 | Lipi brings the the awesomeness of Hugo wrapped in a GUI.
12 |
13 |
14 | scm:git:git@github.com:sohanChy/Lipi
15 | scm:git:git@github.com:sohanChy/Lipi
16 | scm:git:git@github.com:sohanChy/Lipi
17 | HEAD
18 |
19 |
20 |
21 | 1.8
22 | 1.8
23 | UTF-8
24 | UTF-8
25 |
26 |
27 |
28 |
29 | MIT
30 | https://github.com/SohanChy/Lipi/blob/master/LICENSE
31 |
32 |
33 |
34 |
35 | GitHub issues
36 | https://github.com/SohanChy/Lipi/issues
37 |
38 |
39 |
40 |
41 | com.moandjiezana.toml
42 | toml4j
43 | 0.7.1
44 |
45 |
46 | com.guigarage
47 | flatter
48 | 0.7
49 |
50 |
51 | com.google.code.gson
52 | gson
53 | 2.8.1
54 |
55 |
56 | commons-io
57 | commons-io
58 | 2.5
59 |
60 |
61 |
62 |
63 | src
64 | src
65 |
66 |
67 | src
68 |
69 |
70 | res
71 |
72 |
73 |
74 |
75 | tests-res
76 |
77 |
78 |
79 |
80 | org.codehaus.mojo
81 | exec-maven-plugin
82 | 1.2.1
83 |
84 | Lipi
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
--------------------------------------------------------------------------------
/res/custom.css:
--------------------------------------------------------------------------------
1 | //Customize Material.css BASE COLOR
2 | .root {
3 | -fx-basic-color: #00352C !important;
4 | -fx-control-inner-background: #f0f0f0 !important;
5 | }
6 |
7 | .split-pane:horizontal > .split-pane-divider {
8 | -fx-background-color: transparent;
9 | }
10 | .split-pane:vertical > .split-pane-divider {
11 | -fx-background-color: transparent;
12 | }
13 |
14 | .split-pane, .anchor-pane, .tool-bar, .html-editor, .scroll-pane, .v-box, .h-box, .tab-pane, .tab-header-background, .toml-entry {
15 | -fx-background-color: #607D8B;
16 | -fx-padding: 0 0 0 0;
17 | }
18 |
19 | .bg-theme-dark {
20 | -fx-background-color: #607D8B !important;
21 | }
22 |
23 | .bg-theme-dark .label {
24 | -fx-text-fill: #F5F5F5;
25 | }
26 |
27 | .bg-theme-dark .choice-box .label {
28 | -fx-text-fill: -fx-text-color;
29 | }
30 |
31 |
32 | .anchor-pane > .tool-bar{
33 | -fx-padding: 0 0 9 9;
34 | }
35 |
36 | .text, .html-editor {
37 | -fx-font-family: "Siyam Rupali" !important;
38 |
39 | }
40 |
41 | .toml-entry {
42 | -fx-border-color: #607D8B;
43 | -fx-border-width: 0 0 2 0;
44 | -fx-padding: 5 0 5 0;
45 | }
46 |
47 | .toml-entry > .label {
48 | -fx-padding: 0 0 0 0;
49 | -fx-font-size:12px;
50 | -fx-text-fill: #F5F5F5;
51 | }
52 |
53 | .scroll-bar .track {
54 | -fx-background-color: -fx-lighter-color !important;
55 | }
56 |
57 | //TOML Editor
58 | .save-button-vbox .button {
59 | -fx-padding: 10 60 10 60;
60 | -fx-border-insets: 5;
61 | -fx-background-insets: 5;
62 | }
63 |
64 | .list-cell {
65 | -fx-alignment: center;
66 | }
67 |
68 | .hyperlink {
69 |
70 | }
--------------------------------------------------------------------------------
/res/hugo-res/default-config.toml:
--------------------------------------------------------------------------------
1 | canonifyurls = "true"
2 | SectionPagesMenu = "main"
3 | paginate = "10"
4 | Title = "Hello Lipi"
5 | LanguageCode = "en-us"
6 | pluralizeListTitles = "false"
7 | theme = "sohan-light-cards"
8 | BaseURL = "/"
9 |
10 | [Taxonomies]
11 | tags = "tags"
12 |
13 | [Params]
14 | SyntaxHighlightTheme = "default.min.css"
15 | ShowTagCloud = "true"
16 | Author = "Sohan Chowdhury"
17 | ShowRelatedPost = "true"
18 |
--------------------------------------------------------------------------------
/res/hugo-res/exampleBlog/content/post/lipi-te-sagotom.md:
--------------------------------------------------------------------------------
1 | +++
2 | title = "লিপি তে স্বাগতম"
3 | date = "2016-09-26"
4 | description = "লিপি একটি সহজ সরল স্টাটিক ব্লগ তৈরির গ্রাফিকাল ইন্টারফেসযুক্ত প্রোগ্রাম।"
5 | +++
6 |
7 | স্বাগতম!
8 | --------
9 |
10 | লিপিতে আপনার নতুন ব্লগটি তৈরি হয়েছে,
11 | এটা সেই ব্লগের একটি উদাহরন পোস্ট।
12 | লিপি একটি সহজ সরল স্টাটিক ব্লগ তৈরির গ্রাফিকাল ইন্টারফেসযুক্ত প্রোগ্রাম।
13 |
14 | শুরু করতে চাইলেঃ
15 |
16 | - এই পোস্টটি ডিলেট করুন।
17 | - নতুন পোস্ট লিখুন।
18 | - প্রয়োজনে পোস্টের নতুন টাইপ তৈরি করুন।
19 |
20 | ব্যাপারটা এতটাই সহজ!
21 |
22 | > এই যে এতসব বাটন আর বাক্স, এগুলো কোনটা দিলে কি হয় পরীক্ষা করে দেখুন, আর দেখুন কি থেকে কি হয়।
23 | > :)
24 |
--------------------------------------------------------------------------------
/res/hugo-res/exampleBlog/content/post/welcome-to-lipi.md:
--------------------------------------------------------------------------------
1 | +++
2 | title = "Welcome To Lipi"
3 | date = "2016-09-26"
4 | description = "Lipi is a simple gui to make static blogs."
5 | +++
6 |
7 | Hello!
8 | ------
9 |
10 | This an example post on your new Blog on Lipi.
11 | Lipi is a simple software to make awesome static blogs.
12 | To get started:
13 |
14 | - Delete this post.
15 | - Write new posts.
16 | - Create new post types if you want.
17 |
18 | Its that simple!
19 |
20 | > Play around with all these boxes and buttons & see where that takes you.
21 | > :)
22 |
--------------------------------------------------------------------------------
/res/hugo-res/themes/anybodyhome/LICENSE.md:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2016 YOUR_NAME_HERE
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy of
6 | this software and associated documentation files (the "Software"), to deal in
7 | the Software without restriction, including without limitation the rights to
8 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9 | the Software, and to permit persons to whom the Software is furnished to do so,
10 | subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21 |
--------------------------------------------------------------------------------
/res/hugo-res/themes/anybodyhome/README.md:
--------------------------------------------------------------------------------
1 | # Anybody Home?
2 |
3 | 
4 |
5 | A simple theme for simple people with simple needs.
6 |
7 | The focus of the theme is to use as few dependencies as possible to keep the layout simple and bloat free.
8 |
9 | ## Features
10 | * __Blog only__ - Only a list of the 10 most recent posts and added pagination. There is no other pages than the main page and the post page.
11 | * [__Highlight.js__](https://highlightjs.org/) - For all of you code needs.
12 |
13 | ## Getting Started
14 | From the root of you Hugo site clone the theme into `themes/anybodyhome` by running:
15 |
16 | `git clone https://github.com/lasseborly/anybodyhome.git themes/anybodyhome`
17 |
18 | ## Usage
19 | To use Anybody Home? you must first, from the root of your Hugo site, run either:
20 |
21 | `hugo -t anybodyhome`
22 |
23 | or set in you `config.toml`.
24 |
25 | `theme = "anybodyhome"`
26 |
27 | ## Configuration
28 | You can set the normal Hugo site variables in your `config.toml` but there is also some custom Anybody Home? variables you can set. This is an example of a full `config.toml`.
29 |
30 | ```toml
31 | theme = "anybodyhome"
32 | baseurl = "https://hugosite.com"
33 | languageCode = "en-us"
34 | title = "Anybody Home?"
35 |
36 | [params]
37 | subtitle = "A Simple Theme"
38 | ```
39 |
40 | ## Contributing
41 |
42 | 1. Fork it
43 | 2. Create your feature branch - `git checkout -b my-new-feature-or-fix`
44 | 3. Commit your changes - `git commit -am 'Add some feature-or-fix'`
45 | 4. Push to the branch - `git push origin my-new-feature-or-fix`
46 | 5. Create new Pull Request
47 |
48 | ## Extra
49 | Take a look at my [docker setup](https://github.com/lasseborly/hugo-development) for developing with Hugo. It's, again, very simple, straight forward and open for contributions.
50 |
--------------------------------------------------------------------------------
/res/hugo-res/themes/anybodyhome/archetypes/default.md:
--------------------------------------------------------------------------------
1 | +++
2 | +++
3 |
--------------------------------------------------------------------------------
/res/hugo-res/themes/anybodyhome/images/screenshot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SohanChy/Lipi/a279893fba2e71b5b1c82b9372414ca6c3fa3ebc/res/hugo-res/themes/anybodyhome/images/screenshot.png
--------------------------------------------------------------------------------
/res/hugo-res/themes/anybodyhome/images/tn.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SohanChy/Lipi/a279893fba2e71b5b1c82b9372414ca6c3fa3ebc/res/hugo-res/themes/anybodyhome/images/tn.png
--------------------------------------------------------------------------------
/res/hugo-res/themes/anybodyhome/layouts/404.html:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SohanChy/Lipi/a279893fba2e71b5b1c82b9372414ca6c3fa3ebc/res/hugo-res/themes/anybodyhome/layouts/404.html
--------------------------------------------------------------------------------
/res/hugo-res/themes/anybodyhome/layouts/_default/paginator.html:
--------------------------------------------------------------------------------
1 | {{ if .Paginator.HasPrev }}
2 |
3 | Previous Page
4 |
5 | {{ end }}
6 | {{ if .Paginator.HasNext }}
7 |
8 | Next Page
9 |
10 | {{ end }}
11 |
--------------------------------------------------------------------------------
/res/hugo-res/themes/anybodyhome/layouts/_default/single.html:
--------------------------------------------------------------------------------
1 | {{ partial "head.html" }}
2 | {{ partial "header.html" . }}
3 | {{ $baseurl := .Site.BaseURL }}
4 |
5 |
6 | {{ .Title }}
7 |
8 |
9 |
10 |
11 | {{ .Content }}
12 |
13 |
14 |
15 | {{ partial "footer.html" . }}
16 |
--------------------------------------------------------------------------------
/res/hugo-res/themes/anybodyhome/layouts/_default/summary.html:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 | {{ .Summary }}
8 |
9 |
10 |
--------------------------------------------------------------------------------
/res/hugo-res/themes/anybodyhome/layouts/index.html:
--------------------------------------------------------------------------------
1 | {{ partial "head.html" . }}
2 |
3 |
4 |
5 | {{ partial "header.html" . }}
6 |
7 |
8 | {{ range (.Paginator 5).Pages }}
9 | {{ .Render "summary" }}
10 | {{ end }}
11 |
12 |
13 | {{ partial "paginator.html" . }}
14 |
15 | {{ partial "footer.html" . }}
16 |
17 |
18 |
--------------------------------------------------------------------------------
/res/hugo-res/themes/anybodyhome/layouts/partials/footer.html:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SohanChy/Lipi/a279893fba2e71b5b1c82b9372414ca6c3fa3ebc/res/hugo-res/themes/anybodyhome/layouts/partials/footer.html
--------------------------------------------------------------------------------
/res/hugo-res/themes/anybodyhome/layouts/partials/head.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | {{ .Site.Title }}
7 |
8 |
12 |
13 |
19 |
20 |
25 |
26 |
31 |
34 |
37 |
38 |
43 |
44 |
--------------------------------------------------------------------------------
/res/hugo-res/themes/anybodyhome/layouts/partials/header.html:
--------------------------------------------------------------------------------
1 |
7 |
--------------------------------------------------------------------------------
/res/hugo-res/themes/anybodyhome/layouts/partials/paginator.html:
--------------------------------------------------------------------------------
1 |
13 |
--------------------------------------------------------------------------------
/res/hugo-res/themes/anybodyhome/layouts/summary.html:
--------------------------------------------------------------------------------
1 |
2 | {{ .Title }}
3 | {{ .Date.Format "2. January, 2006"}}
4 |
5 |
6 | {{ .Summary }}
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/res/hugo-res/themes/anybodyhome/static/css/styles.css:
--------------------------------------------------------------------------------
1 | @import 'https://fonts.googleapis.com/css?family=Lobster|Quicksand|Cutive+Mono';
2 |
3 | body {
4 | width: 600px;
5 | margin: 0 auto;
6 | font-size: 18px;
7 | font-weight: 400;
8 | font-family: 'Quicksand', sans-serif;
9 | }
10 |
11 | @media(max-width: 600px) {
12 | body {
13 | width: 100%;
14 | box-sizing: border-box;
15 | padding: 0 20px;
16 | }
17 | }
18 |
19 | a {
20 | text-decoration: none;
21 | color: #336699;
22 | }
23 |
24 | a:visited {
25 | color: #000;
26 | }
27 |
28 | a:hover {
29 | color: #C0C0C0;
30 | }
31 |
32 | p {
33 | line-height: 1.4;
34 | text-align: justify;
35 | }
36 |
37 | section#header {
38 | margin: 40px 0;
39 | }
40 |
41 | section#header h1 {
42 | font-size: 2em;
43 | text-align: center;
44 | font-family: 'Lobster', cursive;
45 | font-size: 2em;
46 | margin: 0 0 9px 0;
47 | }
48 |
49 | section#header h2 {
50 | font-family: 'Cutive Mono', monospace;
51 | font-size: 0.8em;
52 | text-align: center;
53 | }
54 |
55 | section.summary {
56 | padding: 0 0 0 10px;
57 | border-left: 1px solid black;
58 | margin: 0 0 60px 0;
59 | }
60 |
61 | @media(max-width: 600px) {
62 | section.summary {
63 | padding: 0 0 0 0;
64 | border-left: 0px solid black;
65 | }
66 | }
67 |
68 | section.summary article {
69 | margin: 15px 0 0 0;
70 | }
71 |
72 | section h2 {
73 | font-size: 1.3em;
74 | font-family: 'Lobster', cursive;
75 | }
76 |
77 | section h2 a {
78 | color: #000;
79 | }
80 |
81 | section time {
82 | margin: 0 0 0 2px;
83 | font-size: 0.7em;
84 | font-weight: 600;
85 | }
86 |
87 | section article {
88 | margin: 15px 0 0 0;
89 | }
90 |
91 | section#paginator {
92 | margin: 0 0 140px 0;
93 | font-family: 'Lobster', cursive;
94 | }
95 |
96 | section#paginator #next {
97 | float: right;
98 | }
99 |
100 | #post {
101 | margin: 0 0 100px 0;
102 | }
103 |
104 | .videoWrapper {
105 | position: relative;
106 | padding-bottom: 56.25%; /* 16:9 */
107 | padding-top: 25px;
108 | height: 0;
109 | margin: 10px;
110 | }
111 | .videoWrapper iframe {
112 | position: absolute;
113 | top: 0;
114 | left: 0;
115 | width: 100%;
116 | height: 100%;
117 | }
118 |
--------------------------------------------------------------------------------
/res/hugo-res/themes/anybodyhome/theme.toml:
--------------------------------------------------------------------------------
1 | name = "Anybody Home"
2 | license = "MIT"
3 | licenselink = "https://github.com/lasseborly/anybodyhome/blob/master/LICENSE.md"
4 | description = "A simple theme for simple people with simeple needs"
5 | homepage = "https:/blog.lasseborly.dk/"
6 | tags = ["clean", "simple"]
7 | features = ["highlightjs", "Blog only"]
8 | min_version = 0.16
9 |
10 | [author]
11 | name = "Lasse Borly
2 |
3 |
4 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/res/hugo-res/themes/robust/layouts/_default/li.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/res/hugo-res/themes/robust/layouts/_default/list.html:
--------------------------------------------------------------------------------
1 | {{ partial "header_before.html" . }}
2 | {{ partial "header_after.html" . }}
3 |
4 |
5 |
6 |
7 |
8 |
{{ .Title }}
9 |
10 |
11 | {{ range (.Paginate .Data.Pages).Pages }}
12 |
13 | {{ .Render "grid" }}
14 |
15 | {{ end }}
16 |
17 |
18 | {{ partial "pagination.html" . }}
19 |
20 |
21 |
22 |
23 | {{ partial "sidebar.html" . }}
24 |
25 |
26 |
27 |
28 |
29 |
30 | {{ partial "footer.html" . }}
31 |
32 |
--------------------------------------------------------------------------------
/res/hugo-res/themes/robust/layouts/_default/single.html:
--------------------------------------------------------------------------------
1 | {{ partial "header_before.html" . }}
2 |
37 | {{ partial "header_after.html" . }}
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
{{ .Title }}
48 | {{ .Content }}
49 |
50 |
51 |
83 |
84 |
85 |
86 |
87 |
88 | {{ partial "sidebar.html" . }}
89 |
90 |
91 |
92 |
93 | {{ partial "footer.html" . }}
94 |
--------------------------------------------------------------------------------
/res/hugo-res/themes/robust/layouts/_default/terms.html:
--------------------------------------------------------------------------------
1 | {{ partial "header_before.html" . }}
2 | {{ partial "header_after.html" . }}
3 |
4 |
5 |
6 |
7 |
8 |
{{ .Title }}
9 |
10 |
11 | {{ range $key, $value := .Data.Terms }}- {{ $key }}
{{ end }}
12 |
13 |
14 |
15 |
16 |
17 | {{ partial "sidebar.html" . }}
18 |
19 |
20 |
21 |
22 |
23 |
24 | {{ partial "footer.html" . }}
25 |
--------------------------------------------------------------------------------
/res/hugo-res/themes/robust/layouts/index.html:
--------------------------------------------------------------------------------
1 |
2 | {{ partial "header_before.html" . }}
3 | {{ partial "header_after.html" . }}
4 |
5 |
6 |
7 |
8 |
9 |
10 | {{ range $key, $value := .Paginator.Pages }}
11 | {{ if lt $key 4 }}
12 |
13 | {{ .Render "grid" }}
14 |
15 | {{ else }}
16 |
17 | {{ .Render "grid" }}
18 |
19 | {{ end }}
20 | {{ end }}
21 |
22 |
23 | {{ partial "pagination.html" . }}
24 |
25 |
26 |
27 |
28 | {{ partial "sidebar.html" . }}
29 |
30 |
31 |
32 |
33 |
34 |
35 | {{ partial "footer.html" . }}
36 |
--------------------------------------------------------------------------------
/res/hugo-res/themes/robust/layouts/partials/footer.html:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
10 |
11 |
12 | {{ with .Site.Params.GoogleAnalyticsUserID }}
13 |
21 | {{ end }}
22 |
23 |