Delete unnecessary beg theme

This commit is contained in:
James Skemp 2020-04-24 18:43:01 -05:00
parent bc097d88ac
commit c2d952c62d
19 changed files with 0 additions and 660 deletions

View File

@ -1 +0,0 @@
public/

View File

@ -1,21 +0,0 @@
# The MIT License (MIT)
Copyright (c) 2014 Daisuke Tsuji.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

View File

@ -1,63 +0,0 @@
![screenshot](https://raw.githubusercontent.com/dim0627/hugo_theme_beg/master/images/screenshot.png)
# Features
* Google Analytics
* Disqus
* Share Buttons(fb, twitter, google+, pocket)
* Eye-catching Image
* MicroData
* Readable text(Customized Vertical Rhythm).
# Installation
[hugoThemes#Installing Themes](https://github.com/spf13/hugoThemes#installing-themes).
# Configuration
**config.yaml**
``` toml
baseurl = "http://hugo.spf13.com/"
title = "Hugo Themes"
author = "Steve Francia"
copyright = "Copyright (c) 2008 - 2014, Steve Francia; all rights reserved."
canonifyurls = true
paginate = 3
[params]
disqusShortname = "your disqus id." # optional
toc = true # optional, When set to TRUE this parameter, table of contents appears in all articles.
```
**example post**
``` toml
+++
title = "Getting Started with Hugo"
description = ""
tags = [
"go",
"golang",
"hugo",
"development",
]
date = "2014-04-02"
categories = [
"Development",
"golang",
]
image = "image.jpg" # optional
toc = true # optional, When set to TRUE this parameter, table of contents appears in only this article.
+++
Contents here
```
# Contact us
Please mail to `dim0627@gmail.com` or SNS.
[https://www.facebook.com/daisuke.tsuji.735](https://www.facebook.com/daisuke.tsuji.735)

View File

@ -1,23 +0,0 @@
BaseUrl: "http://example.com"
LanguageCode: "en-us"
Title: "Aglaus"
Params:
Author: "Your name."
DateForm: "Mon, Jan 2, 2006"
GoogleAnalyticsUserID: "Your ID."
Facebook: "Your ID."
Twitter: "Your ID."
Github: "Your ID."
ShowRelatedPost: True
Disqus: "Your Disqus."
SyntaxHighlightTheme: "solarized_dark.min.css"
Indexes:
tag: "tags"
permalinks:
post: /blog/:year/:month/:day/:title/
MetadataFormat: "yaml"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 325 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 173 KiB

View File

@ -1,14 +0,0 @@
<article class="li">
<header>
<div class="date">{{ with .Site.Params.DateForm }}{{ $.Date.Format . }}{{ else }}{{ $.Date.Format "Mon, Jan 2, 2006" }}{{ end }}</div>
<div class="title"><a href="{{ .Permalink }}">{{ .Title }}</a></div>
</header>
<div class="body">{{ if .Truncated }}{{ .Summary }}{{ else }}{{ .Content }}{{ end }}</div>
{{ if .Truncated }}
<footer>
<a href="{{ .Permalink }}" class="btn btn-default">Read More…</a>
</footer>
{{ end }}
</article>
<hr>

View File

@ -1,19 +0,0 @@
{{ partial "default_head.html" . }}
<div class="list">
<div class="row">
<div class="col-md-8">
<header class="page-title">{{ .Title }}</header>
{{ range (.Paginate .Data.Pages).Pages }}
{{ .Render "li" }}
{{ end }}
{{ partial "pagination.html" . }}
</div>
<div class="col-md-4">
{{ partial "sidebar.html" . }}
</div>
</div>
</div>
{{ partial "default_foot.html" . }}

View File

@ -1,81 +0,0 @@
{{ partial "default_head.html" . }}
<div class="single">
<div class="row">
<div class="col-md-8">
<article class="single" itemscope="itemscope" itemtype="http://schema.org/Article">
<meta itemprop="mainEntityOfPage" itemType="https://schema.org/WebPage" content="{{ .Site.BaseURL }}"/>
<meta itemprop="dateModified" content="{{ .Date.Format "2006-01-02T15:04:05-07:00" }}">
<meta itemprop="headline" content="{{ .Title }}">
<meta itemprop="description" content="{{ .Summary }}">
<meta itemprop="url" content="{{ .Permalink }}">
<div itemprop="image" itemscope itemtype="https://schema.org/ImageObject">
<meta itemprop="url" content="{{ $.Site.BaseURL }}images/{{ with .Params.image }}{{ . }}{{ else }}default.jpg{{ end }}" />
<meta itemprop="width" content="800">
<meta itemprop="height" content="800">
</div>
<div itemprop="publisher" itemscope itemtype="https://schema.org/Organization">
<div itemprop="logo" itemscope itemtype="https://schema.org/ImageObject">
<meta itemprop="url" content="{{ .Site.BaseURL }}images/logo.jpg">
<meta itemprop="width" content="100">
<meta itemprop="height" content="100">
</div>
<meta itemprop="name" content="{{ .Site.Title }}">
</div>
<div itemprop="author" itemscope itemtype="https://schema.org/Person">
<meta itemprop="name" content="{{ .Site.Params.Author }}">
</div>
<header class="article-header">
<time itemprop="datePublished" pubdate="pubdate" datetime="{{ .Date.Format "2006-01-02T15:04:05-07:00" }}">{{ with .Site.Params.DateForm }}{{ $.Date.Format . }}{{ else }}{{ $.Date.Format "Mon, Jan 2, 2006" }}{{ end }}</time>
<h1 class="article-title">{{ .Title }}</h1>
</header>
<div class="article-body" itemprop="articleBody">
{{ .Content }}
</div>
<aside>
{{ with .Params.tags }}<div class="section">{{ range . }}<a href="{{ $.Site.BaseURL}}tags/{{ . }}" class="tag">{{ . }}</a> {{ end }}</div>{{ end }}
<div class="section share">
<a href="http://www.facebook.com/sharer.php?src=bm&u={{ .Permalink }}&t={{ .Title }}" onclick="window.open(this.href, 'PCwindow', 'width=550, height=350, menubar=no, toolbar=no, scrollbars=yes'); return false;"><i class="fa fa-facebook"></i></a>
<a href="http://twitter.com/intent/tweet?url={{ .Permalink }}&text={{ .Title }}&tw_p=tweetbutton" onclick="window.open(this.href, 'PCwindow', 'width=550, height=350, menubar=no, toolbar=no, scrollbars=yes'); return false;"><i class="fa fa-twitter"></i></a>
<a href="https://plus.google.com/share?url={{ .Permalink }}" onclick="window.open(this.href, 'PCwindow', 'width=550, height=350, menubar=no, toolbar=no, scrollbars=yes'); return false;"><i class="fa fa-google-plus"></i></a>
<a href="http://getpocket.com/edit?url={{ .Permalink }}&title={{ .Title }}" onclick="window.open(this.href, 'PCwindow', 'width=550, height=350, menubar=no, toolbar=no, scrollbars=yes'); return false;"><i class="fa fa-get-pocket"></i></a>
</div>
{{ if and (ne .Site.Params.comment false) (ne .Params.comment false) }}
{{ with .Site.Params.disqusShortname }}
<div class="section">
<div id="disqus_thread"></div>
<script type="text/javascript">
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
var disqus_shortname = '{{ . }}';
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
<a href="http://disqus.com/" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
</div>
{{ end }}
{{ end }}
</aside>
</article>
</div>
<div class="col-md-4">
{{ partial "sidebar.html" . }}
</div>
</div>
</div>
{{ partial "default_foot.html" . }}

View File

@ -1,20 +0,0 @@
{{ partial "default_head.html" . }}
<div class="list terms">
<div class="row">
<div class="col-md-8">
<header class="page-title">{{ .Title }}</header>
{{ range $key, $value := .Data.Terms }}
<a href="/{{ $.Data.Plural }}/{{ $key | urlize }}/">{{ $key }}</a>
{{ end }}
</div>
<div class="col-md-4">
{{ partial "sidebar.html" . }}
</div>
</div>
</div>
{{ partial "default_foot.html" . }}

View File

@ -1,17 +0,0 @@
{{ partial "default_head.html" . }}
<div class="index">
<div class="row">
<div class="col-md-8">
{{ range .Paginator.Pages }}
{{ .Render "li" }}
{{ end }}
{{ partial "pagination.html" . }}
</div>
<div class="col-md-4">
{{ partial "sidebar.html" . }}
</div>
</div>
</div>
{{ partial "default_foot.html" . }}

View File

@ -1,29 +0,0 @@
</div>
</div>
<footer class="site">
<div class="container">
<p>{{ with .Site.Copyright }}{{ . }}{{ else }}&copy; {{ $.Site.LastChange.Year }} {{ if isset $.Site.Params "Author" }}{{ $.Site.Params.Author }}{{ else }}{{ .Site.Title }}{{ end }}{{ end }}</p>
<p>Powered by <a href="http://gohugo.io" target="_blank">Hugo</a>,</p>
<p>Theme <a href="https://github.com/dim0627/hugo_theme_robust" target="_blank">Robust</a> designed by <a href="http://yet.unresolved.xyz" target="_blank">Daisuke Tsuji</a></p>
</div>
</footer>
<script src="//code.jquery.com/jquery-2.1.3.min.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
{{ with .Site.Params.GoogleAnalyticsUserID }}
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', '{{ . }}', 'auto');
ga('send', 'pageview');
</script>
{{ end }}
</body>
</html>

View File

@ -1,74 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
{{ .Hugo.Generator }}
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<link rel='stylesheet' href='//fonts.googleapis.com/css?family=Open+Sans|Marcellus+SC'>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/styles/{{ with .Site.Params.SyntaxHighlightTheme }}{{ . }}{{ else }}solarized_dark.min.css{{ end }}">
<link rel="stylesheet" href="/css/styles.css">
<link rel="stylesheet" href="/css/custom.css">
<link rel="alternate" type="application/rss+xml" title="RSS" href="{{ .Site.BaseURL }}/index.xml">
{{ if eq .URL "/" }}
<title>{{ .Title }}</title>
<meta property='og:title' content="{{ .Title }}">
<meta property="og:type" content="website">
{{ else }}
<title>{{ .Title }} - {{ .Site.Title }}</title>
<meta property='og:title' content="{{ .Title }} - {{ .Site.Title }}">
<meta property="og:type" content="article">
{{ end }}
<meta property="og:url" content="{{ .Permalink }}">
{{ with .Description }}<meta name="description" content="{{ . }}">{{ end }}
{{ with .Params.image }}<meta property="og:image" content="{{ $.Site.BaseURL }}images/{{ . }}">{{ end }}
</head>
<body>
<header class="site">
<nav class="navbar navbar-default">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
{{ range .Site.Menus }}
<ul class="nav navbar-nav navbar-right">
{{ range . }}
{{ if .HasChildren }}
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">{{ .Name }} <span class="caret"></span></a>
<ul class="dropdown-menu">
{{ range .Children }}
<li><a href="{{ .URL }}">{{ .Name }}</a></li>
{{ end }}
</ul>
</li>
{{ else }}
<li><a href="{{ .URL }}">{{ .Name }}</a></li>
{{ end }}
{{ end }}
</ul>
{{ end }}
</div>
</div>
</nav>
</header>
<div class="site">
<div class="container">

View File

@ -1,20 +0,0 @@
{{ if or (.Paginator.HasPrev) (.Paginator.HasNext) }}
<nav>
<ul class="pager">
{{ if .Paginator.HasPrev }}
<li><a href="{{ .URL }}page/{{ .Paginator.Prev.PageNumber }}">Previous</a></li>
{{ else }}
<li class="disabled"><a href="#">Previous</a></li>
{{ end }}
{{ if .Paginator.HasNext }}
<li><a href="{{ .URL }}page/{{ .Paginator.Next.PageNumber }}">Next</a></li>
{{ else }}
<li class="disabled"><a href="#">Next</a></li>
{{ end }}
</ul>
</nav>
{{ end }}

View File

@ -1,29 +0,0 @@
<aside class="site">
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">LatestPosts</h2>
</div>
<div class="list-group">
{{ range first 10 .Site.Pages }}
<a href="{{ .Permalink }}" class="list-group-item">{{ .Title }}</a>
{{ end }}
</div>
</div>
{{ range $key, $value := .Site.Taxonomies }}
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">{{ $key | singularize }}</h2>
</div>
<div class="list-group">
{{ range first 10 $value.ByCount }}
<a href="{{ $.Site.BaseURL}}{{ $key }}/{{ .Name | urlize }}" class="list-group-item">{{ .Name }}</a>
{{ end }}
</div>
</div>
{{ end }}
</aside>

View File

@ -1,24 +0,0 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}</title>
<link>{{ .Permalink }}</link>
<description>Recent content {{ with .Title }}in {{.}} {{ end }}on {{ .Site.Title }}</description>
<generator>Hugo -- gohugo.io</generator>{{ with .Site.LanguageCode }}
<language>{{.}}</language>{{end}}{{ with .Site.Author.email }}
<managingEditor>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</managingEditor>{{end}}{{ with .Site.Author.email }}
<webMaster>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</webMaster>{{end}}{{ with .Site.Copyright }}
<copyright>{{.}}</copyright>{{end}}{{ if not .Date.IsZero }}
<lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }}
<atom:link href="{{.URL}}" rel="self" type="application/rss+xml" />
{{ range first 15 .Data.Pages }}
<item>
<title>{{ .Title }}</title>
<link>{{ .Permalink }}</link>
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
{{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
<guid>{{ .Permalink }}</guid>
<description>{{ .Content | html }}</description>
</item>
{{ end }}
</channel>
</rss>

View File

@ -1 +0,0 @@
/* Please override here. */

View File

@ -1,212 +0,0 @@
html {
font-size: 16px;
}
body {
font-family: 'Open Sans', "ヒラギノ角ゴシック Pro", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, Osaka, " Pゴシック", "MS PGothic", sans-serif;
-webkit-font-smoothing: antialiased;
font-size: inherit;
color: #000;
}
@media (max-width: 768px) {
html {
font-size: 14px;
}
}
html,
body {
margin: 0;
}
a {
transition-duration: .2s;
color: #000;
}
a:hover,
a:focus,
a:active {
color: #000;
outline: none;
box-shadow: none;
}
a.tag {
font-size: .8rem;
color: #999;
}
a.tag:hover {
color: #333;
}
code:not(.hljs) {
font-size: .8rem;
}
img {
width: 100%;
}
.share {
text-align: right;
}
.share a {
display: inline-block;
color: #999;
padding: 0 .5rem;
}
header.site nav.navbar {
border-radius: 0;
border-top: none;
border-right: none;
border-left: none;
}
header.site .navbar-default .navbar-nav>li>a {
font-size: .8rem;
}
header.page-title {
font-size: 1.6rem;
line-height: 2rem;
margin-bottom: 1rem;
text-decoration: underline;
}
article.li .date {
font-size: .8rem;
line-height: 1rem;
}
article.li .title {
font-size: 1.4rem;
line-height: 2rem;
margin-bottom: .5rem;
}
article.li .body {
margin-bottom: 1rem;
}
article.single .article-header {
margin-bottom: 1rem;
}
article.single .article-header time {
font-size: .8rem;
line-height: 1rem;
display: block;
}
article.single .article-title {
margin: 0;
font-size: 1.4rem;
line-height: 2rem;
}
article.single .article-body {
max-width: 650px;
margin: 0 auto;
margin-bottom: 1rem;
padding: 0 1rem;
}
article.single .article-body h1,
article.single .article-body h2,
article.single .article-body h3,
article.single .article-body h4,
article.single .article-body h5,
article.single .article-body h6 {
word-break: break-all;
}
article.single h1 { font-size: 1.6rem; line-height: 2.4rem; }
article.single h2 { font-size: 1.4rem; line-height: 2.1rem; }
article.single h3 { font-size: 1.1rem; line-height: 1.7rem; }
article.single h4 { font-size: 1rem; line-height: 1.5rem; }
article.single h5 { font-size: 1rem; line-height: 1.5rem; }
article.single .article-body h1:first-child,
article.single .article-body h2:first-child,
article.single .article-body h3:first-child,
article.single .article-body h4:first-child,
article.single .article-body h5:first-child,
article.single .article-body h6:first-child {
margin-top: 0;
}
article.single .article-body h1 {
margin-top: 4rem;
margin-bottom: 1rem;
font-weight: 900;
}
article.single .article-body h2 {
margin-top: 2rem;
margin-bottom: 1rem;
}
article.single .article-body h3,
article.single .article-body h4,
article.single .article-body h5,
article.single .article-body h6 {
margin-top: 2rem;
margin-bottom: .5rem;
}
article.single .article-body p {
line-height: 1.5rem;
margin-bottom: 1rem;
word-break: break-word;
}
article.single .article-body blockquote {
padding: .5rem;
font-size: .8rem;
border-left: none;
background-color: #eee;
}
article.single .article-body blockquote p {
line-height: 1rem;
}
article.single .article-body blockquote p:last-child {
margin-bottom: 0;
}
article.single .article-body pre {
padding: 0;
border: none;
border-radius: 0;
}
article.single aside {
padding: 2rem;
}
@media (max-width: 768px) {
article.single aside {
padding: 0;
}
}
article.single aside .section {
margin-bottom: 2rem;
}
footer.site {
padding: 3rem 0;
}
footer.site p {
font-size: .8rem;
margin-bottom: .5rem;
color: #999;
}

View File

@ -1,12 +0,0 @@
name = "Beg"
license = "MIT"
licenselink = "https://github.com/dim0627/hugo_theme_beg/blob/master/LICENSE.md"
description = "Beg is Twitter Bootstrap based theme."
tags = ["blog", "bootstrap"]
features = ["blog"]
min_version = 0.15
[author]
name = "Daisuke Tsuji"
homepage = "http://yet.unresolved.xyz/"