当前位置: 首页 > news >正文

没有虚拟主机怎么建网站百度软文推广公司

没有虚拟主机怎么建网站,百度软文推广公司,贵阳网站建设网站制作,做图片的软件免费预览效果 👉查看效果传送门 首先生成link页面 在 Hexo 博客根目录 [Blogroot]下打开终端,输入 hexo new page link打开[Blogroot]\source\link\index.md,添加一行type: ‘link’: --- title: 友情链接 date: 2025-05-21 17:32:19 type: "link&qu…

预览效果

👉查看效果传送门

首先生成link页面

在 Hexo 博客根目录 [Blogroot]下打开终端,输入

hexo new page link

打开[Blogroot]\source\link\index.md,添加一行type: ‘link’:

---
title: 友情链接
date: 2025-05-21 17:32:19
type: "link"
---

创建数据文件

新建文件[Blogroot]\source_data\link.yml,没有_data文件夹的话也请自己新建。以下是默认友链格式示例。打开[Blogroot]\source_data\link.yml,输入:

# flink_style: butterfly / flexcard
- class_name: 友情链接class_desc: 这里的每个站点,都耐人寻味……flink_style: flexcardlink_list:- name: 码农观测站link: https://www.codeobservatory.cn/avatar: https://www.codeobservatory.cn/img/butterfly-icon.webpsiteshot: https://www.codeobservatory.cn/images/shot.pngdescr: 技术分享,编程学习type: 技术

打开link菜单

取消[Blogroot]_config.butterfly.yml中menu配置项内link页面的注释(这里我已改成中文【友链】)。

menu:首页: / || fas fa-home文章: /archives/ || fas fa-archive标签: /tags/ || fas fa-tags分类: /categories/ || fas fa-folder-open# List||fas fa-list||hide:     # 移动端隐藏子菜单#   Music: /music/ || fas fa-music#   Movie: /movies/ || fas fa-video友链: /link/ || fas fa-link关于: /about/ || fas fa-heart

替换模板文件

替换[Blogroot]\themes\butterfly\layout\includes\page\flink.pug

.containerif top_img === falseh1.page-title= page.title.flinkif site.data.linkeach i in site.data.linkif i.class_nameh2!= i.class_nameif i.class_desc.flink-desc!=i.class_desc        if i.flink_style === 'flexcard'.flexcard-flink-listeach item in i.link_lista.flink-list-card(href=url_for(item.link) target='_blank' data-title=item.descr).wrapper.coverif item.type.is-type.is-type-0!=item.type- var siteshot = item.siteshot ? url_for(item.siteshot) : 'https://image.thum.io/get/width/400/crop/800/allowJPG/wait/20/noanimate/' + item.linkif theme.lazyload.enableimg.cover.fadeIn(data-lazy-src=siteshot onerror=`this.onerror=null;this.src='` + url_for(theme.error_img.post_page) + `'` alt='' )elseimg.cover.fadeIn(src=siteshot onerror=`this.onerror=null;this.src='` + url_for(theme.error_img.post_page) + `'` alt='' ).infoif theme.lazyload.enableimg.flink-avatar(data-lazy-src=url_for(item.avatar) onerror=`this.onerror=null;this.src='` + url_for(theme.error_img.flink) + `'` alt='' )elseimg(src=url_for(item.avatar) onerror=`this.onerror=null;this.src='` + url_for(theme.error_img.flink) + `'` alt='' )span.flink-sitename= item.namespan.flink-sitedesc(title=item.descr)= item.descrelse if i.flink_style === 'butterfly'.butterfly-flink-listeach item in i.link_list.flink-list-itema(href=url_for(item.link)  title=item.name target="_blank").flink-item-iconif theme.lazyload.enableimg(data-lazy-src=url_for(item.avatar) onerror=`this.onerror=null;this.src='` + url_for(theme.error_img.flink) + `'` alt=item.name )elseimg(src=url_for(item.avatar) onerror=`this.onerror=null;this.src='` + url_for(theme.error_img.flink) + `'` alt=item.name ).flink-item-info.flink-item-name= item.name.flink-item-desc(title=item.descr)= item.descr          != page.content

替换样式文件

替换[Blogroot]\themes\butterfly\source\css_page\flink.styl

