clio

所属分类:快速开发平台
开发工具:Ruby
文件大小:0KB
下载次数:0
上传日期:2023-04-12 00:32:58
上 传 者sh-1993
说明:  以文本为中心的极简主义Jekyll模板和主题,
(A text-focused minimalist Jekyll template and theme,)

文件列表:
404.md (126, 2020-03-31)
Gemfile (595, 2020-03-31)
Gemfile.lock (6833, 2020-03-31)
LICENSE (1067, 2020-03-31)
_config.yml (237, 2020-03-31)
_includes/ (0, 2020-03-31)
_includes/footer.html (177, 2020-03-31)
_includes/head.html (2098, 2020-03-31)
_layouts/ (0, 2020-03-31)
_layouts/default.html (155, 2020-03-31)
_layouts/home.html (432, 2020-03-31)
_layouts/page.html (162, 2020-03-31)
_layouts/post.html (245, 2020-03-31)
_posts/ (0, 2020-03-31)
_posts/2020-01-01-hello-world.md (2548, 2020-03-31)
about.md (77, 2020-03-31)
assets/ (0, 2020-03-31)
assets/192.png (2632, 2020-03-31)
assets/32.png (1475, 2020-03-31)
assets/apple-touch-icon.png (2557, 2020-03-31)
assets/logo.png (1894, 2020-03-31)
assets/main.css (785, 2020-03-31)
assets/og/ (0, 2020-03-31)
assets/og/opengraphimage.jpeg (3914, 2020-03-31)
index.md (70, 2020-03-31)
screenshot.png (758688, 2020-03-31)

# clio ![screenshot of Clio theme](https://github.com/danromero/clio/blob/master/screenshot.png) ## What is this? Clio is a template and theme based on [danromero.org](https://github.com/danromero/clio/blob/master/https://danromero.org). This repository is designed to be hosted on [GitHub Pages](https://github.com/danromero/clio/blob/master/https://pages.github.com) with [Jekyll](https://github.com/danromero/clio/blob/master/https://jekyllrb.com). You can read more about the [GitHub Pages + Jekyll integration](https://github.com/danromero/clio/blob/master/https://help.github.com/en/github/working-with-github-pages/setting-up-a-github-pages-site-with-jekyll). Out-of-the-box the template supports: 1. A homepage that displays a brief introduction and the most recent blog posts in reverse chronological order. 2. An about page located at `/about/`. 3. A sample blog post. 4. An RSS feed for all of the blog posts. ## How to set up 1. Clone the repository. Delete `screenshot.png` from the main folder. 2. Edit `_config.yml`. Replace the sample text for title, email, description, url, and twitter. 3. Enable GitHub Pages in the repository's settings. If you are planning to use a custom domain, you can also set that up on the settings page. 4. Add future **posts** as Markdown `(.md)` files to the `_posts` folder. GitHub Pages will automatically generate the HTML. 5. Add future **pages** (like the `/about/` page) as Markdown `(.md)` files to the main folder. GitHub Pages will automatically generate the HTML. 6. **Update the images** in the `/assets/` folder. **If you don't, your site will be represented by a purple square.** 67. Add future images to the `/assets/` folder. ## Open Graph images The template is set up to support Open Graph images for services like [Twitter](https://github.com/danromero/clio/blob/master/https://developer.twitter.com/en/docs/tweets/optimize-with-cards/guides/getting-started). Be sure to add the image name in the [front matter](https://github.com/danromero/clio/blob/master/https://jekyllrb.com/docs/front-matter/) of the blog posts and the images should be uploaded to the `/assets/og/` folder. The Hello World! sample post has a functioning example. ## Google Analytics You can add the Javascript into the `default.html` [layout](https://github.com/danromero/clio/blob/master/https://jekyllrb.com/docs/layouts/) right above the `` tag. ## Why is it called Clio? [Answer](https://github.com/danromero/clio/blob/master/https://en.wikipedia.org/wiki/Clio).

近期下载者

相关文件


收藏者