菜单
控制台
概要
个人设置
插件
外观
编辑文件 header.php
备份
撰写
撰写文章
创建页面
管理
文章
独立页面
评论
分类
标签
文件
用户
友情链接
设置
基本
评论
阅读
永久链接
测试管理员
登出
网站
编辑文件 header.php
可以使用的外观
编辑
Massive
外观
设置外观
编辑源码
<?php if(!defined( '__TYPECHO_ROOT_DIR__'))exit;?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"> <!--favicon icon--> <link rel="icon" type="image/png" href="<?php $this->options->themeUrl(); ?>img/favicon.png"> <title><?php $this->archiveTitle(array('category'=>_t(' %s '),'search'=>_t(' %s '),'tag'=>_t(' %s '),'author'=>_t(' %s ')),'',' - ');?> <?php $this->options->title();?></title> <!--common style--> <link href='//fonts.loli.net/css?family=Abel|Source+Sans+Pro:400,300,300italic,400italic,600,600italic,700,700italic,900,900italic,200italic,200' rel='stylesheet' type='text/css'> <!-- inject:css --> <link rel="stylesheet" href="<?php $this->options->themeUrl('css/bootstrap.min.css'); ?>"> <link rel="stylesheet" href="<?php $this->options->themeUrl('css/font-awesome.min.css'); ?>"> <link rel="stylesheet" href="<?php $this->options->themeUrl('css/shortcodes.css'); ?>"> <link rel="stylesheet" href="<?php $this->options->themeUrl('css/style.css'); ?>"> <link rel="stylesheet" href="<?php $this->options->themeUrl('css/default-theme.css'); ?>"> <!-- end inject --> <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries --> <!--[if lt IE 9]> <script src="https://cdn.bootcss.com/html5shiv/r29/html5.min.js"></script> <script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script> <![endif]--> </head> <body> <!-- preloader start --> <div id="tb-preloader"> <div class="tb-preloader-wave"></div> </div> <!-- preloader end --> <div class="wrapper"> <!--header start--> <header class="l-header"> <div class="l-navbar l-navbar_t-light l-navbar_expand js-navbar-sticky"> <div class="container-fluid"> <nav class="menuzord js-primary-navigation" role="navigation" aria-label="Primary Navigation"> <!--logo start--> <a href="<?php $this->options ->siteUrl(); ?>" class="logo-brand"> <img class="retina" src="<?php $this->options->themeUrl('img/logo.png'); ?>" alt="Massive" style="height: 72px"> </a> <!--logo end--> <!--mega menu start--> <ul class="menuzord-menu menuzord-right c-nav_s-standard"> <!--兼容 TeMenu --> <?php $all = Typecho_Plugin::export();?> <?php if (array_key_exists('TeMenu', $all['activated'])) : ?> <?php TeMenu_Plugin::show('navbar','wrapTag=&childClass=dropdown&caret=');?> <?php else: ?> <li><a href="<?php $this->options ->siteUrl(); ?>">Home</a></li> <li><a href="javascript:void(0)">Pages</a> <ul class="dropdown"> <?php $this->widget('Widget_Contents_Page_List')->to($pages); ?> <?php while($pages->next()): ?><li><a href="<?php $pages->permalink(); ?>"><?php $pages->title(); ?></a></li><?php endwhile; ?> </ul> </li> <li><a href="javascript:void(0)">Categories</a> <ul class="dropdown"> <?php $this->widget('Widget_Metas_Category_List')->to($cats); ?> <?php while ($cats->next()): ?><li><a href="<?php $cats->permalink()?>"><?php $cats->name()?></a></li><?php endwhile; ?> </ul> </li> <?php endif; ?> <li class="nav-divider" aria-hidden="true"><a href="javascript:void(0)">|</a> </li> <li><a href="javascript:void(0)">Center</a> <ul class="dropdown"> <?php if($this->user->hasLogin()): ?> <li><a href="<?php $this->options->adminUrl(); ?>"><?php _e('进入后台'); ?> (<?php $this->user->screenName(); ?>)</a></li> <li><a href="<?php $this->options->logoutUrl(); ?>"><?php _e('退出'); ?></a></li> <?php else: ?> <li class="last"><a href="<?php $this->options->adminUrl('login.php'); ?>"><?php _e('登录'); ?></a></li> <?php endif; ?> </ul> </li> <li> <a href="javascript:void(0)"><i class="fa fa-search"></i> Search</a> <div class="megamenu megamenu-quarter-width navbar-search"> <form id="search" method="post" action="./" role="searchform"> <input type="text" name="s" class="form-control" placeholder="Search Here"> </form> </div> </li> </ul> <!--mega menu end--> </nav> </div> </div> </header> <!--header end-->
保存文件
模板文件
404.php
archive.php
comments.php
footer.php
functions.php
header.php
index.php
page.php
page_no_sidebar.php
post.php
sidebar.php
Typecho
由
Typecho
强力驱动, 版本 1.2.1
帮助文档
•
支持论坛
•
报告错误
•
资源下载