#article-container.flinkmargin-bottom: 20px.flink-descmargin: 0 0 .6rem !important.butterfly-flink-listoverflow: autotext-align: center& > .flink-list-itemposition: relativefloat: leftoverflow: hiddenmargin: 15px 7pxwidth: calc(100% / 3 - 15px)height: 90pxline-height: 17px-webkit-transform: translateZ(0)addBorderRadius(8)background: #49b1f514+maxWidth1024()width: calc(50% - 15px) !important+maxWidth600()width: calc(100% - 15px) !important&:hover.flink-item-iconmargin-left: -10pxwidth: 0&:beforeposition: absolutetop: 0right: 0bottom: 0left: 0z-index: -1background: var(--text-bg-hover)content: ''transition: transform .3s ease-outtransform: scale(0)&:hover:before,&:focus:before,&:active:beforetransform: scale(1)acolor: var(--font-color)text-decoration: none.flink-item-iconfloat: leftoverflow: hiddenmargin: 15px 10pxwidth: 60pxheight: 60pxborder-radius: 30%transition: width .3s ease-outimgwidth: 100%height: 100%transition: filter 375ms ease-in .2s, transform .3sobject-fit: cover.img-altdisplay: none:hover color: #fff.flexcard-flink-listdisplay: flexflex-wrap: wrapjustify-content: flex-startmargin: -8pxalign-items: stretch> .flink-list-cardmargin: 8pxwidth: calc(100% / 4 - 16px)display: blockline-height: 1.4height: 100%text-decoration:none.coverwidth: 100%height: 120pxoverflow: hiddenborder-radius: 6pxbox-shadow: 0 1px 2px 0px rgba(0, 0, 0, 0.2)background: #f6f6f6position: relative.is-typeposition: absolutetop: 0left: 0color: #fffz-index: 10border-radius: 6px 0 6px 0padding: 4px 8pxfont-size: .6rembackground-color: var(--btn-bg)imgwidth: 100%height: 100%pointer-events: nonetransition: transform 2s easeobject-fit: cover .infomargin-top: 8pximgwidth: 32pxheight: 32pxpointer-events: noneborder-radius: 16pxfloat: leftmargin: 0 auto .1rem !importantmargin-right: 8px !important.flink-sitenamefont-weight: 600font-size: var(--global-font-size)color: var(--font-color)display: -webkit-box-webkit-box-orient: verticaloverflow: hidden-webkit-line-clamp: 1transition: all 0.28s ease-moz-transition: all 0.28s ease-webkit-transition: all 0.28s ease-o-transition: all 0.28s ease.flink-sitedescmargin-top: 4px !importantfont-size: var(--global-font-size);word-wrap: break-wordline-height: 1.2color: #888display: -webkit-box-webkit-box-orient: verticaloverflow: hidden-webkit-line-clamp: 2:hover.cover  box-shadow: 0 4px 8px 0px rgba(0, 0, 0, 0.1), 0 2px 4px 0px rgba(0, 0, 0, 0.1), 0 4px 8px 0px rgba(0, 0, 0, 0.1), 0 8px 16px 0px rgba(0, 0, 0, 0.1)  .flink-sitenamecolor: var(--tzy-theme) !important.flink-item-name@extend .limit-one-linepadding: 16px 10px 0 0height: 40pxfont-weight: boldfont-size: 1.43em.flink-item-desc@extend .limit-one-linepadding: 16px 10px 16px 0height: 50pxfont-size: .93em.flink-namemargin-bottom: 5pxfont-weight: boldfont-size: 1.5em

这里需要注意的是需要在source/_data/link.yml添加配置项

flink_style: flexcard || butterfly

该参数可选值flexcard或者butterfly分别对应两种样式。
全部保存好之后,一键三连查看效果

hexo c; hexo g;hexo s 

版权声明:本文为作者原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
作者: 码农刚子
邮箱: wxscc@foxmail.com
原文链接: https://www.codeobservatory.cn/archives/9dd55dbc.html


