Skip to content

Commit aaf610f

Browse files
authored
Merge pull request #3 from rsangole/theme
attempt at xmin
2 parents ff0d49d + f5ded55 commit aaf610f

File tree

180 files changed

+804
-723
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

180 files changed

+804
-723
lines changed

.DS_Store

0 Bytes
Binary file not shown.

README.md

+3-2

config.toml

+17-56
Original file line numberDiff line numberDiff line change
@@ -1,69 +1,30 @@
1-
baseURL = "http://rsangole.netlify.com/"
1+
baseurl = "/"
2+
relativeURLs = true
23
languageCode = "en-us"
3-
title = "Rahul Sangole"
4-
theme = "minimal"
4+
title = "yHat"
5+
theme = "hugo-xmin"
56
disqusShortname = "rsangole-netlify-com" # delete this to disable disqus comments
67
googleAnalytics = "UA-106573867-1"
7-
RSSLink = "true"
8-
toc = "true"
98
ignoreFiles = ["\\.Rmd$", "\\.Rmarkdown$", "_files$", "_cache$"]
9+
preserveTaxonomyNames = true
10+
footnotereturnlinkcontents = ""
11+
enableEmoji = true
1012

11-
[params]
12-
author = "Rahul Sangole"
13-
description = "hacking my way through stats and ml"
14-
githubUsername = "rsangole"
15-
accent = "gray"
16-
line_accent = "darkred" # "#2196F3"
17-
showBorder = true
18-
backgroundColor = "white"
19-
font = "Open+Sans" # should match the name on Google Fonts!
20-
highlight = true
13+
[permalinks]
14+
post = "/post/:year/:month/:day/:slug/"
15+
note = "/note/:year/:month/:day/:slug/"
2116

2217
[[menu.main]]
18+
name = "home"
2319
url = "/"
24-
name = "~/home"
2520
weight = 1
26-
2721
[[menu.main]]
22+
name = "posts"
2823
url = "/post/"
29-
name = "~/posts"
30-
weight = 2
31-
32-
[[menu.main]]
33-
url = "/project/"
34-
name = "~/projects"
35-
weight = 3
36-
37-
[[menu.main]]
38-
url = "/tags/"
39-
name = "~/tags"
40-
weight = 4
41-
42-
# Social icons to be shown on the right-hand side of the navigation bar
43-
# The "name" field should match the name of the icon to be used
44-
# The list of available icons can be found at http://fontawesome.io/icons/
45-
46-
[[menu.icon]]
47-
url = "mailto:[email protected]"
48-
name = "envelope-o"
49-
weight = 1
50-
51-
[[menu.icon]]
52-
url = "https://github.com/rsangole/"
53-
name = "github"
5424
weight = 2
5525

56-
[[menu.icon]]
57-
url = "https://twitter.com/rsangole/"
58-
name = "twitter"
59-
weight = 3
60-
61-
[[menu.icon]]
62-
url = "https://www.linkedin.com/in/rahulsangole/"
63-
name = "linkedin"
64-
weight = 4
65-
66-
[[menu.icon]]
67-
url = "/index.xml"
68-
name = "rss"
69-
weight = 5
26+
[params]
27+
author = "rahul s"
28+
dateFormat = "2006-01-02"
29+
description = "data science blog by rahul sangole"
30+
footer = "© rahul s 2020 | [Github](https://www.github.com/rsangole)"

content/.DS_Store

0 Bytes
Binary file not shown.

content/_index.md

+1

content/about.md

+10

content/post/.DS_Store

0 Bytes
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

content/project/.DS_Store

-6 KB
Binary file not shown.
File renamed without changes.

layouts/partials/all-tax.html

-18
This file was deleted.

layouts/partials/foot_custom.html

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<script src="//yihui.name/js/math-code.js"></script>
2+
<script async src="//cdn.bootcss.com/mathjax/2.7.1/MathJax.js?config=TeX-MML-AM_CHTML"></script>
3+
4+
<script async src="//yihui.name/js/center-img.js"></script>

layouts/partials/head_custom.html

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<link href="//cdn.bootcss.com/highlight.js/9.12.0/styles/github.min.css" rel="stylesheet">

layouts/partials/header.html

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<!DOCTYPE html>
2+
<html lang="{{ .Site.LanguageCode }}">
3+
<head>
4+
<meta charset="utf-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1">
6+
<title>{{ .Site.Title }} - {{ .Title }}</title>
7+
<link rel="stylesheet" href="{{ "/css/style.css" | relURL }}" />
8+
{{ partial "head_custom.html" . }}
9+
</head>
10+
11+
<div class="container">
12+
<header role="banner">
13+
<nav role="navigation">
14+
<a href="/" class="logo"><h1>{yHat}</h1></a>rahul's blog on data science<span></span>
15+
<ul class="menu">
16+
{{ range .Site.Menus.main }}
17+
<li><a href="{{ .URL | relURL }}">{{ .Name }}</a></li>
18+
{{ end }}
19+
</ul>
20+
</nav>
21+
</header>
22+
23+
<hr/>

