|
| 1 | +{% case site.color-scheme %} |
| 2 | + {% when "", nil, false, 0, empty %} |
| 3 | + {% assign ColorScheme = "auto" %} |
| 4 | + {% else %} |
| 5 | + {% assign ColorScheme = site.color-scheme %} |
| 6 | +{% endcase %} |
| 7 | + |
| 8 | +{% assign assets_base_url = "https://cdn.jsdelivr.net/gh/BDHU/bdhu.github.io" %} |
| 9 | +{% assign theme_assets_base_url = "https://cdn.jsdelivr.net/gh/BDHU/minimalist" %} |
| 10 | + |
| 11 | +<!DOCTYPE html> |
| 12 | +<html lang="{{ site.lang | default: "en-US" }}"> |
| 13 | + <head> |
| 14 | + <meta charset="UTF-8"> |
| 15 | + <meta http-equiv="X-UA-Compatible" content="IE=edge"> |
| 16 | + <meta name="viewport" content="width=device-width, initial-scale=1"> |
| 17 | + |
| 18 | +{% seo %} |
| 19 | + <link rel="stylesheet" href="{{ "/assets/css/colors-ColorScheme.css?v=" | replace: "ColorScheme", ColorScheme | append: site.github.build_revision | relative_url }}"> |
| 20 | + <link rel="stylesheet" href="{{ "/assets/css/style.css?v=" | append: site.github.build_revision | relative_url }}"> |
| 21 | + |
| 22 | + {% if site.cdn.jsdelivr.enabled %} |
| 23 | + <link rel="preload" href="{{ assets_base_url }}{{ site.logo }}" as="image"> |
| 24 | + {% else %} |
| 25 | + <link rel="preload" href="{{ site.logo | relative_url }}" as="image"> |
| 26 | + {% endif %} |
| 27 | + |
| 28 | + {% include head-custom.html %} |
| 29 | + </head> |
| 30 | + <body> |
| 31 | + <div class="wrapper"> |
| 32 | + <div class="sidebar"> |
| 33 | + <header> |
| 34 | + {% if site.logo %} |
| 35 | + {% if site.cdn.jsdelivr.enabled %} |
| 36 | + <img class="img-circle" src="{{ assets_base_url }}{{ site.logo }}" alt="Logo"> |
| 37 | + {% else %} |
| 38 | + <img class="img-circle" src="{{ site.logo | relative_url }}" alt="Logo"> |
| 39 | + {% endif %} |
| 40 | + {% endif %} |
| 41 | + |
| 42 | + {% if site.blank_title %} |
| 43 | + <h1>{{ site.title | default: site.github.repository_name }}</h1> |
| 44 | + {% else %} |
| 45 | + <h1><a href="{{ "/" | absolute_url }}">{{ site.title | default: site.github.repository_name }}</a></h1> |
| 46 | + {% endif %} |
| 47 | + |
| 48 | + {% if site.email %} |
| 49 | + <p class="addr"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" style="vertical-align: -0.125em;" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"/><path d="m22 6l-10 7L2 6"/></g></svg> {{ site.email }}</p> |
| 50 | + {% endif %} |
| 51 | + |
| 52 | + <!-- <p>{{ site.description | default: site.github.project_tagline }}</p> --> |
| 53 | + <p>PhD student @ UT Austin UTNS lab. Working on systems for ML.</p> |
| 54 | + |
| 55 | + {% include sidebar.html %} |
| 56 | + |
| 57 | + </header> |
| 58 | + |
| 59 | + {% include links-mobile.html %} |
| 60 | + |
| 61 | + <div class="sidebar-footer"> |
| 62 | + {%- include footer.html -%} |
| 63 | + </div> |
| 64 | + </div> |
| 65 | + <section> |
| 66 | + |
| 67 | + {{ content }} |
| 68 | + |
| 69 | + </section> |
| 70 | + <footer> |
| 71 | + {%- include footer.html -%} |
| 72 | + </footer> |
| 73 | + </div> |
| 74 | + {% if site.cdn.jsdelivr.enabled %} |
| 75 | + <script src="{{ theme_assets_base_url }}{{ "/assets/js/scale.fix.min.js" }}"></script> |
| 76 | + {% else %} |
| 77 | + <script src="{{ "/assets/js/scale.fix.js" | relative_url }}"></script> |
| 78 | + {% endif %} |
| 79 | + </body> |
| 80 | +</html> |
0 commit comments