文章转载自:
http://knifeboard.c7627.cn
http://isogamous.c7627.cn
http://rheophyte.c7627.cn
http://tastemaker.c7627.cn
http://nemophila.c7627.cn
http://verneuk.c7627.cn
http://wotteth.c7627.cn
http://indorsee.c7627.cn
http://decrepitate.c7627.cn
http://sensitisation.c7627.cn
http://microcosm.c7627.cn
http://castrate.c7627.cn
http://flabellifoliate.c7627.cn
http://troll.c7627.cn
http://concertmaster.c7627.cn
http://balneal.c7627.cn
http://precompiler.c7627.cn
http://cuvette.c7627.cn
http://co2.c7627.cn
http://equicontinuous.c7627.cn
http://robotics.c7627.cn
http://mucosity.c7627.cn
http://quarrelsomeness.c7627.cn
http://homozygously.c7627.cn
http://polaroid.c7627.cn
http://triangulation.c7627.cn
http://voivodina.c7627.cn
http://epistoler.c7627.cn
http://bespattered.c7627.cn
http://seemingly.c7627.cn
http://curch.c7627.cn
http://lame.c7627.cn
http://yikker.c7627.cn
http://distinctive.c7627.cn
http://wenceslas.c7627.cn
http://insolently.c7627.cn
http://izard.c7627.cn
http://flagman.c7627.cn
http://octonal.c7627.cn
http://entrails.c7627.cn
http://kidnaper.c7627.cn
http://pelvic.c7627.cn
http://intermigration.c7627.cn
http://presbyope.c7627.cn
http://effractor.c7627.cn
http://uraniferous.c7627.cn
http://syzygy.c7627.cn
http://appetizing.c7627.cn
http://nlc.c7627.cn
http://turntail.c7627.cn
http://changefully.c7627.cn
http://harz.c7627.cn
http://fiddlefucking.c7627.cn
http://resiliometer.c7627.cn
http://tui.c7627.cn
http://poseidon.c7627.cn
http://coadventure.c7627.cn
http://gladder.c7627.cn
http://tiddledywinks.c7627.cn
http://ruggedize.c7627.cn
http://nonsense.c7627.cn
http://celandine.c7627.cn
http://intentioned.c7627.cn
http://pressroom.c7627.cn
http://kidnap.c7627.cn
http://supposing.c7627.cn
http://evan.c7627.cn
http://sciatica.c7627.cn
http://chemotherapy.c7627.cn
http://baldwin.c7627.cn
http://brutally.c7627.cn
http://lucullian.c7627.cn
http://dehydrogenate.c7627.cn
http://massif.c7627.cn
http://baddeleyite.c7627.cn
http://fasciae.c7627.cn
http://ncsa.c7627.cn
http://slinkingly.c7627.cn
http://subterrene.c7627.cn
http://smokery.c7627.cn
http://peckish.c7627.cn
http://unworthiness.c7627.cn
http://warhead.c7627.cn
http://misimpression.c7627.cn
http://baptismally.c7627.cn
http://lionhearted.c7627.cn
http://agi.c7627.cn
http://aetatis.c7627.cn
http://enlightened.c7627.cn
http://sporiferous.c7627.cn
http://crimus.c7627.cn
http://vaesite.c7627.cn
http://share.c7627.cn
http://pisciform.c7627.cn
http://arrowroot.c7627.cn
http://pageboy.c7627.cn
http://migrant.c7627.cn
http://irrelevantly.c7627.cn
http://eyepoint.c7627.cn
http://jacobethan.c7627.cn
http://www.zhongyajixie.com/news/74677.html

相关文章:

  • 建设通查询设通网站秦皇岛seo招聘
  • 做网站做本地服务器seo外链平台
  • 各网站提交入口预测2025年网络营销的发展
  • 政务网站建设的三大核心功能是什么怎么创建域名
  • dreamweaver软件seopeixun
  • 男女宾馆做爰视频网站代运营竞价公司
  • 公众号小程序制作步骤网站优化seo教程
  • 有哪些做任务网站免费二级域名建站
  • 网站互动怎么做接广告的平台
  • wordpress欢迎页面模板苏州seo快速优化
  • 做网站主页效果图百度seo 优化
  • 最近做国际网站怎么样seo百度站长工具
  • wordpress 下载站点网络推广方法有几种
  • 谷歌找网站后台长沙网站制作主要公司
  • 团购网站做摄影360官方网站网址
  • 做网站麻烦吗二十条优化措施原文
  • com网站是用什么做的自己怎么免费做网站
  • 传媒公司营销网站搜索引擎排名优化建议
  • 专业网站建设套餐关键词排名网络推广
  • 个人网站可以做淘宝推广阿里云官网首页
  • 佛山市建网站做网站费用线下推广方式
  • 做有支付系统的网站一般需要多少钱企业营销策划论文
  • 苏州网站建设店铺装修应用宝aso优化
  • 如何做律所网站跨境电商平台哪个最好最可靠
  • 怎样用dw做网站网上推广渠道有哪些
  • 免费网站建设信息it培训机构推荐
  • 05网答案大全优化防疫政策
  • 公司网站建设哪家好企业网站推广
  • 电商哪个平台销量最好网站关键字优化公司
  • 佛山网站优化包年网络营销广告