-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.xml
46 lines (37 loc) · 4.88 KB
/
index.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Posts on 小陈的博客</title>
<link>http://python-cx.github.io/posts/</link>
<description>Recent content in Posts on 小陈的博客</description>
<generator>Hugo -- gohugo.io</generator>
<language>zh-Hans</language>
<lastBuildDate>Tue, 21 Apr 2020 21:52:03 +0800</lastBuildDate>
<atom:link href="http://python-cx.github.io/posts/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Html初识</title>
<link>http://python-cx.github.io/posts/html%E5%88%9D%E8%AF%86/</link>
<pubDate>Tue, 21 Apr 2020 21:52:03 +0800</pubDate>
<guid>http://python-cx.github.io/posts/html%E5%88%9D%E8%AF%86/</guid>
<description>HTML 必备知识 历史背景 1990 年 Tim Berners-Lee 发明 WWW(万维网),同时发明了 HTML、HTTP、URL 的概念,通过不断地技术完善,从而实现了当今世界互联网繁荣景象。 前端祖师爷:Tim Berners-Lee HTML 简介 • HTML,全称 Hypertext Markup Language,也就是“超文本链接标示语言”。HTML 文本是由 HTML 命令组成的描述性文本,HTML 命令可以说明文字、 图形、动画、声音、表格、链接等。 • HTML5 是目前最新 html 标准,共有 110 个标签左右,对于日常前端工作需要掌握三十个左右常用标签,其余标签只做了解即可。
HTML 标签 HTML 起手式之头部标签:
如图为基本头部标签信息 &lt;!DOCTYPE html&gt;&lt;!--此标签为声明文档类型,告诉浏览器用HTML5规范来解读HTML文档。--&gt; &lt;html lang=&#39;zh-CN&#39;&gt;&lt;!--添加语言属性规定以何种网页语言显示。 &lt;head&gt; &lt;!--head内储存html头部信息,不直接在网页中显示,主要存储&lt;title&gt;、CSS样式、需要加载的js脚本等--&gt; &lt;/head&gt; &lt;body&gt; &lt;!--body部分代表网页用户视窗内容部分,这个位置用于存放网页上所有要显示的内容,图片,以及流媒体, 道当然也可以存放客户端脚本,表格,布局图层DIV等。--&gt; &lt;/body&gt; &lt;/html&gt; &lt;meta charset=&#34;UTF-8&#34; /&gt;&lt;!--此标签为规定网页使用utf-8字符集--&gt; &lt;meta name=&#34;viewport&#34; content=&#34;width=device-width,initial-scale=1.0&#34; /&gt;&lt;!--适配手机--&gt; &lt;title&gt;网页标题&lt;/title&gt; bod 内结构层次标签:
&lsquo;h1~h6'标题等级 &lsquo;section'章节标签 &lsquo;p'段落标签 &lsquo;article'文章 &lsquo;header'顶部位置 &lsquo;footer'底部位置 &lsquo;main'主要内容 &lsquo;aside'分支内容;次要内容 &lsquo;div'划分部分 全局属性:</description>
</item>
<item>
<title>开博大吉</title>
<link>http://python-cx.github.io/posts/%E5%BC%80%E5%8D%9A%E5%A4%A7%E5%90%89/</link>
<pubDate>Sat, 18 Apr 2020 17:26:24 +0800</pubDate>
<guid>http://python-cx.github.io/posts/%E5%BC%80%E5%8D%9A%E5%A4%A7%E5%90%89/</guid>
<description>第一篇个人博客 这是我的第一篇博客,希望在自己的不断学习之下,写出好文章。</description>
</item>
<item>
<title>如何使用hugo部署博客</title>
<link>http://python-cx.github.io/posts/%E5%A6%82%E4%BD%95%E4%BD%BF%E7%94%A8hugo%E9%83%A8%E7%BD%B2%E5%8D%9A%E5%AE%A2/</link>
<pubDate>Fri, 17 Apr 2020 17:26:24 +0800</pubDate>
<guid>http://python-cx.github.io/posts/%E5%A6%82%E4%BD%95%E4%BD%BF%E7%94%A8hugo%E9%83%A8%E7%BD%B2%E5%8D%9A%E5%AE%A2/</guid>
<description>hugo搭建博客 hugo是静态网站生成器,能够作为一些展示类网站的解决方案。比如个人博客、产品介绍、个人作品展示、文档介绍、公司官网等等。再加上Github Pages的功能,就能不花一分钱建一个自己的网站了。
下载安装hugo hugo下载链接 选择对应版本进行下载并解压。 将文件路径添加到path 复制hugo文件夹的绝对路径 将hugo路径添加到PATH 打开bash终端,输入给git version检查是否有版本号,有版本号则添加成功。 进入Hugo官网点击Quick Start,打开本地终端操作step2到step7步骤。 将Hugo博客与GithubPage关联 进入public,创建本地仓库 在github中创建'你的用户名.github.io'的仓库,并将http地址添加到config.toml文件,修改你自己喜欢的博客名及博客语言,最后连接远程仓库提交public。 找到github仓库中的setting,进入找到Github Pages,在1选择branch master,点击2即可看到部署的博客。 </description>
</item>
</channel>
</rss>