static/.DS_Store

0 Bytes
Binary file not shown.

static/css/fonts.css

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
body {
2+
font-family: normal -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif
3+
}
4+
code {
5+
font-family: "SFMono-Regular", Menlo, Monaco, Consolas, Courier, monospace;
6+
font-size: 85%;
7+
}

static/css/style.css

+135
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,135 @@
1+
* {
2+
box-sizing: border-box
3+
}
4+
5+
html {
6+
font: 16px / normal -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
7+
line-height: 1.5;
8+
color: #222;
9+
-webkit-font-smoothing: antialiased
10+
}
11+
12+
body {
13+
margin: 0 auto;
14+
padding: 2rem
15+
}
16+
17+
.container {
18+
max-width: 40rem;
19+
margin: 0 auto
20+
}
21+
22+
h1, h2, h3, h4 {
23+
font-weight: 600
24+
}
25+
26+
a {
27+
color: blue
28+
}
29+
30+
hr {
31+
border: none;
32+
border-top: 1px dashed #77a1d8;
33+
margin: 2.5rem auto;
34+
max-width: 50rem
35+
}
36+
37+
small, time {
38+
color: slategray
39+
}
40+
41+
body a.logo {
42+
color: black;
43+
text-decoration: none;
44+
}
45+
46+
body a.logo h1 {
47+
margin-bottom: 0rem
48+
}
49+
50+
body h3 a {
51+
color: black;
52+
text-decoration: none;
53+
}
54+
55+
#read-this-first {
56+
margin-bottom: -1rem;
57+
}
58+
59+
body nav {
60+
margin-bottom: 2rem
61+
}
62+
63+
nav ul {
64+
list-style: none;
65+
margin: 0;
66+
padding: 0
67+
}
68+
69+
nav ul li {
70+
display: inline-block;
71+
margin-right: 0.5em
72+
}
73+
74+
footer {
75+
margin-top: 3rem
76+
}
77+
78+
header time {
79+
display: block;
80+
margin: -1rem 0 1rem
81+
}
82+
83+
pre {
84+
font-family: "SFMono-Regular", Menlo, Monaco, Consolas, Courier, monospace;
85+
font-size: 14px;
86+
border: 1px solid #ddd;
87+
box-shadow: 5px 5px 5px #eee;
88+
background: #f9f9f9 /*#f8f8f8*/;
89+
color: #000;
90+
padding: 1em;
91+
overflow-x: auto;
92+
}
93+
94+
code {
95+
background: #f9f9f9;
96+
}
97+
98+
pre code {
99+
background: none;
100+
}
101+
102+
img, iframe, video {
103+
max-width: 100%;
104+
}
105+
106+
main {
107+
hyphens: auto;
108+
}
109+
110+
blockquote {
111+
background: #f9f9f9;
112+
border-top: 1px solid #ddd;
113+
border-bottom: 1px solid #ddd;
114+
border-right: 1px solid #ddd;
115+
padding: 0px 1em 0px;
116+
margin-left: 0.5em;
117+
margin-right: 1em;
118+
}
119+
120+
table {
121+
margin: auto;
122+
border-top: 1px solid #666;
123+
border-bottom: 1px solid #666;
124+
}
125+
table thead th {
126+
border-bottom: 1px solid #ddd;
127+
}
128+
129+
th, td {
130+
padding: 5px;
131+
}
132+
133+
thead, tfoot, tr:nth-child(even) {
134+
background: #eee
135+
}

static/post/.DS_Store

2 KB
Binary file not shown.
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

static/project/.DS_Store

-6 KB
Binary file not shown.

themes/hugo-xmin/.gitignore

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.Rproj.user
2+
.Rhistory
3+
.RData
4+
.Ruserdata
5+
exampleSite/public

themes/hugo-xmin/README.md

+28
+4
+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
file.copy('content/_index.markdown', '../README.md', overwrite = TRUE)
2+
system("sed -i '' -e '1,6d' -e '34,38d' ../README.md")
3+
cat(
4+
'[![Screenshot](https://github.com/yihui/hugo-xmin/raw/master/images/screenshot.png)](https://xmin.yihui.name)\n',
5+
file = '../README.md', append = TRUE
6+
)

0 commit comments

Comments
 (0)